A team game with an emphasis on movement (with no shooting), inspired by Overwatch and Zineth
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
4.2 KiB

  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://scripts/objective.gd" type="Script" id=1]
  3. [sub_resource type="BoxShape" id=1]
  4. extents = Vector3( 7, 0.25, 7 )
  5. [sub_resource type="CubeMesh" id=2]
  6. size = Vector3( 14, 0.5, 14 )
  7. subdivide_width = 0
  8. subdivide_height = 0
  9. subdivide_depth = 0
  10. [sub_resource type="CapsuleShape" id=3]
  11. radius = 0.5
  12. height = 14.0
  13. [node name="FullObjective" type="Spatial" index="0"]
  14. [node name="Objective" type="RigidBody" parent="." index="0"]
  15. input_ray_pickable = true
  16. input_capture_on_drag = false
  17. collision_layer = 1
  18. collision_mask = 1
  19. mode = 0
  20. mass = 1000.0
  21. friction = 1.0
  22. bounce = 0.0
  23. gravity_scale = 1.0
  24. custom_integrator = false
  25. continuous_cd = true
  26. contacts_reported = 8
  27. contact_monitor = true
  28. sleeping = false
  29. can_sleep = true
  30. axis_lock_linear_x = false
  31. axis_lock_linear_y = false
  32. axis_lock_linear_z = false
  33. axis_lock_angular_x = false
  34. axis_lock_angular_y = false
  35. axis_lock_angular_z = false
  36. linear_velocity = Vector3( 0, 0, 0 )
  37. linear_damp = -1.0
  38. angular_velocity = Vector3( 0, 0, 0 )
  39. angular_damp = -1.0
  40. script = ExtResource( 1 )
  41. _sections_unfolded = [ "Axis Lock", "Collision", "Linear", "Transform", "Visibility" ]
  42. [node name="CollisionShape" type="CollisionShape" parent="Objective" index="0"]
  43. shape = SubResource( 1 )
  44. disabled = false
  45. _sections_unfolded = [ "Transform" ]
  46. [node name="MeshInstance5" type="MeshInstance" parent="Objective/CollisionShape" index="0"]
  47. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.274852 )
  48. layers = 1
  49. material_override = null
  50. cast_shadow = 1
  51. extra_cull_margin = 0.0
  52. use_in_baked_light = false
  53. lod_min_distance = 0.0
  54. lod_min_hysteresis = 0.0
  55. lod_max_distance = 0.0
  56. lod_max_hysteresis = 0.0
  57. mesh = SubResource( 2 )
  58. skeleton = NodePath("..")
  59. material/0 = null
  60. _sections_unfolded = [ "Transform" ]
  61. [node name="HingeJoint" type="HingeJoint" parent="." index="1"]
  62. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.25, 0 )
  63. nodes/node_a = NodePath("../Objective")
  64. nodes/node_b = NodePath("../Rod")
  65. solver/priority = 1
  66. collision/exclude_nodes = true
  67. params/bias = 0.3
  68. angular_limit/enable = false
  69. angular_limit/upper = 90.0
  70. angular_limit/lower = -90.0
  71. angular_limit/bias = 0.3
  72. angular_limit/softness = 0.9
  73. angular_limit/relaxation = 1.0
  74. motor/enable = false
  75. motor/target_velocity = 1.0
  76. motor/max_impulse = 1.0
  77. _sections_unfolded = [ "Transform", "Visibility", "angular_limit", "collision", "motor", "nodes", "params", "solver" ]
  78. [node name="Rod" type="StaticBody" parent="." index="2"]
  79. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.75, 0 )
  80. input_ray_pickable = true
  81. input_capture_on_drag = false
  82. collision_layer = 1
  83. collision_mask = 1
  84. friction = 1.0
  85. bounce = 0.0
  86. constant_linear_velocity = Vector3( 0, 0, 0 )
  87. constant_angular_velocity = Vector3( 0, 0, 0 )
  88. _sections_unfolded = [ "Collision", "Transform" ]
  89. [node name="CollisionShape" type="CollisionShape" parent="Rod" index="0"]
  90. shape = SubResource( 3 )
  91. disabled = false
  92. _sections_unfolded = [ "Transform", "Visibility" ]
  93. [node name="LeftTeam" type="Label" parent="." index="3"]
  94. anchor_left = 0.5
  95. anchor_top = 0.0
  96. anchor_right = 0.5
  97. anchor_bottom = 0.0
  98. margin_left = -66.0
  99. margin_top = 35.0
  100. margin_right = -26.0
  101. margin_bottom = 66.0
  102. rect_pivot_offset = Vector2( 0, 0 )
  103. mouse_filter = 2
  104. mouse_default_cursor_shape = 0
  105. size_flags_horizontal = 1
  106. size_flags_vertical = 4
  107. text = "0%"
  108. percent_visible = 1.0
  109. lines_skipped = 0
  110. max_lines_visible = -1
  111. _sections_unfolded = [ "Theme" ]
  112. [node name="RightTeam" type="Label" parent="." index="4"]
  113. anchor_left = 0.0
  114. anchor_top = 0.0
  115. anchor_right = 0.0
  116. anchor_bottom = 0.0
  117. margin_left = 507.0
  118. margin_top = 35.0
  119. margin_right = 547.0
  120. margin_bottom = 49.0
  121. rect_pivot_offset = Vector2( 0, 0 )
  122. mouse_filter = 2
  123. mouse_default_cursor_shape = 0
  124. size_flags_horizontal = 1
  125. size_flags_vertical = 4
  126. text = "0%"
  127. percent_visible = 1.0
  128. lines_skipped = 0
  129. max_lines_visible = -1
  130. [node name="Finish" type="Label" parent="." index="5"]
  131. anchor_left = 0.0
  132. anchor_top = 0.0
  133. anchor_right = 0.0
  134. anchor_bottom = 0.0
  135. margin_right = 40.0
  136. margin_bottom = 14.0
  137. rect_pivot_offset = Vector2( 0, 0 )
  138. mouse_filter = 2
  139. mouse_default_cursor_shape = 0
  140. size_flags_horizontal = 1
  141. size_flags_vertical = 4
  142. percent_visible = 1.0
  143. lines_skipped = 0
  144. max_lines_visible = -1