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.

188 lines
36 KiB

  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://assets/maze-high-obj.obj" type="ArrayMesh" id=1]
  3. [ext_resource path="res://scenes/objective.tscn" type="PackedScene" 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="DynamicFontData" id=4]
  15. font_path = "res://assets/DejaVuSansMono.ttf"
  16. [sub_resource type="DynamicFont" id=5]
  17. size = 16
  18. use_mipmaps = false
  19. use_filter = false
  20. font_data = SubResource( 4 )
  21. _sections_unfolded = [ "Font", "Resource" ]
  22. [node name="world" type="Spatial"]
  23. [node name="DirectionalLight" type="DirectionalLight" parent="." index="0"]
  24. 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 )
  25. layers = 1
  26. light_color = Color( 1, 1, 1, 1 )
  27. light_energy = 1.0
  28. light_indirect_energy = 1.0
  29. light_negative = false
  30. light_specular = 0.5
  31. light_bake_mode = 1
  32. light_cull_mask = -1
  33. shadow_enabled = false
  34. shadow_color = Color( 0, 0, 0, 1 )
  35. shadow_bias = 0.1
  36. shadow_contact = 0.0
  37. shadow_reverse_cull_face = false
  38. editor_only = false
  39. directional_shadow_mode = 2
  40. directional_shadow_split_1 = 0.1
  41. directional_shadow_split_2 = 0.2
  42. directional_shadow_split_3 = 0.5
  43. directional_shadow_blend_splits = false
  44. directional_shadow_normal_bias = 0.8
  45. directional_shadow_bias_split_scale = 0.25
  46. directional_shadow_depth_range = 0
  47. directional_shadow_max_distance = 200.0
  48. [node name="players" type="Spatial" parent="." index="1"]
  49. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.4634, 0 )
  50. _sections_unfolded = [ "Transform", "Visibility" ]
  51. [node name="Maze" type="MeshInstance" parent="." index="2"]
  52. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.90447, 0, 0 )
  53. layers = 1
  54. material_override = null
  55. cast_shadow = 1
  56. extra_cull_margin = 0.0
  57. use_in_baked_light = false
  58. lod_min_distance = 0.0
  59. lod_min_hysteresis = 0.0
  60. lod_max_distance = 0.0
  61. lod_max_hysteresis = 0.0
  62. mesh = ExtResource( 1 )
  63. skeleton = NodePath("..")
  64. material/0 = null
  65. [node name="StaticBody" type="StaticBody" parent="Maze" index="0"]
  66. input_ray_pickable = true
  67. input_capture_on_drag = false
  68. collision_layer = 1
  69. collision_mask = 1
  70. friction = 1.0
  71. bounce = 0.0
  72. constant_linear_velocity = Vector3( 0, 0, 0 )
  73. constant_angular_velocity = Vector3( 0, 0, 0 )
  74. [node name="CollisionShape" type="CollisionShape" parent="Maze/StaticBody" index="0"]
  75. shape = SubResource( 1 )
  76. disabled = false
  77. [node name="Ball" type="RigidBody" parent="." index="3"]
  78. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -14.4344, 6.09969, 4.40885 )
  79. input_ray_pickable = true
  80. input_capture_on_drag = false
  81. collision_layer = 1
  82. collision_mask = 1
  83. mode = 0
  84. mass = 1.0
  85. friction = 1.0
  86. bounce = 0.0
  87. gravity_scale = 1.0
  88. custom_integrator = false
  89. continuous_cd = false
  90. contacts_reported = 0
  91. contact_monitor = false
  92. sleeping = false
  93. can_sleep = true
  94. axis_lock_linear_x = false
  95. axis_lock_linear_y = false
  96. axis_lock_linear_z = false
  97. axis_lock_angular_x = false
  98. axis_lock_angular_y = false
  99. axis_lock_angular_z = false
  100. linear_velocity = Vector3( 0, 0, 0 )
  101. linear_damp = -1.0
  102. angular_velocity = Vector3( 0, 0, 0 )
  103. angular_damp = -1.0
  104. _sections_unfolded = [ "Collision", "Pause", "Transform", "Visibility" ]
  105. [node name="CollisionShape" type="CollisionShape" parent="Ball" index="0"]
  106. shape = SubResource( 2 )
  107. disabled = false
  108. _sections_unfolded = [ "Transform", "Visibility" ]
  109. [node name="MeshInstance" type="MeshInstance" parent="Ball" index="1"]
  110. layers = 1
  111. material_override = null
  112. cast_shadow = 1
  113. extra_cull_margin = 0.0
  114. use_in_baked_light = false
  115. lod_min_distance = 0.0
  116. lod_min_hysteresis = 0.0
  117. lod_max_distance = 0.0
  118. lod_max_hysteresis = 0.0
  119. mesh = SubResource( 3 )
  120. skeleton = NodePath("..")
  121. material/0 = null
  122. _sections_unfolded = [ "Geometry", "Transform", "material" ]
  123. [node name="FullObjective" parent="." index="4" instance=ExtResource( 2 )]
  124. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -91.3336, 2.0316, 4.06596 )
  125. _sections_unfolded = [ "Transform" ]
  126. [node name="Debug" type="Label" parent="." index="5"]
  127. anchor_left = 0.0
  128. anchor_top = 0.0
  129. anchor_right = 0.0
  130. anchor_bottom = 0.0
  131. margin_left = 831.0
  132. margin_top = 27.0
  133. margin_right = 1004.0
  134. margin_bottom = 94.0
  135. grow_horizontal = 0
  136. rect_pivot_offset = Vector2( 0, 0 )
  137. mouse_filter = 2
  138. mouse_default_cursor_shape = 0
  139. size_flags_horizontal = 1
  140. size_flags_vertical = 4
  141. custom_fonts/font = SubResource( 5 )
  142. percent_visible = 1.0
  143. lines_skipped = 0
  144. max_lines_visible = -1
  145. _sections_unfolded = [ "Anchor", "Focus", "Grow Direction", "Hint", "Margin", "Material", "Mouse", "Pause", "Rect", "Size Flags", "Theme", "Visibility", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]
  146. [node name="LeftSpawn" type="Spatial" parent="." index="6"]
  147. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.96426, 9.36109 )
  148. _sections_unfolded = [ "Transform" ]
  149. [node name="RightSpawn" type="Spatial" parent="." index="7"]
  150. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.87156, 0 )