A team game with an emphasis on movement (with no shooting), inspired by Overwatch and Zineth

127 lines
3.3 KiB

  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://player.obj" type="ArrayMesh" id=1]
  3. [sub_resource type="BoxShape" id=1]
  4. extents = Vector3( 50, 10, 50 )
  5. [node name="world" type="Spatial"]
  6. [node name="DirectionalLight" type="DirectionalLight" parent="." index="0"]
  7. 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 )
  8. layers = 1
  9. light_color = Color( 1, 1, 1, 1 )
  10. light_energy = 1.0
  11. light_indirect_energy = 1.0
  12. light_negative = false
  13. light_specular = 0.5
  14. light_bake_mode = 1
  15. light_cull_mask = -1
  16. shadow_enabled = false
  17. shadow_color = Color( 0, 0, 0, 1 )
  18. shadow_bias = 0.1
  19. shadow_contact = 0.0
  20. shadow_reverse_cull_face = false
  21. editor_only = false
  22. directional_shadow_mode = 2
  23. directional_shadow_split_1 = 0.1
  24. directional_shadow_split_2 = 0.2
  25. directional_shadow_split_3 = 0.5
  26. directional_shadow_blend_splits = false
  27. directional_shadow_normal_bias = 0.8
  28. directional_shadow_bias_split_scale = 0.25
  29. directional_shadow_depth_range = 0
  30. directional_shadow_max_distance = 200.0
  31. [node name="players" type="Spatial" parent="." index="1"]
  32. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.4634, 0 )
  33. [node name="MeshInstance" type="MeshInstance" parent="." index="2"]
  34. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.88045, 1.58404, 0 )
  35. layers = 1
  36. material_override = null
  37. cast_shadow = 1
  38. extra_cull_margin = 0.0
  39. use_in_baked_light = false
  40. lod_min_distance = 0.0
  41. lod_min_hysteresis = 0.0
  42. lod_max_distance = 0.0
  43. lod_max_hysteresis = 0.0
  44. mesh = ExtResource( 1 )
  45. skeleton = NodePath("..")
  46. material/0 = null
  47. [node name="MeshInstance2" type="MeshInstance" parent="." index="3"]
  48. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.15372, 1.58404, 0 )
  49. layers = 1
  50. material_override = null
  51. cast_shadow = 1
  52. extra_cull_margin = 0.0
  53. use_in_baked_light = false
  54. lod_min_distance = 0.0
  55. lod_min_hysteresis = 0.0
  56. lod_max_distance = 0.0
  57. lod_max_hysteresis = 0.0
  58. mesh = ExtResource( 1 )
  59. skeleton = NodePath("..")
  60. material/0 = null
  61. [node name="MeshInstance3" type="MeshInstance" parent="." index="4"]
  62. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.05031, 1.58404, -9.94615 )
  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="MeshInstance4" type="MeshInstance" parent="." index="5"]
  76. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.05031, 1.58404, 7.02516 )
  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="Spatial" type="Spatial" parent="." index="6"]
  90. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -10, 0 )
  91. _sections_unfolded = [ "Transform" ]
  92. [node name="StaticBody" type="StaticBody" parent="Spatial" index="0"]
  93. input_ray_pickable = true
  94. input_capture_on_drag = false
  95. collision_layer = 1
  96. collision_mask = 1
  97. friction = 1.0
  98. bounce = 0.0
  99. constant_linear_velocity = Vector3( 0, 0, 0 )
  100. constant_angular_velocity = Vector3( 0, 0, 0 )
  101. [node name="CollisionShape" type="CollisionShape" parent="Spatial/StaticBody" index="0"]
  102. shape = SubResource( 1 )
  103. disabled = false