Added water and bladder system
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=17 format=4 uid="uid://qd6xvgwrd00g"]
|
||||
[gd_scene load_steps=18 format=4 uid="uid://qd6xvgwrd00g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://3goclr4srt7k" path="res://scenes/Grid/grid_plane_manager.gd" id="1_72cxc"]
|
||||
[ext_resource type="Script" uid="uid://5p4mcxw7wann" path="res://scenes/Grid/grid_camera_controller.gd" id="2_o2iv9"]
|
||||
@@ -6,7 +6,8 @@
|
||||
[ext_resource type="Script" uid="uid://oy8cl8dscrh2" path="res://scenes/Grid/day_night_controller.gd" id="4_u8bvi"]
|
||||
[ext_resource type="Script" uid="uid://6asq70b60kif" path="res://scenes/Grid/grid_character_controller.gd" id="5_n4d0h"]
|
||||
[ext_resource type="Script" uid="uid://24uoe7hanwp2" path="res://scenes/Grid/time_display.gd" id="6_8n3rl"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/Grid/grid_home_marker.tscn" id="7_1vmu7"]
|
||||
[ext_resource type="PackedScene" uid="uid://r703rwsvxsx2" path="res://scenes/Grid/grid_home_marker.tscn" id="7_1vmu7"]
|
||||
[ext_resource type="Script" uid="uid://25dqopfaaam0" path="res://scenes/Grid/water_display.gd" id="8_8k3xv"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ground"]
|
||||
albedo_color = Color(0.211765, 0.364706, 0.211765, 1)
|
||||
@@ -23,7 +24,7 @@ shading_mode = 0
|
||||
vertex_color_use_as_albedo = true
|
||||
albedo_color = Color(0.811765, 0.917647, 1, 0.74902)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_ot7o0"]
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_1wejn"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-5, 0.02, -5, 10, 1e-05, 10),
|
||||
"attribute_data": PackedByteArray("M7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6Uzsv+lM7L/pTOy/6U="),
|
||||
@@ -40,7 +41,7 @@ no_depth_test = true
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0.976471, 0.843137, 0.333333, 0.6)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_1wejn"]
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_2l7eq"]
|
||||
size = Vector2(1, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_character"]
|
||||
@@ -75,13 +76,14 @@ shape = SubResource("BoxShape3D_ground")
|
||||
unique_name_in_owner = true
|
||||
material_override = SubResource("StandardMaterial3D_grid")
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("ArrayMesh_ot7o0")
|
||||
mesh = SubResource("ArrayMesh_1wejn")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1.0000002, 1.306986e-15, 5.713018e-23, 0, -4.3711392e-08, 1.0000001, 1.3069862e-15, -1.0000001, -4.3711392e-08, 5.165678e-06, 60, 9.1084837e-07)
|
||||
light_color = Color(0.12, 0.18, 0.35, 1)
|
||||
light_energy = 0.05
|
||||
light_color = Color(1, 0.96, 0.88, 1)
|
||||
light_energy = 1.25
|
||||
shadow_enabled = true
|
||||
script = ExtResource("4_u8bvi")
|
||||
grid_manager_path = NodePath("..")
|
||||
day_length_hours = 24.0
|
||||
@@ -102,7 +104,7 @@ unique_name_in_owner = true
|
||||
visible = false
|
||||
material_override = SubResource("StandardMaterial3D_highlight")
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("PlaneMesh_1wejn")
|
||||
mesh = SubResource("PlaneMesh_2l7eq")
|
||||
script = ExtResource("3_n2b7o")
|
||||
grid_manager_path = NodePath("..")
|
||||
camera_path = NodePath("../Camera3D")
|
||||
@@ -113,7 +115,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 0.3, -4.5)
|
||||
script = ExtResource("5_n4d0h")
|
||||
grid_manager_path = NodePath("..")
|
||||
camera_path = NodePath("../Camera3D")
|
||||
start_cell = Vector2i(0, 0)
|
||||
move_speed = 5.0
|
||||
home_marker_scene = ExtResource("7_1vmu7")
|
||||
day_night_controller_path = NodePath("../DirectionalLight3D")
|
||||
@@ -139,3 +140,14 @@ horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("6_8n3rl")
|
||||
day_night_controller_path = NodePath("../../DirectionalLight3D")
|
||||
|
||||
[node name="WaterLabel" type="Label" parent="HUD"]
|
||||
offset_left = 20.0
|
||||
offset_top = 20.0
|
||||
offset_right = 420.0
|
||||
offset_bottom = 60.0
|
||||
grow_horizontal = 0
|
||||
theme_override_font_sizes/font_size = 22
|
||||
text = "Water: 0 ml | Bladder: 0 ml"
|
||||
script = ExtResource("8_8k3xv")
|
||||
character_path = NodePath("../../GridCharacter")
|
||||
|
||||
Reference in New Issue
Block a user