2024-02-18 17:30:52 +00:00
|
|
|
[gd_scene load_steps=36 format=3 uid="uid://b40y7iuskv1ar"]
|
2024-01-23 23:09:50 +00:00
|
|
|
|
2024-01-29 11:32:06 +00:00
|
|
|
[ext_resource type="Script" path="res://Main.gd" id="1_cw3ws"]
|
|
|
|
[ext_resource type="Script" path="res://network/Client.gd" id="2_8hxcx"]
|
|
|
|
[ext_resource type="Script" path="res://network/Ping.gd" id="3_d6qf1"]
|
|
|
|
[ext_resource type="Script" path="res://network/Login.gd" id="4_fsx7a"]
|
|
|
|
[ext_resource type="Script" path="res://network/PlayerAdd.gd" id="5_376ik"]
|
2024-01-29 22:16:06 +00:00
|
|
|
[ext_resource type="Script" path="res://network/Logout.gd" id="5_au5w3"]
|
2024-01-29 11:32:06 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://2lcnu3dy54lx" path="res://player/Player.tscn" id="6_cdj8w"]
|
|
|
|
[ext_resource type="Script" path="res://network/PlayerRemove.gd" id="7_2r42o"]
|
|
|
|
[ext_resource type="Script" path="res://network/PlayerMove.gd" id="8_ke1yy"]
|
|
|
|
[ext_resource type="Script" path="res://network/PlayerJump.gd" id="9_o8sk8"]
|
|
|
|
[ext_resource type="Script" path="res://network/Chat.gd" id="10_y3len"]
|
|
|
|
[ext_resource type="Script" path="res://world/Sun.gd" id="11_4jb08"]
|
2024-02-16 14:51:23 +00:00
|
|
|
[ext_resource type="Script" path="res://network/PlayerUseSkill.gd" id="11_gyiep"]
|
2024-02-09 23:10:51 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cpdoq0oh84mfw" path="res://camera/Camera.tscn" id="12_aljdh"]
|
2024-02-17 18:43:47 +00:00
|
|
|
[ext_resource type="Environment" uid="uid://dixa0yso2s1u3" path="res://world/Environment.tres" id="14_kuej8"]
|
2024-02-17 22:17:35 +00:00
|
|
|
[ext_resource type="Script" path="res://world/generator/Generator.gd" id="15_25nmg"]
|
2024-01-29 11:32:06 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cb2t7bvvf3gwh" path="res://enemy/slime/Slime.tscn" id="15_hgl78"]
|
|
|
|
[ext_resource type="Script" path="res://world/PlayerManager.gd" id="16_dp6bj"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dagn5bf7ou3sd" path="res://ui/UI.tscn" id="17_43qhq"]
|
2024-02-08 22:46:03 +00:00
|
|
|
[ext_resource type="Material" uid="uid://bdsblfaxbipaa" path="res://world/grass/GrassMaterial.tres" id="18_tja64"]
|
2024-02-03 23:03:25 +00:00
|
|
|
[ext_resource type="MultiMesh" uid="uid://dog5aq5n2q025" path="res://assets/grass/grass.multimesh" id="19_ae26a"]
|
2024-02-17 18:43:47 +00:00
|
|
|
[ext_resource type="FastNoiseLite" uid="uid://d3f4lk8q04haa" path="res://world/trees/TreeNoise.tres" id="19_ctwmw"]
|
2024-02-17 22:17:35 +00:00
|
|
|
[ext_resource type="Script" path="res://world/generator/TreeGenerator.gd" id="19_kcwnm"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://tr0tn0pkr1ea" path="res://world/trees/Callistemon.tscn" id="19_x2ulu"]
|
|
|
|
[ext_resource type="Material" uid="uid://bt6an0ynrpkpt" path="res://world/trees/TreeMaterial.tres" id="20_seiv4"]
|
2024-02-14 17:05:57 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://djilgnhedvmtm" path="res://world/house/House.tscn" id="20_xjraj"]
|
2024-02-17 22:17:35 +00:00
|
|
|
[ext_resource type="Material" uid="uid://dw754wh1xcwgr" path="res://world/trees/LeafMaterial1.tres" id="21_v66do"]
|
|
|
|
[ext_resource type="Material" uid="uid://cxlib6jo32hxg" path="res://world/trees/LeafMaterial2.tres" id="22_k67l0"]
|
|
|
|
[ext_resource type="Material" uid="uid://c8o7cihkhrqf6" path="res://world/trees/LeafMaterial3.tres" id="23_lxn2x"]
|
2024-02-18 17:30:52 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://b36mntcqlt553" path="res://assets/audio/ambience/Wind-Vegetation-Leaves-Gusts.wav" id="30_b3a1m"]
|
2024-02-13 19:38:17 +00:00
|
|
|
|
2024-02-03 23:03:25 +00:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_he5c5"]
|
2024-02-08 20:42:16 +00:00
|
|
|
diffuse_mode = 3
|
|
|
|
albedo_color = Color(0.0117647, 0.501961, 0.376471, 1)
|
|
|
|
emission = Color(0.00294706, 0.262987, 0.194557, 1)
|
2024-01-28 21:08:08 +00:00
|
|
|
|
2024-02-03 23:03:25 +00:00
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_lb6xk"]
|
|
|
|
material = SubResource("StandardMaterial3D_he5c5")
|
2024-02-13 19:38:17 +00:00
|
|
|
size = Vector2(1, 1)
|
2024-01-28 21:08:08 +00:00
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_yg2lt"]
|
|
|
|
|
2024-02-17 18:43:47 +00:00
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_xy4ll"]
|
|
|
|
seed = 300
|
|
|
|
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_yp2fx"]
|
|
|
|
seed = 100
|
|
|
|
frequency = 0.1
|
|
|
|
|
|
|
|
[node name="Main" type="Node" node_paths=PackedStringArray("ui")]
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("1_cw3ws")
|
2024-02-17 18:43:47 +00:00
|
|
|
ui = NodePath("UI")
|
2024-01-15 16:08:26 +00:00
|
|
|
|
2024-01-20 21:18:58 +00:00
|
|
|
[node name="Client" type="Node" parent="."]
|
2024-01-16 22:01:16 +00:00
|
|
|
unique_name_in_owner = true
|
2024-01-29 22:16:06 +00:00
|
|
|
process_mode = 3
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("2_8hxcx")
|
2024-01-15 16:08:26 +00:00
|
|
|
|
2024-01-20 21:18:58 +00:00
|
|
|
[node name="Ping" type="Node" parent="Client"]
|
2024-01-16 22:01:16 +00:00
|
|
|
unique_name_in_owner = true
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("3_d6qf1")
|
2024-01-25 11:10:29 +00:00
|
|
|
packet_type = 1
|
2024-01-15 16:08:26 +00:00
|
|
|
|
2024-01-20 21:18:58 +00:00
|
|
|
[node name="Timer" type="Timer" parent="Client/Ping"]
|
2024-01-16 22:01:16 +00:00
|
|
|
autostart = true
|
2024-01-15 16:08:26 +00:00
|
|
|
|
2024-01-20 21:18:58 +00:00
|
|
|
[node name="Login" type="Node" parent="Client"]
|
2024-01-26 16:14:20 +00:00
|
|
|
unique_name_in_owner = true
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("4_fsx7a")
|
2024-01-25 11:10:29 +00:00
|
|
|
packet_type = 2
|
2024-01-16 22:01:16 +00:00
|
|
|
|
2024-01-20 21:18:58 +00:00
|
|
|
[node name="Timer" type="Timer" parent="Client/Login"]
|
2024-02-12 11:38:57 +00:00
|
|
|
wait_time = 3.0
|
2024-01-16 22:01:16 +00:00
|
|
|
autostart = true
|
2024-01-15 16:08:26 +00:00
|
|
|
|
2024-01-29 22:16:06 +00:00
|
|
|
[node name="Logout" type="Node" parent="Client"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
script = ExtResource("5_au5w3")
|
|
|
|
packet_type = 3
|
|
|
|
|
2024-01-26 11:50:46 +00:00
|
|
|
[node name="PlayerAdd" type="Node" parent="Client"]
|
2024-01-26 21:45:26 +00:00
|
|
|
unique_name_in_owner = true
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("5_376ik")
|
|
|
|
player_scene = ExtResource("6_cdj8w")
|
2024-01-25 11:10:29 +00:00
|
|
|
packet_type = 10
|
2024-01-20 21:18:58 +00:00
|
|
|
|
2024-01-28 15:47:41 +00:00
|
|
|
[node name="PlayerRemove" type="Node" parent="Client"]
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("7_2r42o")
|
2024-01-28 15:47:41 +00:00
|
|
|
packet_type = 11
|
|
|
|
|
2024-01-26 16:14:20 +00:00
|
|
|
[node name="PlayerMove" type="Node" parent="Client"]
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("8_ke1yy")
|
2024-01-26 16:14:20 +00:00
|
|
|
packet_type = 12
|
|
|
|
|
2024-01-26 21:45:26 +00:00
|
|
|
[node name="PlayerJump" type="Node" parent="Client"]
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("9_o8sk8")
|
2024-01-26 21:45:26 +00:00
|
|
|
packet_type = 13
|
|
|
|
|
2024-02-16 14:51:23 +00:00
|
|
|
[node name="PlayerUseSkill" type="Node" parent="Client"]
|
|
|
|
script = ExtResource("11_gyiep")
|
|
|
|
packet_type = 14
|
|
|
|
|
2024-01-28 21:08:08 +00:00
|
|
|
[node name="Chat" type="Node" parent="Client"]
|
|
|
|
unique_name_in_owner = true
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("10_y3len")
|
2024-01-28 21:08:08 +00:00
|
|
|
packet_type = 20
|
|
|
|
|
2024-01-26 18:00:59 +00:00
|
|
|
[node name="Statistics" type="Timer" parent="Client"]
|
|
|
|
autostart = true
|
|
|
|
|
2024-01-24 19:57:31 +00:00
|
|
|
[node name="World" type="Node3D" parent="."]
|
2024-01-20 21:18:58 +00:00
|
|
|
|
2024-01-23 23:09:50 +00:00
|
|
|
[node name="Environment" type="WorldEnvironment" parent="World"]
|
2024-02-17 18:43:47 +00:00
|
|
|
environment = ExtResource("14_kuej8")
|
2024-01-20 21:18:58 +00:00
|
|
|
|
2024-02-08 20:42:16 +00:00
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="World/Environment"]
|
|
|
|
transform = Transform3D(-0.350207, 0.827032, -0.439741, 0, 0.469472, 0.882948, 0.936672, 0.309215, -0.164412, 0, 3, 0)
|
2024-02-09 23:10:51 +00:00
|
|
|
light_energy = 1.8
|
2024-02-08 20:42:16 +00:00
|
|
|
shadow_enabled = true
|
|
|
|
script = ExtResource("11_4jb08")
|
|
|
|
|
2024-02-17 18:43:47 +00:00
|
|
|
[node name="Floor" type="MeshInstance3D" parent="World"]
|
|
|
|
transform = Transform3D(1000, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0)
|
|
|
|
mesh = SubResource("PlaneMesh_lb6xk")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="World/Floor"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Floor/StaticBody3D"]
|
|
|
|
shape = SubResource("BoxShape3D_yg2lt")
|
|
|
|
|
|
|
|
[node name="Grass" type="MultiMeshInstance3D" parent="World"]
|
2024-02-18 17:30:52 +00:00
|
|
|
visible = false
|
2024-02-17 18:43:47 +00:00
|
|
|
layers = 2
|
|
|
|
material_override = ExtResource("18_tja64")
|
|
|
|
cast_shadow = 0
|
|
|
|
multimesh = ExtResource("19_ae26a")
|
|
|
|
|
|
|
|
[node name="Houses" type="Node3D" parent="World"]
|
|
|
|
script = ExtResource("15_25nmg")
|
|
|
|
scene = ExtResource("20_xjraj")
|
|
|
|
noise = SubResource("FastNoiseLite_xy4ll")
|
|
|
|
size_x = 100.0
|
|
|
|
size_z = 100.0
|
2024-02-18 17:30:52 +00:00
|
|
|
step = 15.0
|
2024-02-17 18:43:47 +00:00
|
|
|
density = 0.3
|
2024-02-17 22:17:35 +00:00
|
|
|
scale_max = 2.0
|
2024-02-17 18:43:47 +00:00
|
|
|
|
2024-01-24 19:57:31 +00:00
|
|
|
[node name="Trees" type="Node3D" parent="World"]
|
2024-02-17 22:17:35 +00:00
|
|
|
script = ExtResource("19_kcwnm")
|
|
|
|
tree_materials = Array[Material]([ExtResource("20_seiv4")])
|
|
|
|
leaf_materials = Array[Material]([ExtResource("21_v66do"), ExtResource("22_k67l0"), ExtResource("23_lxn2x")])
|
|
|
|
scene = ExtResource("19_x2ulu")
|
2024-02-17 18:43:47 +00:00
|
|
|
noise = ExtResource("19_ctwmw")
|
2024-02-13 19:38:17 +00:00
|
|
|
size_x = 100.0
|
|
|
|
size_z = 100.0
|
|
|
|
step = 5.0
|
2024-02-17 18:43:47 +00:00
|
|
|
density = 0.4
|
2024-02-17 22:17:35 +00:00
|
|
|
scale_min = 0.6
|
|
|
|
scale_max = 1.1
|
|
|
|
tilt = 0.15
|
2024-01-24 19:57:31 +00:00
|
|
|
|
|
|
|
[node name="Enemies" type="Node3D" parent="World"]
|
2024-02-13 19:38:17 +00:00
|
|
|
script = ExtResource("15_25nmg")
|
|
|
|
scene = ExtResource("15_hgl78")
|
|
|
|
noise = SubResource("FastNoiseLite_yp2fx")
|
|
|
|
size_x = 100.0
|
|
|
|
size_z = 100.0
|
|
|
|
step = 2.0
|
2024-02-17 22:17:35 +00:00
|
|
|
density = 0.3
|
|
|
|
tilt = 0.15
|
2024-02-08 22:46:03 +00:00
|
|
|
|
2024-02-17 18:43:47 +00:00
|
|
|
[node name="Follow" parent="World" instance=ExtResource("12_aljdh")]
|
2024-02-12 11:38:57 +00:00
|
|
|
|
2024-02-18 17:30:52 +00:00
|
|
|
[node name="Ambience" type="AudioStreamPlayer" parent="World"]
|
|
|
|
stream = ExtResource("30_b3a1m")
|
|
|
|
autoplay = true
|
|
|
|
bus = &"Ambience"
|
|
|
|
|
2024-01-26 16:14:20 +00:00
|
|
|
[node name="Players" type="Node3D" parent="."]
|
2024-01-25 11:10:29 +00:00
|
|
|
unique_name_in_owner = true
|
2024-01-29 11:32:06 +00:00
|
|
|
script = ExtResource("16_dp6bj")
|
2024-01-15 23:22:14 +00:00
|
|
|
|
2024-01-29 11:32:06 +00:00
|
|
|
[node name="UI" parent="." instance=ExtResource("17_43qhq")]
|
2024-01-29 22:16:06 +00:00
|
|
|
process_mode = 3
|
2024-01-15 16:08:26 +00:00
|
|
|
|
2024-01-20 21:18:58 +00:00
|
|
|
[connection signal="timeout" from="Client/Ping/Timer" to="Client/Ping" method="send_ping"]
|
|
|
|
[connection signal="timeout" from="Client/Login/Timer" to="Client/Login" method="send_login"]
|
2024-01-26 18:00:59 +00:00
|
|
|
[connection signal="timeout" from="Client/Statistics" to="Client" method="update_statistics"]
|