khanat-client/scenes/creatures/human/mh_human_female.tscn

193 lines
9.1 KiB
Text
Raw Normal View History

[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 )
var Cloth = load(\"res://ressources/scripts/datas/cloth.gd\")
func _on_AnimationPlayer_animation_finished(anim_name):
2021-06-22 16:22:58 +00:00
emit_signal( \"animation_finished\", anim_name )
func _on_limb_head_area_body_entered(body):
emit_signal( \"limb_body_entered\", Cloth.LIMB.head, body )
func _on_limb_tosro_1_body_entered(body):
emit_signal( \"limb_body_entered\", Cloth.LIMB.torso, body )
2021-06-22 16:22:58 +00:00
func _on_limb_torso_2_body_entered(body):
emit_signal( \"limb_body_entered\", Cloth.LIMB.torso, body )
func _on_limb_torso_3_body_entered(body):
emit_signal( \"limb_body_entered\", Cloth.LIMB.torso, body )
func _on_limb_torso_4_body_entered(body):
emit_signal( \"limb_body_entered\", Cloth.LIMB.torso, body )
func _on_limb_torso_5_body_entered(body):
emit_signal( \"limb_body_entered\", Cloth.LIMB.torso, body )
func _on_limb_upper_arm_left_body_entered(body):
emit_signal( \"limb_body_entered\", 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.0523111, -0.998451, 0, 0.99863, 0.0523234, 0, 0.629455, 0.0158642 )
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.182603, -0.983004, 0, 0.98318, 0.182639, 0, 0.383466, -0.000238065 )
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.0789178, -0.996701, 0, 0.99688, 0.0789349, 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.970824, 0.133984, -0.198431, -0.20868, -0.0676765, 0.975425, 0.117262, 0.988696, 0.0936781, 0.170717, 0.366623, -0.00909948 )
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.439623, 0.845161, 0.303632, 0.0253603, -0.349546, 0.936193, 0.897875, -0.404187, -0.175111, -0.243995, -0.0185078, 0.0149495 )
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.439623, -0.845161, -0.303633, -0.0253602, -0.349546, 0.936193, -0.897875, -0.404187, -0.175111, 0.243995, -0.0185078, 0.0149495 )
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 )
2021-06-22 16:22:58 +00:00
[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"]