Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

34 wiersze
1.2 KiB

  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://jrpg/models/chars/Zombie_Male.glb" type="PackedScene" id=1]
  3. [ext_resource path="res://jrpg/scripts/entities/npc.gd" type="Script" id=2]
  4. [ext_resource path="res://jrpg/scripts/entities/utils/trigger_relay.gd" type="Script" id=3]
  5. [sub_resource type="CapsuleShape" id=1]
  6. radius = 0.5
  7. [sub_resource type="CapsuleShape" id=2]
  8. radius = 0.543022
  9. height = 0.89044
  10. [node name="Enemy" type="KinematicBody"]
  11. script = ExtResource( 2 )
  12. [node name="CollisionShape" type="CollisionShape" parent="."]
  13. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 )
  14. shape = SubResource( 1 )
  15. [node name="Zombie_Male" parent="." instance=ExtResource( 1 )]
  16. transform = Transform( 0.65, 0, 0, 0, 0.65, 0, 0, 0, 0.65, 0, 0, 0 )
  17. [node name="Timer" type="Timer" parent="."]
  18. [node name="InteractableArea" type="Area" parent="."]
  19. script = ExtResource( 3 )
  20. [node name="CollisionShape" type="CollisionShape" parent="InteractableArea"]
  21. transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1, 0 )
  22. shape = SubResource( 2 )
  23. [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
  24. [connection signal="on_interact" from="InteractableArea" to="." method="on_interact"]