mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-10 01:10:05 +00:00
192 lines
9.2 KiB
Text
192 lines
9.2 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="AnimationPlayer" parent="skeleton" index="0"]
|
|
playback_speed = 10.0
|
|
|
|
[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.0523111, -0.998451, 0, 0.99863, 0.0523234, 0, 0.631645, 0.0409584 )
|
|
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.0981497, -0.994991, 0, 0.99517, 0.0981702, 0, 0.383938, 0.0127501 )
|
|
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.00632605, -0.999801, 0, 0.99998, -0.00632426, 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.990903, 0, 0.991081, -0.133261, 0, 0.141423, -0.000345025 )
|
|
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.329351, -0.944018, 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.00661829, 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.916258, -0.0495514, 0.39748, -0.146441, 0.964933, -0.217242, -0.372833, -0.257312, -0.891465, 0.124098, 0.457149, 0.0935225 )
|
|
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.139119, 0.942787, 0.301158, 0.989192, -0.11686, -0.0900727, -0.0499327, 0.310136, -0.949558, -0.0396669, 0.548563, 0.446445 )
|
|
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.850823, -0.524239, -0.0322684, -0.515658, 0.822074, 0.240839, -0.0998667, 0.221566, -0.970097, -0.0341468, 0.523948, 0.450898 )
|
|
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, -1.00505e-09, 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"]
|