189 lines
12 KiB
Plaintext
189 lines
12 KiB
Plaintext
[gd_scene load_steps=14 format=2]
|
|
|
|
[ext_resource path="res://scenes/rover.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://assets/UI/Timers.png" type="Texture" id=2]
|
|
[ext_resource path="res://assets/rover_level/RoverGame.glb" type="PackedScene" id=4]
|
|
[ext_resource path="res://scripts/rover_camera.gd" type="Script" id=5]
|
|
[ext_resource path="res://scripts/rover_game.gd" type="Script" id=6]
|
|
[ext_resource path="res://assets/rover_level/Material_002.material" type="Material" id=8]
|
|
[ext_resource path="res://assets/rover_level/Arrow_MAT.tres" type="Material" id=9]
|
|
|
|
[sub_resource type="BoxShape" id=7]
|
|
extents = Vector3( 3.5, 2, 1 )
|
|
|
|
[sub_resource type="Environment" id=5]
|
|
background_mode = 2
|
|
background_color = Color( 0.752941, 0.752941, 0.752941, 1 )
|
|
ambient_light_color = Color( 0.32549, 0.32549, 0.32549, 1 )
|
|
ssao_enabled = true
|
|
ssao_radius = 15.99
|
|
ssao_intensity = 3.14
|
|
ssao_bias = 0.455
|
|
ssao_edge_sharpness = 0.0
|
|
|
|
[sub_resource type="BoxShape" id=8]
|
|
extents = Vector3( 100, 1, 400 )
|
|
|
|
[sub_resource type="StyleBoxFlat" id=12]
|
|
bg_color = Color( 0.0588235, 0.509804, 0.0431373, 1 )
|
|
|
|
[sub_resource type="StyleBoxFlat" id=13]
|
|
bg_color = Color( 0.47451, 0.25098, 0.0901961, 1 )
|
|
|
|
[sub_resource type="ArrayMesh" id=11]
|
|
resource_name = "RoverGame_Cube008"
|
|
surfaces/0 = {
|
|
"aabb": AABB( -2.40302, -1, -6.1918, 4.80604, 2, 7.19181 ),
|
|
"array_data": PoolByteArray( 0, 0, 128, 191, 0, 0, 128, 191, 0, 0, 128, 63, 129, 0, 0, 127, 0, 54, 0, 60, 0, 0, 128, 191, 0, 0, 128, 191, 0, 0, 128, 63, 0, 129, 127, 63, 0, 48, 0, 52, 0, 0, 128, 191, 0, 0, 128, 191, 0, 0, 128, 63, 0, 0, 0, 127, 0, 54, 0, 0, 0, 0, 128, 191, 0, 0, 128, 63, 0, 0, 128, 63, 129, 0, 0, 127, 0, 57, 0, 60, 0, 0, 128, 191, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 127, 0, 57, 0, 0, 0, 0, 128, 191, 0, 0, 128, 63, 0, 0, 128, 63, 0, 127, 129, 63, 0, 59, 0, 52, 0, 0, 128, 191, 0, 0, 128, 191, 64, 44, 58, 192, 129, 0, 0, 127, 0, 54, 0, 58, 0, 0, 128, 191, 0, 0, 128, 191, 64, 44, 58, 192, 0, 129, 127, 63, 0, 48, 0, 56, 0, 0, 128, 191, 0, 0, 128, 191, 64, 44, 58, 192, 0, 129, 127, 63, 0, 48, 0, 56, 0, 0, 128, 191, 0, 0, 128, 191, 64, 44, 58, 192, 0, 0, 127, 193, 0, 54, 0, 58, 0, 0, 128, 191, 0, 0, 128, 63, 64, 44, 58, 192, 129, 0, 0, 127, 0, 57, 0, 58, 0, 0, 128, 191, 0, 0, 128, 63, 64, 44, 58, 192, 0, 0, 127, 193, 0, 57, 0, 58, 0, 0, 128, 191, 0, 0, 128, 63, 64, 44, 58, 192, 0, 127, 127, 63, 0, 59, 0, 56, 0, 0, 128, 191, 0, 0, 128, 63, 64, 44, 58, 192, 0, 127, 127, 63, 0, 59, 0, 56, 0, 0, 128, 63, 0, 0, 128, 191, 0, 0, 128, 63, 0, 129, 127, 63, 0, 54, 0, 52, 0, 0, 128, 63, 0, 0, 128, 191, 0, 0, 128, 63, 0, 0, 0, 127, 0, 54, 0, 52, 0, 0, 128, 63, 0, 0, 128, 191, 0, 0, 128, 63, 127, 0, 0, 127, 0, 54, 0, 52, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 127, 0, 57, 0, 52, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 128, 63, 0, 127, 129, 63, 0, 57, 0, 52, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 128, 63, 127, 0, 0, 127, 0, 57, 0, 52, 0, 0, 128, 63, 0, 0, 128, 191, 64, 44, 58, 192, 0, 129, 127, 63, 0, 54, 0, 56, 0, 0, 128, 63, 0, 0, 128, 191, 64, 44, 58, 192, 0, 129, 127, 63, 0, 54, 0, 56, 0, 0, 128, 63, 0, 0, 128, 191, 64, 44, 58, 192, 0, 0, 127, 193, 0, 54, 0, 56, 0, 0, 128, 63, 0, 0, 128, 191, 64, 44, 58, 192, 127, 0, 0, 127, 0, 54, 0, 56, 0, 0, 128, 63, 0, 0, 128, 63, 64, 44, 58, 192, 0, 0, 127, 193, 0, 57, 0, 56, 0, 0, 128, 63, 0, 0, 128, 63, 64, 44, 58, 192, 0, 127, 127, 63, 0, 57, 0, 56, 0, 0, 128, 63, 0, 0, 128, 63, 64, 44, 58, 192, 0, 127, 127, 63, 0, 57, 0, 56, 0, 0, 128, 63, 0, 0, 128, 63, 64, 44, 58, 192, 127, 0, 0, 127, 0, 57, 0, 56, 116, 69, 37, 190, 0, 0, 128, 63, 67, 35, 198, 192, 129, 51, 127, 63, 0, 57, 0, 58, 116, 69, 37, 190, 0, 0, 128, 63, 67, 35, 198, 192, 127, 127, 0, 127, 0, 57, 0, 58, 116, 69, 37, 190, 0, 0, 128, 63, 67, 35, 198, 192, 0, 127, 127, 63, 0, 59, 0, 56, 116, 69, 37, 190, 0, 0, 128, 63, 67, 35, 198, 192, 0, 127, 127, 63, 0, 59, 0, 56, 116, 69, 37, 190, 0, 0, 128, 191, 67, 35, 198, 192, 129, 51, 127, 63, 0, 54, 0, 58, 116, 69, 37, 190, 0, 0, 128, 191, 67, 35, 198, 192, 0, 129, 127, 63, 0, 48, 0, 56, 116, 69, 37, 190, 0, 0, 128, 191, 67, 35, 198, 192, 0, 129, 127, 63, 0, 48, 0, 56, 116, 69, 37, 190, 0, 0, 128, 191, 67, 35, 198, 192, 127, 127, 0, 127, 0, 54, 0, 58, 116, 69, 37, 62, 0, 0, 128, 191, 67, 35, 198, 192, 0, 129, 127, 63, 0, 54, 0, 56, 116, 69, 37, 62, 0, 0, 128, 191, 67, 35, 198, 192, 0, 129, 127, 63, 0, 54, 0, 56, 116, 69, 37, 62, 0, 0, 128, 191, 67, 35, 198, 192, 127, 127, 0, 127, 0, 54, 0, 56, 116, 69, 37, 62, 0, 0, 128, 191, 67, 35, 198, 192, 127, 51, 127, 63, 0, 54, 0, 56, 116, 69, 37, 62, 0, 0, 128, 63, 67, 35, 198, 192, 127, 127, 0, 127, 0, 57, 0, 56, 116, 69, 37, 62, 0, 0, 128, 63, 67, 35, 198, 192, 0, 127, 127, 63, 0, 57, 0, 56, 116, 69, 37, 62, 0, 0, 128, 63, 67, 35, 198, 192, 0, 127, 127, 63, 0, 57, 0, 56, 116, 69, 37, 62, 0, 0, 128, 63, 67, 35, 198, 192, 127, 51, 127, 63, 0, 57, 0, 56, 13, 203, 25, 192, 0, 0, 128, 63, 64, 44, 58, 192, 129, 51, 127, 63, 0, 57, 0, 58, 13, 203, 25, 192, 0, 0, 128, 63, 64, 44, 58, 192, 0, 0, 127, 193, 0, 57, 0, 58, 13, 203, 25, 192, 0, 0, 128, 63, 64, 44, 58, 192, 0, 127, 127, 63, 0, 59, 0, 56, 13, 203, 25, 192, 0, 0, 128, 191, 64, 44, 58, 192, 129, 51, 127, 63, 0, 54, 0, 58, 13, 203, 25, 192, 0, 0, 128, 191, 64, 44, 58, 192, 0, 129, 127, 63, 0, 48, 0, 56, 13, 203, 25, 192, 0, 0, 128, 191, 64, 44, 58, 192, 0, 0, 127, 193, 0, 54, 0, 58, 13, 203, 25, 64, 0, 0, 128, 63, 64, 44, 58, 192, 0, 0, 127, 193, 0, 57, 0, 56, 13, 203, 25, 64, 0, 0, 128, 63, 64, 44, 58, 192, 0, 127, 127, 63, 0, 57, 0, 56, 13, 203, 25, 64, 0, 0, 128, 63, 64, 44, 58, 192, 127, 51, 127, 63, 0, 57, 0, 56, 13, 203, 25, 64, 0, 0, 128, 191, 64, 44, 58, 192, 0, 129, 127, 63, 0, 54, 0, 56, 13, 203, 25, 64, 0, 0, 128, 191, 64, 44, 58, 192, 0, 0, 127, 193, 0, 54, 0, 56, 13, 203, 25, 64, 0, 0, 128, 191, 64, 44, 58, 192, 127, 51, 127, 63, 0, 54, 0, 56 ),
|
|
"array_index_data": PoolByteArray( 0, 0, 10, 0, 3, 0, 0, 0, 6, 0, 10, 0, 28, 0, 47, 0, 32, 0, 28, 0, 44, 0, 47, 0, 23, 0, 19, 0, 27, 0, 23, 0, 16, 0, 19, 0, 15, 0, 4, 0, 17, 0, 15, 0, 2, 0, 4, 0, 7, 0, 14, 0, 20, 0, 7, 0, 1, 0, 14, 0, 26, 0, 5, 0, 13, 0, 26, 0, 18, 0, 5, 0, 35, 0, 40, 0, 29, 0, 35, 0, 38, 0, 40, 0, 21, 0, 34, 0, 8, 0, 21, 0, 37, 0, 34, 0, 12, 0, 41, 0, 25, 0, 12, 0, 30, 0, 41, 0, 9, 0, 45, 0, 11, 0, 9, 0, 49, 0, 45, 0, 13, 0, 46, 0, 31, 0, 42, 0, 51, 0, 26, 0, 24, 0, 54, 0, 22, 0, 24, 0, 50, 0, 54, 0, 39, 0, 52, 0, 43, 0, 39, 0, 55, 0, 52, 0, 33, 0, 48, 0, 7, 0, 20, 0, 53, 0, 36, 0 ),
|
|
"blend_shape_data": [ ],
|
|
"format": 2194711,
|
|
"index_count": 84,
|
|
"material": ExtResource( 8 ),
|
|
"primitive": 4,
|
|
"skeleton_aabb": [ ],
|
|
"vertex_count": 56
|
|
}
|
|
|
|
[node name="rover_game" type="Spatial"]
|
|
script = ExtResource( 6 )
|
|
play_time = 25.0
|
|
arrow_viz_distance = 15.0
|
|
geode_loot_count_per_chance = {
|
|
1: 40,
|
|
2: 60
|
|
}
|
|
|
|
[node name="RoverGame" parent="." instance=ExtResource( 4 )]
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Arrow001" parent="RoverGame" index="56"]
|
|
visible = false
|
|
|
|
[node name="rover" parent="." instance=ExtResource( 1 )]
|
|
unique_name_in_owner = true
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0511061, 7.27312 )
|
|
mass = 2.0
|
|
|
|
[node name="Camera" type="Camera" parent="rover/visual" index="2"]
|
|
transform = Transform( 1.19422e-07, 0.5, -0.866025, -4.37114e-08, 0.866025, 0.5, 1, -2.18557e-08, 1.25278e-07, -13.15, 6.519, 0.386 )
|
|
far = 300.0
|
|
|
|
[node name="rover_camera" type="Camera" parent="."]
|
|
transform = Transform( -4.37114e-08, 0.707106, -0.707106, 0, 0.707106, 0.707106, 1, 3.09086e-08, -3.09086e-08, -26.657, 23.188, 50 )
|
|
current = true
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="collection_area" type="Area" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.95935, -2.988 )
|
|
collision_layer = 0
|
|
collision_mask = 32
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="collection_area"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.0199232 )
|
|
shape = SubResource( 7 )
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource( 5 )
|
|
|
|
[node name="Floor" type="StaticBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Floor"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.172523, 0.157974, 349.242 )
|
|
shape = SubResource( 8 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[node name="UI" type="CanvasLayer" parent="."]
|
|
layer = 10
|
|
|
|
[node name="Control" type="Control" parent="UI"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="progress_bar" type="ProgressBar" parent="UI/Control"]
|
|
unique_name_in_owner = true
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -49.0
|
|
margin_top = 4.0
|
|
margin_right = 681.0
|
|
margin_bottom = 47.0
|
|
rect_rotation = -90.0
|
|
rect_pivot_offset = Vector2( 1.0874, -4 )
|
|
custom_colors/font_color = Color( 0, 0, 0, 0 )
|
|
custom_styles/fg = SubResource( 12 )
|
|
custom_styles/bg = SubResource( 13 )
|
|
value = 75.0
|
|
|
|
[node name="HUD" type="TextureRect" parent="UI/Control"]
|
|
visible = false
|
|
anchor_left = 0.610937
|
|
anchor_top = -0.00740741
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.126852
|
|
texture = ExtResource( 2 )
|
|
expand = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": true
|
|
}
|
|
|
|
[node name="spawn locations" type="Spatial" parent="."]
|
|
|
|
[node name="spawn_location" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -13.8043, 0, 40.6835 )
|
|
|
|
[node name="spawn_location2" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -27.9517, 0, 53.8405 )
|
|
|
|
[node name="spawn_location3" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.44575, 0, 63.1777 )
|
|
|
|
[node name="spawn_location4" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5543, 0, 71.1776 )
|
|
|
|
[node name="spawn_location5" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.44575, 0, 46.1777 )
|
|
|
|
[node name="spawn_location6" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.99225, 0, 23.542 )
|
|
|
|
[node name="spawn_location7" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -22.1687, 0, 17.8606 )
|
|
|
|
[node name="spawn_location8" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.0892, 0, 38.7815 )
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
transform = Transform( 0.866025, 2.18557e-08, -0.5, 0.5, -3.78552e-08, 0.866025, 0, -1, -4.37114e-08, 0, 87.952, 53 )
|
|
shadow_enabled = true
|
|
|
|
[node name="exit_trigger" type="Area" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1.25529, 0, 0.225982, -4.96855 )
|
|
collision_layer = 64
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="exit_trigger"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.844644, -0.601815 )
|
|
shape = SubResource( 7 )
|
|
|
|
[node name="LevelArrow" type="MeshInstance" parent="."]
|
|
unique_name_in_owner = true
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.689029, 17.8414 )
|
|
mesh = SubResource( 11 )
|
|
material/0 = ExtResource( 9 )
|
|
|
|
[connection signal="rover_exit_level" from="rover" to="." method="_on_rover_rover_exit_level"]
|
|
[connection signal="area_entered" from="collection_area" to="." method="_on_collection_area_area_entered"]
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
|
|
|
[editable path="RoverGame"]
|
|
[editable path="rover"]
|