Set up the common attach points for the character.

This commit is contained in:
Relintai 2020-07-16 15:20:07 +02:00
parent 8ddb76b4c9
commit d352016475

View File

@ -3,4 +3,35 @@
[ext_resource path="res://characters/SimpleCharacter.gd" type="Script" id=1]
[node name="Character" type="CharacterSkeleton2D"]
entity_type = 1
attach_point_paths/0_left_hand = NodePath("LeftHand")
attach_point_paths/1_right_hand = NodePath("RightHand")
attach_point_paths/2_torso = NodePath("Torso")
attach_point_paths/3_root = NodePath("Root")
attach_point_paths/4_right_hip = NodePath("RightHip")
attach_point_paths/5_left_hip = NodePath("LeftHip")
attach_point_paths/6_spine_2 = NodePath("Spine2")
attach_point_paths/7_weapon_left = NodePath("WeaponLeft")
attach_point_paths/8_weapon_right = NodePath("WeaponRight")
attach_point_paths/9_weapon_left_back = NodePath("WeaponLeft")
attach_point_paths/10_weapon_right_back = NodePath("WeaponLeft")
attach_point_paths/11_weapon_shield_left = NodePath("WeaponLeft")
script = ExtResource( 1 )
[node name="LeftHand" type="Node2D" parent="."]
[node name="RightHand" type="Node2D" parent="."]
[node name="Torso" type="Node2D" parent="."]
[node name="Root" type="Node2D" parent="."]
[node name="RightHip" type="Node2D" parent="."]
[node name="LeftHip" type="Node2D" parent="."]
[node name="Spine2" type="Node2D" parent="."]
[node name="WeaponLeft" type="Node2D" parent="."]
[node name="WeaponRight" type="Node2D" parent="."]