infinite_level.tscn 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. [gd_scene load_steps=11 format=3 uid="uid://7ivipmwaw24t"]
  2. [ext_resource type="Texture2D" uid="uid://cgwafs6ukpm7y" path="res://component/entity/ground/ground051.jpg" id="1_3ytcp"]
  3. [ext_resource type="Script" path="res://run/levels/camera_tracker.gd" id="1_qdm47"]
  4. [ext_resource type="PackedScene" uid="uid://b10k58capm04o" path="res://component/entity/walker/walker.tscn" id="1_x0026"]
  5. [ext_resource type="PackedScene" uid="uid://bk0s5bn8k08bc" path="res://flow/control/local_input/local_input.tscn" id="2_0i5t8"]
  6. [ext_resource type="PackedScene" uid="uid://bcpri2x5afoyb" path="res://component/entity/box/box.tscn" id="2_e8xto"]
  7. [ext_resource type="PackedScene" uid="uid://dao17ylietgyl" path="res://component/entity/vehicles/plane/tiny_plane.tscn" id="4_tbpfc"]
  8. [ext_resource type="PackedScene" uid="uid://cj5dmtqadl5nf" path="res://component/entity/vehicles/jeep/Jeep.tscn" id="6_nnvc5"]
  9. [sub_resource type="BoxShape3D" id="BoxShape3D_ctk0t"]
  10. size = Vector3(500, 10, 500)
  11. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ot7iy"]
  12. albedo_texture = ExtResource("1_3ytcp")
  13. subsurf_scatter_strength = 0.73
  14. grow_amount = 0.352
  15. point_size = 55.9
  16. [sub_resource type="QuadMesh" id="QuadMesh_dt8nl"]
  17. material = SubResource("StandardMaterial3D_ot7iy")
  18. size = Vector2(500, 500)
  19. orientation = 1
  20. [node name="InfiniteLevel" type="Node3D"]
  21. [node name="Ground" type="StaticBody3D" parent="."]
  22. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
  23. collision_mask = 0
  24. [node name="Shape" type="CollisionShape3D" parent="Ground"]
  25. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0)
  26. shape = SubResource("BoxShape3D_ctk0t")
  27. [node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
  28. mesh = SubResource("QuadMesh_dt8nl")
  29. [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
  30. transform = Transform3D(1, 0, 0, 0, 0.734358, 0.678762, 0, -0.678762, 0.734358, -33.1669, 12.6773, 15.7238)
  31. shadow_enabled = true
  32. [node name="CameraTracker" type="Camera3D" parent="."]
  33. transform = Transform3D(1, 0, 0, 0, 0.944949, 0.327218, 0, -0.327218, 0.944949, -10, 4.55409, -0.975595)
  34. current = true
  35. script = ExtResource("1_qdm47")
  36. max_distance = 6.0
  37. camera_height = 2.0
  38. [node name="MainWalker" parent="." instance=ExtResource("1_x0026")]
  39. transform = Transform3D(0.701432, 0, 0.712736, 0, 1, 0, -0.712736, 0, 0.701432, -11.0852, 1.31191, -4.00841)
  40. [node name="Control" parent="MainWalker" instance=ExtResource("2_0i5t8")]
  41. [node name="NpcWalker1" parent="." instance=ExtResource("1_x0026")]
  42. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0621, 6.0173, -4.87909)
  43. [node name="Boxes" type="Node3D" parent="."]
  44. [node name="Box1" parent="Boxes" instance=ExtResource("2_e8xto")]
  45. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
  46. [node name="Box2" parent="Boxes" instance=ExtResource("2_e8xto")]
  47. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.2632, -0.5, -7.95074)
  48. [node name="Box3" parent="Boxes" instance=ExtResource("2_e8xto")]
  49. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.53697, 1.42774, -11.1883)
  50. [node name="Box4" parent="Boxes" instance=ExtResource("2_e8xto")]
  51. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.8675, 0, -8.18967)
  52. [node name="Box5" parent="Boxes" instance=ExtResource("2_e8xto")]
  53. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5707, 0, -5.78347)
  54. [node name="Box6" parent="Boxes" instance=ExtResource("2_e8xto")]
  55. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.1773, 0, -8.17952)
  56. [node name="TinyPlane" parent="." instance=ExtResource("4_tbpfc")]
  57. transform = Transform3D(0.477312, 0.527326, -0.702923, -0.741391, 0.671074, 0, 0.471713, 0.521141, 0.711266, -76.6685, 15.7672, 53.8067)
  58. [node name="TinyPlane2" parent="." instance=ExtResource("4_tbpfc")]
  59. transform = Transform3D(-0.153959, -0.170091, -0.973328, -0.741391, 0.671074, 4.00299e-08, 0.653174, 0.721616, -0.229421, -10.5959, 3.94108, -17.5095)
  60. [node name="Jeep1" parent="." instance=ExtResource("6_nnvc5")]
  61. transform = Transform3D(-0.0560131, 0.291646, 0.954885, 0, 0.956386, -0.292105, -0.99843, -0.0163617, -0.0535702, -16.454, 0.747562, 8.03092)
  62. [node name="Jeep2" parent="." instance=ExtResource("6_nnvc5")]
  63. transform = Transform3D(1, 0, 0, 0, 0.956386, -0.292105, 0, 0.292105, 0.956386, -13.4204, 0.313514, -7.30216)
  64. [connection signal="focus_required" from="MainWalker" to="CameraTracker" method="_on_focus_required"]
  65. [connection signal="dir_changed" from="MainWalker/Control" to="MainWalker" method="_on_dir_changed"]
  66. [connection signal="get_in_action" from="MainWalker/Control" to="MainWalker" method="_on_get_in_action"]
  67. [connection signal="main_action" from="MainWalker/Control" to="MainWalker" method="_on_main_action"]