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.

266 lines
6.6 KiB

  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://scripts/objective.gd" type="Script" id=1]
  3. [ext_resource path="res://assets/objective.obj" type="ArrayMesh" id=2]
  4. [ext_resource path="res://assets/DejaVuSansMono.ttf" type="DynamicFontData" id=3]
  5. [sub_resource type="BoxShape" id=1]
  6. extents = Vector3( 7, 0.25, 7 )
  7. [sub_resource type="SpatialMaterial" id=2]
  8. render_priority = 0
  9. flags_transparent = false
  10. flags_unshaded = false
  11. flags_vertex_lighting = false
  12. flags_no_depth_test = false
  13. flags_use_point_size = false
  14. flags_world_triplanar = false
  15. flags_fixed_size = false
  16. flags_albedo_tex_force_srgb = false
  17. vertex_color_use_as_albedo = false
  18. vertex_color_is_srgb = false
  19. params_diffuse_mode = 0
  20. params_specular_mode = 0
  21. params_blend_mode = 0
  22. params_cull_mode = 0
  23. params_depth_draw_mode = 0
  24. params_line_width = 1.0
  25. params_point_size = 1.0
  26. params_billboard_mode = 0
  27. params_grow = false
  28. params_use_alpha_scissor = false
  29. albedo_color = Color( 1, 1, 1, 1 )
  30. metallic = 0.0
  31. metallic_specular = 0.5
  32. metallic_texture_channel = 0
  33. roughness = 0.0
  34. roughness_texture_channel = 0
  35. emission_enabled = false
  36. normal_enabled = false
  37. rim_enabled = false
  38. clearcoat_enabled = false
  39. anisotropy_enabled = false
  40. ao_enabled = false
  41. depth_enabled = false
  42. subsurf_scatter_enabled = false
  43. transmission_enabled = false
  44. refraction_enabled = false
  45. detail_enabled = false
  46. uv1_scale = Vector3( 1, 1, 1 )
  47. uv1_offset = Vector3( 0, 0, 0 )
  48. uv1_triplanar = false
  49. uv1_triplanar_sharpness = 1.0
  50. uv2_scale = Vector3( 1, 1, 1 )
  51. uv2_offset = Vector3( 0, 0, 0 )
  52. uv2_triplanar = false
  53. uv2_triplanar_sharpness = 1.0
  54. proximity_fade_enable = false
  55. distance_fade_enable = false
  56. _sections_unfolded = [ "Albedo" ]
  57. [sub_resource type="CapsuleShape" id=3]
  58. radius = 0.5
  59. height = 14.0
  60. [sub_resource type="DynamicFont" id=4]
  61. size = 50
  62. use_mipmaps = false
  63. use_filter = false
  64. font_data = ExtResource( 3 )
  65. _sections_unfolded = [ "Extra Spacing", "Font", "Resource", "Settings" ]
  66. [node name="FullObjective" type="Spatial" index="0"]
  67. [node name="Objective" type="RigidBody" parent="." index="0"]
  68. input_ray_pickable = true
  69. input_capture_on_drag = false
  70. collision_layer = 1
  71. collision_mask = 2
  72. mode = 0
  73. mass = 1000.0
  74. friction = 1.0
  75. bounce = 0.0
  76. gravity_scale = 1.0
  77. custom_integrator = false
  78. continuous_cd = true
  79. contacts_reported = 8
  80. contact_monitor = true
  81. sleeping = false
  82. can_sleep = true
  83. axis_lock_linear_x = false
  84. axis_lock_linear_y = false
  85. axis_lock_linear_z = false
  86. axis_lock_angular_x = false
  87. axis_lock_angular_y = false
  88. axis_lock_angular_z = false
  89. linear_velocity = Vector3( 0, 0, 0 )
  90. linear_damp = -1.0
  91. angular_velocity = Vector3( 0, 0, 0 )
  92. angular_damp = -1.0
  93. script = ExtResource( 1 )
  94. _sections_unfolded = [ "Axis Lock", "Collision", "Linear", "Transform", "Visibility" ]
  95. [node name="CollisionShape" type="CollisionShape" parent="Objective" index="0"]
  96. shape = SubResource( 1 )
  97. disabled = false
  98. _sections_unfolded = [ "Transform" ]
  99. [node name="MeshInstance" type="MeshInstance" parent="Objective" index="1"]
  100. layers = 1
  101. material_override = null
  102. cast_shadow = 1
  103. extra_cull_margin = 0.0
  104. use_in_baked_light = false
  105. lod_min_distance = 0.0
  106. lod_min_hysteresis = 0.0
  107. lod_max_distance = 0.0
  108. lod_max_hysteresis = 0.0
  109. mesh = ExtResource( 2 )
  110. skeleton = NodePath("..")
  111. material/0 = SubResource( 2 )
  112. _sections_unfolded = [ "Transform", "material" ]
  113. [node name="HingeJoint" type="HingeJoint" parent="." index="1"]
  114. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.25, 0 )
  115. nodes/node_a = NodePath("../Objective")
  116. nodes/node_b = NodePath("../Rod")
  117. solver/priority = 1
  118. collision/exclude_nodes = true
  119. params/bias = 0.3
  120. angular_limit/enable = false
  121. angular_limit/upper = 90.0
  122. angular_limit/lower = -90.0
  123. angular_limit/bias = 0.3
  124. angular_limit/softness = 0.9
  125. angular_limit/relaxation = 1.0
  126. motor/enable = false
  127. motor/target_velocity = 1.0
  128. motor/max_impulse = 1.0
  129. _sections_unfolded = [ "Transform", "Visibility", "angular_limit", "collision", "motor", "nodes", "params", "solver" ]
  130. [node name="Rod" type="StaticBody" parent="." index="2"]
  131. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.75, 0 )
  132. input_ray_pickable = true
  133. input_capture_on_drag = false
  134. collision_layer = 1
  135. collision_mask = 1
  136. friction = 1.0
  137. bounce = 0.0
  138. constant_linear_velocity = Vector3( 0, 0, 0 )
  139. constant_angular_velocity = Vector3( 0, 0, 0 )
  140. _sections_unfolded = [ "Collision", "Transform" ]
  141. [node name="CollisionShape" type="CollisionShape" parent="Rod" index="0"]
  142. shape = SubResource( 3 )
  143. disabled = false
  144. _sections_unfolded = [ "Transform", "Visibility" ]
  145. [node name="HUD" type="Control" parent="." index="3"]
  146. anchor_left = 0.5
  147. anchor_top = 0.0
  148. anchor_right = 0.5
  149. anchor_bottom = 0.0
  150. margin_left = -20.0
  151. margin_right = 20.0
  152. margin_bottom = 40.0
  153. rect_pivot_offset = Vector2( 0, 0 )
  154. mouse_filter = 0
  155. mouse_default_cursor_shape = 0
  156. size_flags_horizontal = 1
  157. size_flags_vertical = 1
  158. [node name="ColorRect" type="ColorRect" parent="HUD" index="0"]
  159. anchor_left = 0.0
  160. anchor_top = 0.0
  161. anchor_right = 0.0
  162. anchor_bottom = 0.0
  163. margin_left = -35.0
  164. margin_top = 18.0
  165. margin_right = 95.0
  166. margin_bottom = 57.0
  167. rect_pivot_offset = Vector2( 0, 0 )
  168. mouse_filter = 0
  169. mouse_default_cursor_shape = 0
  170. size_flags_horizontal = 1
  171. size_flags_vertical = 1
  172. color = Color( 0, 0, 0, 0.3 )
  173. [node name="LeftTeam" type="Label" parent="HUD" index="1"]
  174. anchor_left = 0.5
  175. anchor_top = 0.0
  176. anchor_right = 0.5
  177. anchor_bottom = 0.0
  178. margin_left = -47.0
  179. margin_top = 32.0
  180. margin_right = -7.0
  181. margin_bottom = 63.0
  182. rect_pivot_offset = Vector2( 0, 0 )
  183. mouse_filter = 2
  184. mouse_default_cursor_shape = 0
  185. size_flags_horizontal = 1
  186. size_flags_vertical = 4
  187. text = "0%"
  188. align = 1
  189. percent_visible = 1.0
  190. lines_skipped = 0
  191. max_lines_visible = -1
  192. _sections_unfolded = [ "Theme" ]
  193. [node name="RightTeam" type="Label" parent="HUD" index="2"]
  194. anchor_left = 0.5
  195. anchor_top = 0.0
  196. anchor_right = 0.5
  197. anchor_bottom = 0.0
  198. margin_left = 29.0
  199. margin_top = 30.0
  200. margin_right = 69.0
  201. margin_bottom = 44.0
  202. rect_pivot_offset = Vector2( 0, 0 )
  203. mouse_filter = 2
  204. mouse_default_cursor_shape = 0
  205. size_flags_horizontal = 1
  206. size_flags_vertical = 4
  207. text = "0%"
  208. align = 1
  209. percent_visible = 1.0
  210. lines_skipped = 0
  211. max_lines_visible = -1
  212. [node name="Finish" type="Label" parent="HUD" index="3"]
  213. anchor_left = 0.5
  214. anchor_top = 0.0
  215. anchor_right = 0.5
  216. anchor_bottom = 0.0
  217. margin_left = -14.0
  218. margin_top = 83.0
  219. margin_right = 26.0
  220. margin_bottom = 97.0
  221. rect_pivot_offset = Vector2( 0, 0 )
  222. mouse_filter = 2
  223. mouse_default_cursor_shape = 0
  224. size_flags_horizontal = 1
  225. size_flags_vertical = 4
  226. custom_fonts/font = SubResource( 4 )
  227. custom_colors/font_color = Color( 0.0898438, 0.0898438, 0.0898438, 1 )
  228. align = 1
  229. percent_visible = 1.0
  230. lines_skipped = 0
  231. max_lines_visible = -1
  232. _sections_unfolded = [ "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]