mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-10 01:10:05 +00:00
190 lines
9.1 KiB
Text
190 lines
9.1 KiB
Text
|
[gd_scene load_steps=14 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/creatures/human/mh_human_female.escn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://assets/creatures/human/mh_human_female_tongue.material" type="Material" id=2]
|
||
|
[ext_resource path="res://assets/creatures/human/mh_human_female_eyebrow.material" type="Material" id=3]
|
||
|
[ext_resource path="res://assets/creatures/human/mh_human_female_eyelashes.material" type="Material" id=4]
|
||
|
[ext_resource path="res://assets/creatures/human/mh_human_female_eyes.material" type="Material" id=5]
|
||
|
[ext_resource path="res://assets/creatures/human/mh_human_female_teeth.material" type="Material" id=6]
|
||
|
[ext_resource path="res://assets/creatures/human/human_female_skin.material" type="Material" id=7]
|
||
|
|
||
|
[sub_resource type="GDScript" id=1]
|
||
|
script/source = "extends Spatial
|
||
|
|
||
|
signal animation_finished( anim_name )
|
||
|
signal limb_body_entered( limb, body )
|
||
|
|
||
|
func _on_AnimationPlayer_animation_finished(anim_name):
|
||
|
emit_signal( \"animation_finished\", anim_name )
|
||
|
|
||
|
|
||
|
func _on_limb_head_area_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.head, body )
|
||
|
|
||
|
func _on_limb_tosro_1_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.torso, body )
|
||
|
|
||
|
func _on_limb_torso_2_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.torso, body )
|
||
|
|
||
|
func _on_limb_torso_3_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.torso, body )
|
||
|
|
||
|
func _on_limb_torso_4_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.torso, body )
|
||
|
|
||
|
|
||
|
func _on_limb_torso_5_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.torso, body )
|
||
|
|
||
|
|
||
|
func _on_limb_upper_arm_left_body_entered(body):
|
||
|
emit_signal( \"limb_body_entered\", Datas.Cloth.LIMB.left_upper_arm, body )
|
||
|
|
||
|
|
||
|
"
|
||
|
|
||
|
[sub_resource type="CapsuleShape" id=2]
|
||
|
radius = 0.0733748
|
||
|
height = 0.0758413
|
||
|
|
||
|
[sub_resource type="CapsuleShape" id=3]
|
||
|
radius = 0.0827206
|
||
|
height = 0.171555
|
||
|
|
||
|
[sub_resource type="CapsuleShape" id=4]
|
||
|
radius = 0.0827206
|
||
|
height = 0.0776728
|
||
|
|
||
|
[sub_resource type="CapsuleShape" id=5]
|
||
|
radius = 0.0827206
|
||
|
height = 0.132117
|
||
|
|
||
|
[sub_resource type="CapsuleShape" id=6]
|
||
|
radius = 0.037367
|
||
|
height = 0.16166
|
||
|
|
||
|
[node name="mh_human_female" instance=ExtResource( 1 )]
|
||
|
script = SubResource( 1 )
|
||
|
|
||
|
[node name="body" parent="skeleton" index="1"]
|
||
|
material/0 = ExtResource( 7 )
|
||
|
|
||
|
[node name="eyebrow" parent="skeleton" index="2"]
|
||
|
material/0 = ExtResource( 3 )
|
||
|
|
||
|
[node name="eyelashes" parent="skeleton" index="3"]
|
||
|
material/0 = ExtResource( 4 )
|
||
|
|
||
|
[node name="eyes" parent="skeleton" index="4"]
|
||
|
material/0 = ExtResource( 5 )
|
||
|
|
||
|
[node name="teeth" parent="skeleton" index="5"]
|
||
|
material/0 = ExtResource( 6 )
|
||
|
|
||
|
[node name="tongue" parent="skeleton" index="6"]
|
||
|
material/0 = ExtResource( 2 )
|
||
|
|
||
|
[node name="limb_head" type="BoneAttachment" parent="skeleton" index="7"]
|
||
|
transform = Transform( 1, 0, 0, 0, 0.0523112, -0.998451, 0, 0.99863, 0.0523236, 0, 0.631645, 0.0409583 )
|
||
|
bone_name = "head"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_head" index="0"]
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_head/area" index="0"]
|
||
|
transform = Transform( 1, 0, 0, 0, 0.999999, -7.45058e-09, 0, 7.45058e-09, 1, 0, 0.014491, -0.0323213 )
|
||
|
shape = SubResource( 2 )
|
||
|
|
||
|
[node name="limb_torso_1" type="BoneAttachment" parent="skeleton" index="8"]
|
||
|
transform = Transform( 1, 0, 0, 0, 0.0981498, -0.994991, 0, 0.99517, 0.0981703, 0, 0.383938, 0.01275 )
|
||
|
bone_name = "spine01"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_torso_1" index="0"]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 8.9407e-08, 1, 0, 0.00807256, -0.0378842 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_torso_1/area" index="0"]
|
||
|
transform = Transform( -1.62921e-07, 0, 0.999999, 0, 0.999999, 0, -0.999999, 0, -1.62921e-07, 0, 0, 0 )
|
||
|
shape = SubResource( 3 )
|
||
|
|
||
|
[node name="limb_torso_2" type="BoneAttachment" parent="skeleton" index="9"]
|
||
|
transform = Transform( 1, 0, 0, 0, -0.00632599, -0.999801, 0, 0.99998, -0.00632417, 0, 0.231632, 0.0117867 )
|
||
|
bone_name = "spine02"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_torso_2" index="0"]
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_torso_2/area" index="0"]
|
||
|
transform = Transform( -1.62921e-07, 0, 0.999999, 0, 0.999999, 0, -0.999999, 0, -1.62921e-07, 0, 0.0483401, -0.0325351 )
|
||
|
shape = SubResource( 4 )
|
||
|
|
||
|
[node name="limb_torso_3" type="BoneAttachment" parent="skeleton" index="10"]
|
||
|
transform = Transform( 1, 0, 0, 0, -0.13324, -0.990902, 0, 0.991081, -0.133261, 0, 0.141423, -0.000345033 )
|
||
|
bone_name = "spine03"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_torso_3" index="0"]
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_torso_3/area" index="0"]
|
||
|
transform = Transform( -1.62921e-07, 0, 0.999999, 0, 0.999999, 0, -0.999999, 0, -1.62921e-07, 0, 0.0483401, -0.0325351 )
|
||
|
shape = SubResource( 4 )
|
||
|
|
||
|
[node name="limb_torso_4" type="BoneAttachment" parent="skeleton" index="11"]
|
||
|
transform = Transform( 1, 0, 0, 0, -0.32935, -0.944017, 0, 0.944188, -0.329407, 0, 0.0787433, -0.0222167 )
|
||
|
bone_name = "spine04"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_torso_4" index="0"]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, -2.98023e-08, 0, 5.96046e-08, 1, 0, 0.0572913, -0.0199879 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_torso_4/area" index="0"]
|
||
|
transform = Transform( -1.62921e-07, 0, 0.999999, 0, 0.999999, 0, -0.999999, 0, -1.62921e-07, 0, 0, 0 )
|
||
|
shape = SubResource( 5 )
|
||
|
|
||
|
[node name="limb_torso_5" type="BoneAttachment" parent="skeleton" index="12"]
|
||
|
transform = Transform( 1, 0, 0, 0, 0.534014, -0.845263, 0, 0.845413, 0.534112, 0, 0.0066183, 0.0233583 )
|
||
|
bone_name = "spine05"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_torso_5" index="0"]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 8.9407e-08, 1, 0, 0.0328301, -0.0354419 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_torso_5/area" index="0"]
|
||
|
transform = Transform( -1.62921e-07, 0, 0.999999, 0, 0.999999, 0, -0.999999, 0, -1.62921e-07, 0, 0, 0 )
|
||
|
shape = SubResource( 5 )
|
||
|
|
||
|
[node name="limb_upper_arm_left" type="BoneAttachment" parent="skeleton" index="13"]
|
||
|
transform = Transform( -0.745066, -0.0134922, -0.666855, -0.666773, 0.03218, 0.744323, 0.0114208, 0.999391, -0.0329804, 0.208593, 0.385909, 0.019574 )
|
||
|
bone_name = "upperarm02.L"
|
||
|
|
||
|
[node name="area" type="Area" parent="skeleton/limb_upper_arm_left" index="0"]
|
||
|
transform = Transform( -0.0768788, -0.0205894, -0.996821, 0.0451765, 0.998688, -0.0241003, 0.996049, -0.0468703, -0.0754915, 0.0030362, 0.0026363, -0.0291866 )
|
||
|
|
||
|
[node name="collision_shape" type="CollisionShape" parent="skeleton/limb_upper_arm_left/area" index="0"]
|
||
|
transform = Transform( -1.62921e-07, 0, 0.999999, 0, 0.999999, 0, -0.999999, 0, -1.62921e-07, 0, 0, 0 )
|
||
|
shape = SubResource( 6 )
|
||
|
|
||
|
[node name="attachment_hand_R" type="BoneAttachment" parent="skeleton" index="14"]
|
||
|
transform = Transform( 0.587628, 0.647439, 0.485299, 0.412693, -0.755596, 0.508329, 0.695927, -0.0984435, -0.711334, -0.440104, 0.124054, 0.17144 )
|
||
|
bone_name = "metacarpal3.R"
|
||
|
|
||
|
[node name="handle" type="Spatial" parent="skeleton/attachment_hand_R" index="0"]
|
||
|
transform = Transform( -0.0511686, 0.991695, -0.116549, 0.320607, -0.0942135, -0.942455, -0.946104, -0.0855632, -0.313081, 0.0258782, 0.0285175, -0.0395434 )
|
||
|
|
||
|
[node name="attachment_hand_L" type="BoneAttachment" parent="skeleton" index="15"]
|
||
|
transform = Transform( 0.587628, -0.647439, -0.485299, -0.412693, -0.755596, 0.508329, -0.695927, -0.0984435, -0.711334, 0.440104, 0.124054, 0.17144 )
|
||
|
bone_name = "metacarpal3.L"
|
||
|
|
||
|
[node name="handle" type="Spatial" parent="skeleton/attachment_hand_L" index="0"]
|
||
|
transform = Transform( 0.248711, -0.966789, 0.0577959, -0.32067, -0.138623, -0.937039, 0.914105, 0.214413, -0.344196, -0.0963456, 0.0583696, -0.12191 )
|
||
|
|
||
|
[node name="attachment_hips_R" type="BoneAttachment" parent="skeleton" index="16"]
|
||
|
transform = Transform( -0.0959694, 0.091845, 0.991138, 0.312981, -0.942256, 0.11762, 0.944878, 0.321558, 0.0616928, 0, 0.0066183, 0.0233583 )
|
||
|
bone_name = "pelvis.R"
|
||
|
|
||
|
[node name="handle" type="Spatial" parent="skeleton/attachment_hips_R" index="0"]
|
||
|
transform = Transform( -0.142459, -0.381941, -0.913079, -0.617878, -0.686553, 0.383382, -0.773427, 0.618672, -0.138049, 0.0391004, 0.0367368, 0.013404 )
|
||
|
[connection signal="animation_finished" from="skeleton/AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_head/area" to="." method="_on_limb_head_area_body_entered"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_torso_1/area" to="." method="_on_limb_tosro_1_body_entered"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_torso_2/area" to="." method="_on_limb_torso_2_body_entered"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_torso_3/area" to="." method="_on_limb_torso_3_body_entered"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_torso_4/area" to="." method="_on_limb_torso_4_body_entered"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_torso_5/area" to="." method="_on_limb_torso_5_body_entered"]
|
||
|
[connection signal="body_entered" from="skeleton/limb_upper_arm_left/area" to="." method="_on_limb_upper_arm_left_body_entered"]
|