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.

349 lines
40 KiB

  1. [gd_scene load_steps=11 format=2]
  2. [ext_resource path="res://assets/player.obj" type="ArrayMesh" id=1]
  3. [ext_resource path="res://assets/maze.obj" type="ArrayMesh" id=2]
  4. [sub_resource type="ConcavePolygonShape" id=1]
  5. data = PoolVector3Array( -85.5, -0.4712, 11.2734, -43.5, -0.4712, 11.2734, -85.5, 3.666, 11.2734, -85.5, 3.666, 11.2734, -43.5, -0.4712, 11.2734, -43.5, 3.666, 11.2734, 0.9995, -0.4712, 11.2734, 1, -1, 11.2734, 0.9995, -0.4712, 12.0469, 0.9995, -0.4712, 12.0469, 1, -1, 11.2734, 1, -1, 12.0469, -85.5, -0.4712, 2.0469, -85.5625, -0.4712, 6.3008, -85.5, -0.4712, 7.4102, -48.5938, -1, -3.5098, -64.6875, -0.4712, -3.5098, -85.5, -1, -3.5098, -85.5, -1, -3.5098, -64.6875, -0.4712, -3.5098, -85.5, -0.4712, -3.5098, 1, -0.4712, 7.4102, 1, -1, 6.7578, 0.9995, -0.4712, 11.2734, 0.9995, -0.4712, 11.2734, 1, -1, 6.7578, 1, -1, 11.2734, 0.9995, -0.4712, 11.2734, 0.9995, -0.4712, 12.0469, 0.9995, 3.666, 11.2734, 0.9995, 3.666, 11.2734, 0.9995, -0.4712, 12.0469, 0.9995, 3.666, 12.0469, -85.5, -0.4712, -2.6992, -85.5, -0.4712, -3.5098, -85.5, 3.8457, -2.6992, -85.5, 3.8457, -2.6992, -85.5, -0.4712, -3.5098, -85.5, 3.8457, -3.5098, 1, -0.4712, -3.5098, 1, -1, -3.5098, 1, -0.4712, -2.6992, 1, -0.4712, -2.6992, 1, -1, -3.5098, 1, -1, -2.6992, -85.5, 3.8457, -3.5098, -64.6875, 3.8457, -3.5098, -85.5, 3.8457, -2.6992, -85.5, 3.8457, -2.6992, -64.6875, 3.8457, -3.5098, -64.6875, 3.8457, -2.6992, 1, -0.4712, -2.6992, -14.0469, -0.4712, -2.6992, 1, 3.8457, -2.6992, 1, 3.8457, -2.6992, -14.0469, -0.4712, -2.6992, -14.0469, 3.8457, -2.6992, -85.5, -0.4712, -3.5098, -64.6875, -0.4712, -3.5098, -85.5, 3.8457, -3.5098, -85.5, 3.8457, -3.5098, -64.6875, -0.4712, -3.5098, -64.6875, 3.8457, -3.5098, 1, -0.4712, -3.5098, 1, -0.4712, -2.6992, 1, 3.8457, -3.5098, 1, 3.8457, -3.5098, 1, -0.4712, -2.6992, 1, 3.8457, -2.6992, 1, -0.4712, 6.3008, 1, -1, 5.8477, 1, -0.4712, 7.4102, 1, -0.4712, 7.4102, 1, -1, 5.8477, 1, -1, 6.7578, 1, -0.4712, -2.6992, 1, -1, -2.6992, 1, -0.4712, 1.0459, 1, -0.4712, 1.0459, 1, -1, -2.6992, 1, -1, 1.249, -85.5, -0.4712, -2.6992, -64.6875, -0.4712, -2.6992, -85.5, -0.4712, 1.0459, -85.5, -0.4712, 1.0459, -64.6875, -0.4712, -2.6992, -64.625, -0.4712, 1.0459, 1, -0.4712, 2.0469, 1, -1, 2.375, 1, -0.4712, 6.3008, 1, -0.4712, 6.3008, 1, -1, 2.375, 1, -1, 5.8477, 1, -0.4712, 1.0459, 1, -1, 1.249, 1, -0.4712, 2.0469, 1, -0.4712, 2.0469, 1, -1, 1.249, 1, -1, 2.375, -101.75, -1, -3.5098, -101.75, -0.4712, -3.5098, -102.438, -1, -3.5098, -102.438, -1, -3.5098, -101.75, -0.4712, -3.5098, -102.438, -0.4712, -3.5098, 1, -0.4712, 1.0459, 1, -0.4712, 2.0469, 1, 3.7734, 1.0459, 1, 3.7734, 1.0459, 1, -0.4712, 2.0469, 1, 3.7734, 2.0469, -36.9063, -0.4712, 11.2734, -31.2031, -0.4712, 11.2734, -36.9063, 3.666, 11.2734, -36.9063, 3.666, 11.2734, -31.2031, -0.4712, 11.2734, -31.2031, 3.666, 11.2734, -31.2031, -1, -3.5098, -31.2031, -0.4712, -3.5098, -36.9063, -1, -3.5098, -36.9063, -1, -3.5098, -31.2031, -0.4712, -3.5098, -36.9063, -0.4712, -3.5098, -36.9063, -0.4712, 7.4102, -31.2031, -0.4712, 7.4102, -36.9063, -0.4712, 11.2734, -36.9063, -0.4712, 11.2734, -31.2031, -0.4712, 7.4102, -31.2031, -0.4712, 11.2734, -85.5, 3.7734, 1.0459, -64.625, 3.7734, 1.0459, -85.5, 3.7734, 2.0469, -85.5, 3.7734, 2.0469, -64.625, 3.7734, 1.0459, -64.625, 3.7734, 2.0469, -85.5, -0.4712, 2.0469, -85.5, -0.4712, 1.0459, -85.5, 3.7734, 2.0469, -85.5, 3.7734, 2.0469, -85.5, -0.4712, 1.0459, -85.5, 3.7734, 1.0459, 1, -0.4712, 6.3008, 1, -0.4712, 7.4102, 1, 3.7734, 6.3008, 1, 3.7734, 6.3008, 1, -0.4712, 7.4102, 1, 3.7734, 7.4102, 1, -0.4712, 2.0469, -14.0469, -0.4712, 2.0469, 1, 3.7734, 2.0469, 1, 3.7734, 2.0469, -14.0469, -0.4712, 2.0469, -14.0469, 3.7734, 2.0469, -85.5, -0.4712, 1.0459, -64.625, -0.4712, 1.0459, -85.5, 3.7734, 1.0459, -85.5, 3.7734, 1.0459, -64.625, -0.4712, 1.0459, -64.625, 3.7734, 1.0459, 1, -0.4712, 7.4102, -14.0469, -0.4712, 7.4102, 1, 3.7734, 7.4102, 1, 3.7734, 7.4102, -14.0469, -0.4712, 7.4102, -14.0469, 3.7734, 7.4102, -14.0469, -0.4712, 1.0459, 1, -0.4712, 1.0459, -14.0469, 3.7734, 1.0459, -14.0469, 3.7734, 1.0459, 1, -0.4712, 1.0459, 1, 3.7734, 1.0459, -14.0469, -0.4712, 6.3008, 1, -0.4712, 6.3008, -14.0469, 3.7734, 6.3008, -14.0469, 3.7734, 6.3008, 1, -0.4712, 6.3008, 1, 3.7734, 6.3008, -14.0469, -0.4712, 2.0469, -19.7813, -0.4712, 2.0469, -14.0
  6. [sub_resource type="SphereShape" id=2]
  7. radius = 1.0
  8. [sub_resource type="SphereMesh" id=3]
  9. radius = 1.0
  10. height = 2.0
  11. radial_segments = 64
  12. rings = 32
  13. is_hemisphere = false
  14. [sub_resource type="BoxShape" id=4]
  15. extents = Vector3( 7, 0.25, 7 )
  16. [sub_resource type="CubeMesh" id=5]
  17. size = Vector3( 14, 0.5, 14 )
  18. subdivide_width = 0
  19. subdivide_height = 0
  20. subdivide_depth = 0
  21. [sub_resource type="CapsuleShape" id=6]
  22. radius = 0.5
  23. height = 14.0
  24. [sub_resource type="DynamicFontData" id=7]
  25. font_path = "res://assets/DejaVuSansMono.ttf"
  26. [sub_resource type="DynamicFont" id=8]
  27. size = 16
  28. use_mipmaps = false
  29. use_filter = false
  30. font_data = SubResource( 7 )
  31. _sections_unfolded = [ "Font", "Resource" ]
  32. [node name="world" type="Spatial"]
  33. [node name="DirectionalLight" type="DirectionalLight" parent="." index="0"]
  34. transform = Transform( 0.784405, 0.193347, -0.589343, 0.315866, 0.693208, 0.647836, 0.533794, -0.694319, 0.482684, -7.6643, 1.97737, 0 )
  35. layers = 1
  36. light_color = Color( 1, 1, 1, 1 )
  37. light_energy = 1.0
  38. light_indirect_energy = 1.0
  39. light_negative = false
  40. light_specular = 0.5
  41. light_bake_mode = 1
  42. light_cull_mask = -1
  43. shadow_enabled = false
  44. shadow_color = Color( 0, 0, 0, 1 )
  45. shadow_bias = 0.1
  46. shadow_contact = 0.0
  47. shadow_reverse_cull_face = false
  48. editor_only = false
  49. directional_shadow_mode = 2
  50. directional_shadow_split_1 = 0.1
  51. directional_shadow_split_2 = 0.2
  52. directional_shadow_split_3 = 0.5
  53. directional_shadow_blend_splits = false
  54. directional_shadow_normal_bias = 0.8
  55. directional_shadow_bias_split_scale = 0.25
  56. directional_shadow_depth_range = 0
  57. directional_shadow_max_distance = 200.0
  58. [node name="players" type="Spatial" parent="." index="1"]
  59. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.4634, 0 )
  60. _sections_unfolded = [ "Transform", "Visibility" ]
  61. [node name="MeshInstance" type="MeshInstance" parent="." index="2"]
  62. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -38.9044, 6.35638, 0 )
  63. layers = 1
  64. material_override = null
  65. cast_shadow = 1
  66. extra_cull_margin = 0.0
  67. use_in_baked_light = false
  68. lod_min_distance = 0.0
  69. lod_min_hysteresis = 0.0
  70. lod_max_distance = 0.0
  71. lod_max_hysteresis = 0.0
  72. mesh = ExtResource( 1 )
  73. skeleton = NodePath("..")
  74. material/0 = null
  75. [node name="MeshInstance2" type="MeshInstance" parent="." index="3"]
  76. transform = Transform( 1, 0, 0, 0, 0.168085, 0.985772, 0, -0.985772, 0.168085, -7.15372, 5.07803, 0 )
  77. layers = 1
  78. material_override = null
  79. cast_shadow = 1
  80. extra_cull_margin = 0.0
  81. use_in_baked_light = false
  82. lod_min_distance = 0.0
  83. lod_min_hysteresis = 0.0
  84. lod_max_distance = 0.0
  85. lod_max_hysteresis = 0.0
  86. mesh = ExtResource( 1 )
  87. skeleton = NodePath("..")
  88. material/0 = null
  89. [node name="MeshInstance3" type="MeshInstance" parent="." index="4"]
  90. transform = Transform( 0.555033, -0.117448, 0.823495, 0.820972, 0.236762, -0.519565, -0.133951, 0.964443, 0.227832, -8.47151, 8.10179, -9.95322 )
  91. layers = 1
  92. material_override = null
  93. cast_shadow = 1
  94. extra_cull_margin = 0.0
  95. use_in_baked_light = false
  96. lod_min_distance = 0.0
  97. lod_min_hysteresis = 0.0
  98. lod_max_distance = 0.0
  99. lod_max_hysteresis = 0.0
  100. mesh = ExtResource( 1 )
  101. skeleton = NodePath("..")
  102. material/0 = null
  103. [node name="MeshInstance4" type="MeshInstance" parent="." index="5"]
  104. transform = Transform( 0.679698, 0, -0.733492, 0, 1, 0, 0.733492, 0, 0.679698, -12.3686, 3.09114, 7.02516 )
  105. layers = 1
  106. material_override = null
  107. cast_shadow = 1
  108. extra_cull_margin = 0.0
  109. use_in_baked_light = false
  110. lod_min_distance = 0.0
  111. lod_min_hysteresis = 0.0
  112. lod_max_distance = 0.0
  113. lod_max_hysteresis = 0.0
  114. mesh = ExtResource( 1 )
  115. skeleton = NodePath("..")
  116. material/0 = null
  117. [node name="Maze" type="MeshInstance" parent="." index="6"]
  118. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.90447, 0, 0 )
  119. layers = 1
  120. material_override = null
  121. cast_shadow = 1
  122. extra_cull_margin = 0.0
  123. use_in_baked_light = false
  124. lod_min_distance = 0.0
  125. lod_min_hysteresis = 0.0
  126. lod_max_distance = 0.0
  127. lod_max_hysteresis = 0.0
  128. mesh = ExtResource( 2 )
  129. skeleton = NodePath("..")
  130. material/0 = null
  131. [node name="StaticBody" type="StaticBody" parent="Maze" index="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. [node name="CollisionShape" type="CollisionShape" parent="Maze/StaticBody" index="0"]
  141. shape = SubResource( 1 )
  142. disabled = false
  143. [node name="Ball" type="RigidBody" parent="." index="7"]
  144. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -79.2541, 6.09969, -0.893594 )
  145. input_ray_pickable = true
  146. input_capture_on_drag = false
  147. collision_layer = 1
  148. collision_mask = 1
  149. mode = 0
  150. mass = 1.0
  151. friction = 1.0
  152. bounce = 0.0
  153. gravity_scale = 1.0
  154. custom_integrator = false
  155. continuous_cd = false
  156. contacts_reported = 0
  157. contact_monitor = false
  158. sleeping = true
  159. can_sleep = true
  160. axis_lock_linear_x = false
  161. axis_lock_linear_y = false
  162. axis_lock_linear_z = false
  163. axis_lock_angular_x = false
  164. axis_lock_angular_y = false
  165. axis_lock_angular_z = false
  166. linear_velocity = Vector3( 0, 0, 0 )
  167. linear_damp = -1.0
  168. angular_velocity = Vector3( 0, 0, 0 )
  169. angular_damp = -1.0
  170. _sections_unfolded = [ "Collision", "Pause", "Transform", "Visibility" ]
  171. [node name="CollisionShape" type="CollisionShape" parent="Ball" index="0"]
  172. shape = SubResource( 2 )
  173. disabled = false
  174. _sections_unfolded = [ "Transform", "Visibility" ]
  175. [node name="MeshInstance" type="MeshInstance" parent="Ball" index="1"]
  176. layers = 1
  177. material_override = null
  178. cast_shadow = 1
  179. extra_cull_margin = 0.0
  180. use_in_baked_light = false
  181. lod_min_distance = 0.0
  182. lod_min_hysteresis = 0.0
  183. lod_max_distance = 0.0
  184. lod_max_hysteresis = 0.0
  185. mesh = SubResource( 3 )
  186. skeleton = NodePath("..")
  187. material/0 = null
  188. _sections_unfolded = [ "Geometry", "Transform", "material" ]
  189. [node name="FullObjective" type="Spatial" parent="." index="8"]
  190. [node name="Objective" type="RigidBody" parent="FullObjective" index="0" groups=[
  191. "objective",
  192. ]]
  193. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -91.3336, 3.19767, 4.06596 )
  194. input_ray_pickable = true
  195. input_capture_on_drag = false
  196. collision_layer = 1
  197. collision_mask = 1
  198. mode = 0
  199. mass = 1.0
  200. friction = 1.0
  201. bounce = 0.0
  202. gravity_scale = 1.0
  203. custom_integrator = false
  204. continuous_cd = true
  205. contacts_reported = 8
  206. contact_monitor = true
  207. sleeping = false
  208. can_sleep = true
  209. axis_lock_linear_x = false
  210. axis_lock_linear_y = false
  211. axis_lock_linear_z = false
  212. axis_lock_angular_x = false
  213. axis_lock_angular_y = false
  214. axis_lock_angular_z = false
  215. linear_velocity = Vector3( 0, 0, 0 )
  216. linear_damp = -1.0
  217. angular_velocity = Vector3( 0, 0, 0 )
  218. angular_damp = -1.0
  219. _sections_unfolded = [ "Axis Lock", "Collision", "Linear", "Transform", "Visibility" ]
  220. [node name="CollisionShape" type="CollisionShape" parent="FullObjective/Objective" index="0"]
  221. shape = SubResource( 4 )
  222. disabled = false
  223. _sections_unfolded = [ "Transform" ]
  224. [node name="MeshInstance5" type="MeshInstance" parent="FullObjective/Objective/CollisionShape" index="0"]
  225. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.274852 )
  226. layers = 1
  227. material_override = null
  228. cast_shadow = 1
  229. extra_cull_margin = 0.0
  230. use_in_baked_light = false
  231. lod_min_distance = 0.0
  232. lod_min_hysteresis = 0.0
  233. lod_max_distance = 0.0
  234. lod_max_hysteresis = 0.0
  235. mesh = SubResource( 5 )
  236. skeleton = NodePath("..")
  237. material/0 = null
  238. _sections_unfolded = [ "Transform" ]
  239. [node name="HingeJoint" type="HingeJoint" parent="FullObjective" index="1"]
  240. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -91.3336, 2.94767, 4.06596 )
  241. nodes/node_a = NodePath("../Objective")
  242. nodes/node_b = NodePath("../StaticBody2")
  243. solver/priority = 1
  244. collision/exclude_nodes = true
  245. params/bias = 0.3
  246. angular_limit/enable = false
  247. angular_limit/upper = 90.0
  248. angular_limit/lower = -90.0
  249. angular_limit/bias = 0.3
  250. angular_limit/softness = 0.9
  251. angular_limit/relaxation = 1.0
  252. motor/enable = false
  253. motor/target_velocity = 1.0
  254. motor/max_impulse = 1.0
  255. _sections_unfolded = [ "Transform", "nodes" ]
  256. [node name="StaticBody2" type="StaticBody" parent="FullObjective" index="2"]
  257. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -91.3336, 2.40463, 4.06596 )
  258. input_ray_pickable = true
  259. input_capture_on_drag = false
  260. collision_layer = 1
  261. collision_mask = 1
  262. friction = 1.0
  263. bounce = 0.0
  264. constant_linear_velocity = Vector3( 0, 0, 0 )
  265. constant_angular_velocity = Vector3( 0, 0, 0 )
  266. _sections_unfolded = [ "Collision", "Transform" ]
  267. [node name="CollisionShape" type="CollisionShape" parent="FullObjective/StaticBody2" index="0"]
  268. shape = SubResource( 6 )
  269. disabled = false
  270. _sections_unfolded = [ "Transform", "Visibility" ]
  271. [node name="Debug" type="Label" parent="." index="9"]
  272. anchor_left = 0.0
  273. anchor_top = 0.0
  274. anchor_right = 0.0
  275. anchor_bottom = 0.0
  276. margin_left = 831.0
  277. margin_top = 27.0
  278. margin_right = 1004.0
  279. margin_bottom = 94.0
  280. grow_horizontal = 0
  281. rect_pivot_offset = Vector2( 0, 0 )
  282. mouse_filter = 2
  283. mouse_default_cursor_shape = 0
  284. size_flags_horizontal = 1
  285. size_flags_vertical = 4
  286. custom_fonts/font = SubResource( 8 )
  287. percent_visible = 1.0
  288. lines_skipped = 0
  289. max_lines_visible = -1
  290. _sections_unfolded = [ "Anchor", "Focus", "Grow Direction", "Hint", "Margin", "Material", "Mouse", "Pause", "Rect", "Size Flags", "Theme", "Visibility", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]