infinite_level.tscn 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. [gd_scene load_steps=9 format=3 uid="uid://7ivipmwaw24t"]
  2. [ext_resource type="Script" path="res://run/levels/camera_tracker.gd" id="1_qdm47"]
  3. [ext_resource type="PackedScene" uid="uid://b10k58capm04o" path="res://component/entity/walker/walker.tscn" id="1_x0026"]
  4. [ext_resource type="PackedScene" uid="uid://bk0s5bn8k08bc" path="res://flow/control/local_input/local_input.tscn" id="2_0i5t8"]
  5. [ext_resource type="PackedScene" uid="uid://bcpri2x5afoyb" path="res://component/entity/box/box.tscn" id="2_e8xto"]
  6. [ext_resource type="PackedScene" uid="uid://dao17ylietgyl" path="res://component/entity/vehicles/plane/tiny_plane.tscn" id="4_tbpfc"]
  7. [ext_resource type="PackedScene" uid="uid://cj5dmtqadl5nf" path="res://component/entity/vehicles/jeep/Jeep.tscn" id="6_nnvc5"]
  8. [sub_resource type="BoxShape3D" id="BoxShape3D_ctk0t"]
  9. size = Vector3(500, 10, 500)
  10. [sub_resource type="QuadMesh" id="QuadMesh_dt8nl"]
  11. size = Vector2(500, 500)
  12. orientation = 1
  13. [node name="InfiniteLevel" type="Node3D"]
  14. [node name="Ground" type="StaticBody3D" parent="."]
  15. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
  16. collision_mask = 0
  17. [node name="Shape" type="CollisionShape3D" parent="Ground"]
  18. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0)
  19. shape = SubResource("BoxShape3D_ctk0t")
  20. [node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
  21. mesh = SubResource("QuadMesh_dt8nl")
  22. [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
  23. transform = Transform3D(1, 0, 0, 0, 0.734358, 0.678762, 0, -0.678762, 0.734358, -33.1669, 12.6773, 15.7238)
  24. shadow_enabled = true
  25. [node name="CameraTracker" type="Camera3D" parent="."]
  26. transform = Transform3D(1, 0, 0, 0, 0.944949, 0.327218, 0, -0.327218, 0.944949, -10, 4.55409, -0.975595)
  27. current = true
  28. script = ExtResource("1_qdm47")
  29. max_distance = 6.0
  30. camera_height = 2.0
  31. [node name="MainWalker" parent="." instance=ExtResource("1_x0026")]
  32. transform = Transform3D(0.701432, 0, 0.712736, 0, 1, 0, -0.712736, 0, 0.701432, -11.0852, 1.31191, -4.00841)
  33. [node name="Control" parent="MainWalker" instance=ExtResource("2_0i5t8")]
  34. [node name="NpcWalker1" parent="." instance=ExtResource("1_x0026")]
  35. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0621, 6.0173, -4.87909)
  36. [node name="Boxes" type="Node3D" parent="."]
  37. [node name="Box1" parent="Boxes" instance=ExtResource("2_e8xto")]
  38. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
  39. [node name="Box2" parent="Boxes" instance=ExtResource("2_e8xto")]
  40. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.2632, -0.5, -7.95074)
  41. [node name="Box3" parent="Boxes" instance=ExtResource("2_e8xto")]
  42. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.53697, 1.42774, -11.1883)
  43. [node name="Box4" parent="Boxes" instance=ExtResource("2_e8xto")]
  44. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.8675, 0, -8.18967)
  45. [node name="Box5" parent="Boxes" instance=ExtResource("2_e8xto")]
  46. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5707, 0, -5.78347)
  47. [node name="Box6" parent="Boxes" instance=ExtResource("2_e8xto")]
  48. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.1773, 0, -8.17952)
  49. [node name="TinyPlane" parent="." instance=ExtResource("4_tbpfc")]
  50. 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)
  51. [node name="TinyPlane2" parent="." instance=ExtResource("4_tbpfc")]
  52. 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)
  53. [node name="Jeep1" parent="." instance=ExtResource("6_nnvc5")]
  54. 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)
  55. [node name="Jeep2" parent="." instance=ExtResource("6_nnvc5")]
  56. transform = Transform3D(1, 0, 0, 0, 0.956386, -0.292105, 0, 0.292105, 0.956386, -13.4204, 0.313514, -7.30216)
  57. [connection signal="focus_required" from="MainWalker" to="CameraTracker" method="_on_focus_required"]
  58. [connection signal="dir_changed" from="MainWalker/Control" to="MainWalker" method="_on_dir_changed"]
  59. [connection signal="get_in_action" from="MainWalker/Control" to="MainWalker" method="_on_get_in_action"]
  60. [connection signal="main_action" from="MainWalker/Control" to="MainWalker" method="_on_main_action"]