2024-01-15 23:22:14 +00:00
|
|
|
[gd_scene load_steps=20 format=3 uid="uid://b40y7iuskv1ar"]
|
2024-01-15 16:08:26 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://world/Game.gd" id="1_xmqq4"]
|
|
|
|
[ext_resource type="Script" path="res://world/RotateY.gd" id="3_4gn6n"]
|
2024-01-15 23:22:14 +00:00
|
|
|
[ext_resource type="Script" path="res://ui/FPSLabel.gd" id="3_k5d80"]
|
|
|
|
[ext_resource type="Script" path="res://ui/PingLabel.gd" id="4_1a3hc"]
|
|
|
|
[ext_resource type="Script" path="res://network/Network.gd" id="4_ao4cj"]
|
2024-01-15 16:08:26 +00:00
|
|
|
[ext_resource type="Shader" path="res://world/shader/Outline.gdshader" id="4_gweie"]
|
2024-01-15 23:22:14 +00:00
|
|
|
[ext_resource type="Script" path="res://network/Ping.gd" id="4_vx388"]
|
2024-01-15 16:08:26 +00:00
|
|
|
[ext_resource type="Environment" uid="uid://dixa0yso2s1u3" path="res://world/Environment.tres" id="5_bll74"]
|
|
|
|
[ext_resource type="Script" path="res://world/Sun.gd" id="5_pf5uw"]
|
|
|
|
[ext_resource type="CameraAttributesPractical" uid="uid://b835orxyqq6w5" path="res://world/CameraAttributes.tres" id="6_8wfwf"]
|
2024-01-15 23:22:14 +00:00
|
|
|
[ext_resource type="Script" path="res://network/Login.gd" id="6_augbg"]
|
2024-01-15 16:08:26 +00:00
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r8n03"]
|
|
|
|
diffuse_mode = 3
|
|
|
|
albedo_color = Color(0.482353, 0.470588, 0.47451, 1)
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_0bujj"]
|
|
|
|
material = SubResource("StandardMaterial3D_r8n03")
|
|
|
|
size = Vector3(20, 0.5, 20)
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4w7ln"]
|
|
|
|
diffuse_mode = 3
|
|
|
|
albedo_color = Color(0.294118, 0.356863, 0.439216, 1)
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_hf021"]
|
|
|
|
material = SubResource("StandardMaterial3D_4w7ln")
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ahmjh"]
|
|
|
|
diffuse_mode = 3
|
|
|
|
albedo_color = Color(0.14902, 0.517647, 1, 1)
|
|
|
|
roughness = 0.08
|
|
|
|
|
|
|
|
[sub_resource type="TorusMesh" id="TorusMesh_mu45b"]
|
|
|
|
material = SubResource("StandardMaterial3D_ahmjh")
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qm56v"]
|
|
|
|
render_priority = 0
|
|
|
|
shader = ExtResource("4_gweie")
|
|
|
|
shader_parameter/depth_threshold = 0.05
|
|
|
|
shader_parameter/reverse_depth_threshold = 0.25
|
|
|
|
shader_parameter/normal_threshold = 0.6
|
|
|
|
shader_parameter/darken_amount = 0.3
|
|
|
|
shader_parameter/lighten_amount = 1.5
|
|
|
|
shader_parameter/light_direction = Vector3(0.122788, -0.707107, -0.696364)
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_7yiqd"]
|
|
|
|
material = SubResource("ShaderMaterial_qm56v")
|
|
|
|
flip_faces = true
|
|
|
|
size = Vector2(2, 2)
|
|
|
|
|
|
|
|
[node name="Game" type="Node"]
|
|
|
|
script = ExtResource("1_xmqq4")
|
|
|
|
|
|
|
|
[node name="World" type="Node3D" parent="."]
|
|
|
|
|
|
|
|
[node name="Ground" type="MeshInstance3D" parent="World"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0)
|
|
|
|
mesh = SubResource("BoxMesh_0bujj")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="Box" type="MeshInstance3D" parent="World"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -4)
|
|
|
|
mesh = SubResource("BoxMesh_hf021")
|
|
|
|
skeleton = NodePath("../../SubViewportContainer/SubViewport")
|
|
|
|
|
|
|
|
[node name="Torus" type="MeshInstance3D" parent="World"]
|
|
|
|
transform = Transform3D(0.7, 0, 0, 0, -3.0598e-08, -0.7, 0, 0.7, -3.0598e-08, 0, 1.79933, -4)
|
|
|
|
mesh = SubResource("TorusMesh_mu45b")
|
|
|
|
skeleton = NodePath("../../SubViewportContainer/SubViewport")
|
|
|
|
script = ExtResource("3_4gn6n")
|
|
|
|
|
2024-01-15 23:22:14 +00:00
|
|
|
[node name="UI" type="Control" parent="."]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 0
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="UI"]
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="UI/CanvasLayer"]
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 50.0
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="UI/CanvasLayer/MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="UI/CanvasLayer/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="FPSLabel" type="Label" parent="UI/CanvasLayer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "FPS:"
|
|
|
|
|
|
|
|
[node name="FPS" type="Label" parent="UI/CanvasLayer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "0"
|
|
|
|
script = ExtResource("3_k5d80")
|
|
|
|
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="UI/CanvasLayer/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="PingLabel" type="Label" parent="UI/CanvasLayer/MarginContainer/VBoxContainer/HBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Ping:"
|
|
|
|
|
|
|
|
[node name="Ping" type="Label" parent="UI/CanvasLayer/MarginContainer/VBoxContainer/HBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "0"
|
|
|
|
script = ExtResource("4_1a3hc")
|
|
|
|
|
|
|
|
[node name="Network" type="Node" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
script = ExtResource("4_ao4cj")
|
|
|
|
|
|
|
|
[node name="Ping" type="Node" parent="Network"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
script = ExtResource("4_vx388")
|
|
|
|
|
|
|
|
[node name="Login" type="Node" parent="Network"]
|
|
|
|
script = ExtResource("6_augbg")
|
2024-01-15 16:08:26 +00:00
|
|
|
|
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
stretch = true
|
|
|
|
stretch_shrink = 3
|
|
|
|
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
|
|
|
|
handle_input_locally = false
|
|
|
|
size = Vector2i(384, 216)
|
|
|
|
render_target_update_mode = 4
|
|
|
|
|
|
|
|
[node name="Camera" type="Camera3D" parent="SubViewportContainer/SubViewport"]
|
|
|
|
transform = Transform3D(0.707107, 0.331966, -0.624338, 0, 0.882947, 0.469472, 0.707107, -0.331966, 0.624338, -5, 5, 5)
|
|
|
|
projection = 1
|
|
|
|
current = true
|
|
|
|
fov = 90.0
|
|
|
|
size = 9.6
|
|
|
|
near = 0.001
|
|
|
|
|
|
|
|
[node name="PostProcessing" type="MeshInstance3D" parent="SubViewportContainer/SubViewport/Camera"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
extra_cull_margin = 16384.0
|
|
|
|
mesh = SubResource("QuadMesh_7yiqd")
|
|
|
|
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="SubViewportContainer/SubViewport"]
|
|
|
|
transform = Transform3D(0.984808, 0.122788, -0.122788, 0, 0.707107, 0.707107, 0.173648, -0.696364, 0.696364, 0, 5, 0)
|
|
|
|
shadow_enabled = true
|
|
|
|
directional_shadow_split_1 = 0.028
|
|
|
|
script = ExtResource("5_pf5uw")
|
|
|
|
|
|
|
|
[node name="Environment" type="WorldEnvironment" parent="SubViewportContainer/SubViewport"]
|
|
|
|
environment = ExtResource("5_bll74")
|
|
|
|
camera_attributes = ExtResource("6_8wfwf")
|