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.

196 lines
5.2 KiB

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