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.

133 lines
3.1 KiB

  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://hero_0.gd" type="Script" id=1]
  3. [sub_resource type="CapsuleShape" id=1]
  4. radius = 0.4
  5. height = 0.5
  6. [sub_resource type="RayShape" id=2]
  7. length = 0.3
  8. _sections_unfolded = [ "Resource" ]
  9. [sub_resource type="CapsuleMesh" id=3]
  10. radius = 0.4
  11. mid_height = 0.5
  12. radial_segments = 64
  13. rings = 8
  14. _sections_unfolded = [ "Resource" ]
  15. [node name="RigidBody" type="RigidBody" index="0"]
  16. input_ray_pickable = true
  17. input_capture_on_drag = false
  18. collision_layer = 1
  19. collision_mask = 1
  20. mode = 2
  21. mass = 1.0
  22. friction = 0.0
  23. bounce = 0.0
  24. gravity_scale = 1.0
  25. custom_integrator = true
  26. continuous_cd = true
  27. contacts_reported = 8
  28. contact_monitor = true
  29. sleeping = false
  30. can_sleep = false
  31. axis_lock_linear_x = false
  32. axis_lock_linear_y = false
  33. axis_lock_linear_z = false
  34. axis_lock_angular_x = false
  35. axis_lock_angular_y = false
  36. axis_lock_angular_z = false
  37. linear_velocity = Vector3( 0, 0, 0 )
  38. linear_damp = -1.0
  39. angular_velocity = Vector3( 0, 0, 0 )
  40. angular_damp = -1.0
  41. script = ExtResource( 1 )
  42. _sections_unfolded = [ "Angular", "Collision", "Linear", "Transform", "Visibility" ]
  43. [node name="Body" type="CollisionShape" parent="." index="0"]
  44. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.95, 0 )
  45. shape = SubResource( 1 )
  46. disabled = false
  47. _sections_unfolded = [ "Pause", "Transform", "Visibility" ]
  48. [node name="Leg" type="CollisionShape" parent="." index="1"]
  49. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0.05, 0.35, 0 )
  50. shape = SubResource( 2 )
  51. disabled = false
  52. _sections_unfolded = [ "Transform", "Visibility" ]
  53. [node name="Ray" type="RayCast" parent="." index="2"]
  54. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0 )
  55. enabled = true
  56. exclude_parent = true
  57. cast_to = Vector3( 0, -0.3, 0 )
  58. collision_mask = 1
  59. _sections_unfolded = [ "Transform", "Visibility" ]
  60. [node name="Yaw" type="Spatial" parent="." index="3"]
  61. _sections_unfolded = [ "Transform", "Visibility" ]
  62. [node name="Camera" type="Camera" parent="Yaw" index="0"]
  63. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, 0 )
  64. keep_aspect = 0
  65. cull_mask = 1048575
  66. environment = null
  67. h_offset = 0.0
  68. v_offset = 0.0
  69. doppler_tracking = 0
  70. projection = 0
  71. current = false
  72. fov = 70.0
  73. size = 1.0
  74. near = 0.05
  75. far = 100.0
  76. _sections_unfolded = [ "Transform", "Visibility" ]
  77. [node name="Crosshair" type="Label" parent="." index="4"]
  78. anchor_left = 0.5
  79. anchor_top = 0.5
  80. anchor_right = 0.5
  81. anchor_bottom = 0.5
  82. margin_left = -20.0
  83. margin_top = -7.0
  84. margin_right = 20.0
  85. margin_bottom = 7.0
  86. rect_pivot_offset = Vector2( 0, 0 )
  87. mouse_filter = 2
  88. mouse_default_cursor_shape = 0
  89. size_flags_horizontal = 1
  90. size_flags_vertical = 4
  91. percent_visible = 1.0
  92. lines_skipped = 0
  93. max_lines_visible = -1
  94. [node name="MeshInstance" type="MeshInstance" parent="." index="5"]
  95. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.95, 0 )
  96. layers = 1
  97. material_override = null
  98. cast_shadow = 1
  99. extra_cull_margin = 0.0
  100. use_in_baked_light = false
  101. lod_min_distance = 0.0
  102. lod_min_hysteresis = 0.0
  103. lod_max_distance = 0.0
  104. lod_max_hysteresis = 0.0
  105. mesh = SubResource( 3 )
  106. skeleton = NodePath("..")
  107. material/0 = null
  108. _sections_unfolded = [ "Transform" ]