init commit
This commit is contained in:
commit
b410345c18
1023 files changed
+57521
No files matched your search
@@ -0,0 +1,509 @@
|
||||
[gd_scene load_steps=19 format=3 uid="uid://dkhdees4pr5ld"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/MainMenu/GameHandler.cs" id="1_20t5a"]
|
||||
[ext_resource type="PackedScene" uid="uid://cvqenrawdv0ds" path="res://Scenes/Map0.tscn" id="3_owk3f"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqmet58p8q5w" path="res://Prefab/sun.tscn" id="4_lus38"]
|
||||
[ext_resource type="Script" path="res://Scripts/Singleton/ItemStats.cs" id="5_30ijp"]
|
||||
[ext_resource type="PackedScene" uid="uid://bdiyyfiwtdsoy" path="res://Prefab/Players/inventory.tscn" id="5_hwm58"]
|
||||
[ext_resource type="Script" path="res://Scripts/Game/Tools/SelectTool.cs" id="6_0ov64"]
|
||||
[ext_resource type="PackedScene" uid="uid://beh0wq5p0c1rk" path="res://Prefab/UI/select_tool_frame.tscn" id="7_g4b7o"]
|
||||
[ext_resource type="Script" path="res://Scripts/MainMenu/Settings.cs" id="12_e3apo"]
|
||||
[ext_resource type="Script" path="res://Scripts/Game/Alert.cs" id="12_lomrb"]
|
||||
[ext_resource type="Script" path="res://Scripts/MainMenu/MainMenu.cs" id="13_6j6ft"]
|
||||
[ext_resource type="Script" path="res://Scripts/MainMenu/SessionHandler.cs" id="13_heag8"]
|
||||
[ext_resource type="Script" path="res://Scripts/MainMenu/PreGame.cs" id="14_l3mgt"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckc4r27138xrb" path="res://Prefab/Players/main_player.tscn" id="15_rldub"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7b25o"]
|
||||
bg_color = Color(0.203922, 0.627451, 0.317647, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fu3ib"]
|
||||
vertex_color_use_as_albedo = true
|
||||
albedo_color = Color(0, 0.701961, 0.8, 1)
|
||||
emission_enabled = true
|
||||
emission = Color(0.701961, 0, 0.439216, 1)
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_qlsfg"]
|
||||
sky_top_color = Color(0.231373, 0.447059, 0.745098, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_atwgd"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_qlsfg")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_2pet3"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_atwgd")
|
||||
ambient_light_source = 3
|
||||
ambient_light_color = Color(0.431373, 0.431373, 0.431373, 1)
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 3
|
||||
|
||||
[node name="GameRoot" type="Node"]
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.097, 400, 0.121)
|
||||
|
||||
[node name="Game" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0408783, -0.554741, -0.199669)
|
||||
script = ExtResource("1_20t5a")
|
||||
MapList = Array[PackedScene]([ExtResource("3_owk3f")])
|
||||
Player = ExtResource("15_rldub")
|
||||
Sun = ExtResource("4_lus38")
|
||||
|
||||
[node name="PickupItems" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.347809, 0, 0.331299)
|
||||
script = ExtResource("5_30ijp")
|
||||
|
||||
[node name="UI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="GameUI" type="Control" parent="UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Game" type="Control" parent="UI/GameUI"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="HealthBar" type="ProgressBar" parent="UI/GameUI/Game"]
|
||||
custom_minimum_size = Vector2(0, 4)
|
||||
layout_mode = 1
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_7b25o")
|
||||
value = 50.0
|
||||
show_percentage = false
|
||||
|
||||
[node name="StaminaBar" type="ProgressBar" parent="UI/GameUI/Game"]
|
||||
custom_minimum_size = Vector2(0, 4)
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 4.0
|
||||
grow_horizontal = 2
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_7b25o")
|
||||
value = 50.0
|
||||
show_percentage = false
|
||||
|
||||
[node name="ToolBar" type="VBoxContainer" parent="UI/GameUI/Game"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -210.0
|
||||
offset_top = -310.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -10.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
alignment = 2
|
||||
|
||||
[node name="SelectTool" type="Label" parent="UI/GameUI/Game/ToolBar"]
|
||||
layout_mode = 2
|
||||
text = "1. Select Tool"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="Script" type="Node3D" parent="UI/GameUI/Game/ToolBar/SelectTool"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.104448, 0.0912284, 0.0584183)
|
||||
script = ExtResource("6_0ov64")
|
||||
SelectToolFrame = ExtResource("7_g4b7o")
|
||||
HoverMaterial = SubResource("StandardMaterial3D_fu3ib")
|
||||
|
||||
[node name="Alerts" type="Control" parent="UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 0
|
||||
offset_left = 25.0
|
||||
offset_right = 25.0
|
||||
script = ExtResource("12_lomrb")
|
||||
|
||||
[node name="MainMenu" type="Control" parent="UI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("13_6j6ft")
|
||||
|
||||
[node name="ButtonList" type="Control" parent="UI/MainMenu"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -320.0
|
||||
offset_top = -280.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UI/MainMenu/ButtonList"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Settings" type="Button" parent="UI/MainMenu/ButtonList/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Settings
|
||||
"
|
||||
|
||||
[node name="JoinGame" type="Button" parent="UI/MainMenu/ButtonList/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Join Game"
|
||||
|
||||
[node name="StartServer" type="Button" parent="UI/MainMenu/ButtonList/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Start Server"
|
||||
|
||||
[node name="LoginFrame" type="Control" parent="UI/MainMenu"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Frame" type="Panel" parent="UI/MainMenu/LoginFrame" node_paths=PackedStringArray("UsernameBox", "PasswordBox")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -450.0
|
||||
offset_top = -430.0
|
||||
offset_right = 450.0
|
||||
offset_bottom = -130.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
script = ExtResource("13_heag8")
|
||||
UsernameBox = NodePath("VBoxContainer/UserName/LineEdit")
|
||||
PasswordBox = NodePath("VBoxContainer/Password/LineEdit")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UI/MainMenu/LoginFrame/Frame"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 50.0
|
||||
offset_right = 850.0
|
||||
offset_bottom = 254.0
|
||||
|
||||
[node name="UserName" type="Panel" parent="UI/MainMenu/LoginFrame/Frame/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="UI/MainMenu/LoginFrame/Frame/VBoxContainer/UserName"]
|
||||
layout_mode = 0
|
||||
offset_right = 400.0
|
||||
offset_bottom = 100.0
|
||||
text = "UserName"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="UI/MainMenu/LoginFrame/Frame/VBoxContainer/UserName"]
|
||||
layout_mode = 0
|
||||
offset_left = 400.0
|
||||
offset_top = 25.0
|
||||
offset_right = 700.0
|
||||
offset_bottom = 75.0
|
||||
|
||||
[node name="Password" type="Panel" parent="UI/MainMenu/LoginFrame/Frame/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="UI/MainMenu/LoginFrame/Frame/VBoxContainer/Password"]
|
||||
layout_mode = 0
|
||||
offset_right = 400.0
|
||||
offset_bottom = 100.0
|
||||
text = "Password"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="UI/MainMenu/LoginFrame/Frame/VBoxContainer/Password"]
|
||||
layout_mode = 0
|
||||
offset_left = 400.0
|
||||
offset_top = 25.0
|
||||
offset_right = 700.0
|
||||
offset_bottom = 75.0
|
||||
secret = true
|
||||
|
||||
[node name="LoginButton" type="Button" parent="UI/MainMenu/LoginFrame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -210.0
|
||||
offset_top = -80.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "Login"
|
||||
|
||||
[node name="RegisterButton" type="Button" parent="UI/MainMenu/LoginFrame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 10.0
|
||||
offset_top = -80.0
|
||||
offset_right = 210.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "Register"
|
||||
|
||||
[node name="Host" type="TextEdit" parent="UI/MainMenu"]
|
||||
custom_minimum_size = Vector2(300, 30)
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -640.0
|
||||
offset_top = -88.0
|
||||
offset_right = -340.0
|
||||
offset_bottom = -58.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
tooltip_text = "Host Address"
|
||||
text = "127.0.0.1"
|
||||
placeholder_text = "HOST"
|
||||
middle_mouse_paste_enabled = false
|
||||
scroll_past_end_of_file = true
|
||||
|
||||
[node name="SettingsFrame" type="Control" parent="UI"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Settings" type="TabContainer" parent="UI/SettingsFrame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -500.0
|
||||
offset_top = -730.0
|
||||
offset_right = 500.0
|
||||
offset_bottom = -130.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
current_tab = 0
|
||||
script = ExtResource("12_e3apo")
|
||||
|
||||
[node name="Game" type="Panel" parent="UI/SettingsFrame/Settings"]
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 0
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="UI/SettingsFrame/Settings/Game"]
|
||||
layout_mode = 2
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Vbox" type="VBoxContainer" parent="UI/SettingsFrame/Settings/Game/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Display" type="Panel" parent="UI/SettingsFrame/Settings"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="UI/SettingsFrame/Settings/Display"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Vbox" type="VBoxContainer" parent="UI/SettingsFrame/Settings/Display/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Audio" type="Panel" parent="UI/SettingsFrame/Settings"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 2
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="UI/SettingsFrame/Settings/Audio"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Vbox" type="VBoxContainer" parent="UI/SettingsFrame/Settings/Audio/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Input" type="Panel" parent="UI/SettingsFrame/Settings"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 3
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="UI/SettingsFrame/Settings/Input"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Vbox" type="VBoxContainer" parent="UI/SettingsFrame/Settings/Input/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="About" type="Panel" parent="UI/SettingsFrame/Settings"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 4
|
||||
|
||||
[node name="SaveButton" type="Button" parent="UI/SettingsFrame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -210.0
|
||||
offset_top = -80.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "Save Settings"
|
||||
|
||||
[node name="CancelButton" type="Button" parent="UI/SettingsFrame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 10.0
|
||||
offset_top = -80.0
|
||||
offset_right = 210.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "Cancel"
|
||||
|
||||
[node name="PreGame" type="Control" parent="UI"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("14_l3mgt")
|
||||
Backpack = ExtResource("5_hwm58")
|
||||
|
||||
[node name="SelectedAbility" type="Label" parent="UI/PreGame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 10.0
|
||||
offset_top = 1050.0
|
||||
offset_right = -1742.0
|
||||
offset_bottom = -7.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Current Ability : None"
|
||||
|
||||
[node name="ButtonList" type="Control" parent="UI/PreGame"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -320.0
|
||||
offset_top = -280.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UI/PreGame/ButtonList"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Ability" type="Button" parent="UI/PreGame/ButtonList/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Ability
|
||||
"
|
||||
|
||||
[node name="Spawn" type="Button" parent="UI/PreGame/ButtonList/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Spawn"
|
||||
|
||||
[node name="Lighting" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_2pet3")
|
||||
|
||||
[node name="GameSpawner" type="MultiplayerSpawner" parent="."]
|
||||
_spawnable_scenes = PackedStringArray("res://Prefab/Players/main_player.tscn", "res://Prefab/bullet.tscn", "res://Scenes/Map0.tscn", "res://Prefab/sun.tscn")
|
||||
spawn_path = NodePath("../Game")
|
||||
spawn_limit = 5000
|
||||
|
||||
[node name="ItemSpawner" type="MultiplayerSpawner" parent="."]
|
||||
_spawnable_scenes = PackedStringArray("res://Prefab/Pickups/pickup_item.tscn")
|
||||
spawn_path = NodePath("../PickupItems")
|
||||
spawn_limit = 5000
|
||||
|
||||
[connection signal="button_down" from="UI/MainMenu/ButtonList/VBoxContainer/Settings" to="UI/MainMenu" method="_on_settings_button_down"]
|
||||
[connection signal="pressed" from="UI/MainMenu/ButtonList/VBoxContainer/JoinGame" to="UI/MainMenu" method="_on_join_game_pressed"]
|
||||
[connection signal="pressed" from="UI/MainMenu/ButtonList/VBoxContainer/StartServer" to="UI/MainMenu" method="_on_start_server_pressed"]
|
||||
[connection signal="button_down" from="UI/MainMenu/LoginFrame/LoginButton" to="UI/MainMenu/LoginFrame/Frame" method="onLogin"]
|
||||
[connection signal="button_down" from="UI/MainMenu/LoginFrame/RegisterButton" to="UI/MainMenu/LoginFrame/Frame" method="onRegister"]
|
||||
[connection signal="button_down" from="UI/SettingsFrame/SaveButton" to="UI/SettingsFrame/Settings" method="OnSaveButtonDown"]
|
||||
[connection signal="button_down" from="UI/SettingsFrame/CancelButton" to="UI/SettingsFrame/Settings" method="OnCancelButtonDown"]
|
||||
[connection signal="pressed" from="UI/PreGame/ButtonList/VBoxContainer/Ability" to="UI/PreGame" method="_on_ability_pressed"]
|
||||
[connection signal="pressed" from="UI/PreGame/ButtonList/VBoxContainer/Spawn" to="UI/PreGame" method="_on_player_spawn_pressed"]
|
||||
Binary file not shown.
@@ -0,0 +1,138 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://cvqenrawdv0ds"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Game/SpawnPoint.cs" id="1_gap5t"]
|
||||
[ext_resource type="Terrain3DStorage" uid="uid://kby3f5rorumu" path="res://Scenes/Map0.res" id="2_dli2f"]
|
||||
[ext_resource type="Texture2D" uid="uid://cept8jbava5bk" path="res://Textures/plants-soil/dead-grass.jpg" id="2_nmebf"]
|
||||
[ext_resource type="Texture2D" uid="uid://nkbkjtpuyqrs" path="res://Textures/plants-soil/dead-grass_norm.jpg" id="3_tueun"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_iw7hf"]
|
||||
offsets = PackedFloat32Array(0.2, 1)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ja35d"]
|
||||
noise_type = 2
|
||||
frequency = 0.03
|
||||
cellular_jitter = 3.0
|
||||
cellular_return_type = 0
|
||||
domain_warp_enabled = true
|
||||
domain_warp_type = 1
|
||||
domain_warp_amplitude = 50.0
|
||||
domain_warp_fractal_type = 2
|
||||
domain_warp_fractal_lacunarity = 1.5
|
||||
domain_warp_fractal_gain = 1.0
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7tawd"]
|
||||
seamless = true
|
||||
color_ramp = SubResource("Gradient_iw7hf")
|
||||
noise = SubResource("FastNoiseLite_ja35d")
|
||||
|
||||
[sub_resource type="Terrain3DMaterial" id="Terrain3DMaterial_jatjg"]
|
||||
_shader_parameters = {
|
||||
"blend_sharpness": 0.87,
|
||||
"height_blending": true,
|
||||
"macro_variation1": Color(1, 1, 1, 1),
|
||||
"macro_variation2": Color(1, 1, 1, 1),
|
||||
"noise1_angle": 0.0,
|
||||
"noise1_offset": Vector2(0.5, 0.5),
|
||||
"noise1_scale": 0.04,
|
||||
"noise2_scale": 0.076,
|
||||
"noise3_scale": 0.225,
|
||||
"noise_texture": SubResource("NoiseTexture2D_7tawd"),
|
||||
"vertex_normals_distance": 128.0
|
||||
}
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ywt4c"]
|
||||
cull_mode = 2
|
||||
vertex_color_use_as_albedo = true
|
||||
backlight_enabled = true
|
||||
backlight = Color(0.5, 0.5, 0.5, 1)
|
||||
|
||||
[sub_resource type="Terrain3DMeshAsset" id="Terrain3DMeshAsset_2ur4e"]
|
||||
height_offset = 0.5
|
||||
density = 10.0
|
||||
material_override = SubResource("StandardMaterial3D_ywt4c")
|
||||
generated_type = 1
|
||||
|
||||
[sub_resource type="Terrain3DTextureAsset" id="Terrain3DTextureAsset_jmc5p"]
|
||||
name = "dead-grass"
|
||||
albedo_texture = ExtResource("2_nmebf")
|
||||
normal_texture = ExtResource("3_tueun")
|
||||
uv_scale = 0.329
|
||||
detiling = 1.0
|
||||
|
||||
[sub_resource type="Image" id="Image_q51in"]
|
||||
data = {
|
||||
"data": PackedByteArray(122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153, 206, 153, 200, 122, 214, 88, 198, 153Line truncated
|
||||
"format": "DXT1 RGB8",
|
||||
"height": 2048,
|
||||
"mipmaps": true,
|
||||
"width": 2048
|
||||
}
|
||||
|
||||
[sub_resource type="ImageTexture" id="ImageTexture_cmkvu"]
|
||||
image = SubResource("Image_q51in")
|
||||
|
||||
[sub_resource type="Image" id="Image_4rvbk"]
|
||||
data = {
|
||||
"data": PackedByteArray(31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153, 140, 147, 200, 31, 132, 255, 123, 153Line truncated
|
||||
"format": "DXT1 RGB8",
|
||||
"height": 2048,
|
||||
"mipmaps": true,
|
||||
"width": 2048
|
||||
}
|
||||
|
||||
[sub_resource type="ImageTexture" id="ImageTexture_ehqr4"]
|
||||
image = SubResource("Image_4rvbk")
|
||||
|
||||
[sub_resource type="Terrain3DTextureAsset" id="Terrain3DTextureAsset_gyu06"]
|
||||
id = 1
|
||||
albedo_texture = SubResource("ImageTexture_cmkvu")
|
||||
normal_texture = SubResource("ImageTexture_ehqr4")
|
||||
|
||||
[sub_resource type="Terrain3DAssets" id="Terrain3DAssets_jxgrm"]
|
||||
mesh_list = Array[Terrain3DMeshAsset]([SubResource("Terrain3DMeshAsset_2ur4e")])
|
||||
texture_list = Array[Terrain3DTextureAsset]([SubResource("Terrain3DTextureAsset_jmc5p"), SubResource("Terrain3DTextureAsset_gyu06")])
|
||||
|
||||
[node name="Workspace" type="Node3D"]
|
||||
script = ExtResource("1_gap5t")
|
||||
|
||||
[node name="SpawnPoints" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -14.1553, 0)
|
||||
|
||||
[node name="SpawnPoint1" type="Node3D" parent="SpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.32357, 23.5911, 10.8221)
|
||||
|
||||
[node name="VisibleOnScreenEnabler3D" type="VisibleOnScreenEnabler3D" parent="SpawnPoints/SpawnPoint1"]
|
||||
|
||||
[node name="SpawnPoint2" type="Node3D" parent="SpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.9439, 18.7528, 60.1703)
|
||||
|
||||
[node name="VisibleOnScreenEnabler3D" type="VisibleOnScreenEnabler3D" parent="SpawnPoints/SpawnPoint2"]
|
||||
|
||||
[node name="ItemSpawnPoints" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 88.2405, 0)
|
||||
|
||||
[node name="SpawnPoint1" type="Node3D" parent="ItemSpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60.1339, 18.7335, 13.6218)
|
||||
|
||||
[node name="VisibleOnScreenEnabler3D" type="VisibleOnScreenEnabler3D" parent="ItemSpawnPoints/SpawnPoint1"]
|
||||
|
||||
[node name="SpawnPoint2" type="Node3D" parent="ItemSpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -109.33, 6.04736, -8.02233)
|
||||
|
||||
[node name="VisibleOnScreenEnabler3D" type="VisibleOnScreenEnabler3D" parent="ItemSpawnPoints/SpawnPoint2"]
|
||||
|
||||
[node name="SpawnPoint3" type="Node3D" parent="ItemSpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -410.954, 18.0168, 106.525)
|
||||
|
||||
[node name="VisibleOnScreenEnabler3D" type="VisibleOnScreenEnabler3D" parent="ItemSpawnPoints/SpawnPoint3"]
|
||||
|
||||
[node name="SpawnPoint4" type="Node3D" parent="ItemSpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -289.437, 24.9222, -107.751)
|
||||
|
||||
[node name="VisibleOnScreenEnabler3D" type="VisibleOnScreenEnabler3D" parent="ItemSpawnPoints/SpawnPoint4"]
|
||||
|
||||
[node name="Terrain3D" type="Terrain3D" parent="."]
|
||||
storage = ExtResource("2_dli2f")
|
||||
material = SubResource("Terrain3DMaterial_jatjg")
|
||||
assets = SubResource("Terrain3DAssets_jxgrm")
|
||||
Reference in new issue
Block a user