• Head Model Misplaced
    1 replies, posted
First things first, I'm using blender v2.78 in order to edit models for a breach server, I'm trying to swap the head of one of the models to a different female head, I imported the head in a different scene, removed the skeleton, and copy and pasted it in the scene with the rest of the body. I translated the head into place, pressed ctrl+a and applied location. I set parent to armature deform, weight painted it to the new skeleton, and exported it. I tried merging all the meshes (the body, hands, legs+feet, and head were different SMDs) and doing it as 1 model, but it showed the same results, so I'm gonna show the QC and weight paints from when they are separate smds. I think the issue might be that when I export from blender, and reimport, the weight paint is for some reason reset, I'll show this below How it looks in game, the head is misplaced [IMG]https://image.prntscr.com/image/r2x65kQjSpCgizjza6KVTA.png[/IMG] [IMG]https://image.prntscr.com/image/ApHSuE78QIuWGY55RKEP1Q.png[/IMG] [IMG]https://image.prntscr.com/image/HpuJyRTFTvWtSte-HGAM_Q.png[/IMG] How the weight paint is in blender before I export: [IMG]https://image.prntscr.com/image/1jen2QCQRvesWWwMvoZj2g.png[/IMG] How it is after exporting and reimporting back into blender: [IMG]https://image.prntscr.com/image/O2jBY3gBSxqoKvESLrvrBw.png[/IMG] If you have any idea what's causing the head to be like this(if it's not the weight painting) please share, or if you know why blender is exporting and changing the weight paints, and how to fix it, please let me know. My QC looks like this [CODE]// Created by Crowbar 0.42.0.0 $ModelName "player\kerry\class_d_9.mdl" $Model "female_02" "class_d_9_body0_model0.smd" { eyeball "eye_right" "ValveBiped.Bip01_Head1" -1.289000 -3.667003 67.801858 "eyeball_r_black" 1 4 "iris_unused" 0.68 eyeball "eye_left" "ValveBiped.Bip01_Head1" 1.212000 -3.667003 67.869859 "eyeball_l_black" 1 -4 "iris_unused" 0.68 flexcontroller eyelid range 0 1 right_lid_raiser flexcontroller eyelid range 0 1 left_lid_raiser flexcontroller eyelid range 0 1 right_lid_droop flexcontroller eyelid range 0 1 left_lid_droop flexcontroller eyelid range 0 1 right_lid_closer flexcontroller eyelid range 0 1 left_lid_closer flexcontroller eyelid range 0 1 right_lid_tightener flexcontroller eyelid range 0 1 left_lid_tightener flexcontroller eyelid range 0 1 half_closed flexcontroller eyelid range 0 1 blink flexcontroller brow range 0 1 right_inner_raiser flexcontroller brow range 0 1 left_inner_raiser flexcontroller brow range 0 1 right_outer_raiser flexcontroller brow range 0 1 left_outer_raiser flexcontroller brow range 0 1 right_lowerer flexcontroller brow range 0 1 left_lowerer flexcontroller nose range 0 1 right_cheek_raiser flexcontroller nose range 0 1 left_cheek_raiser flexcontroller nose range 0 1 wrinkler flexcontroller nose range 0 1 dilator flexcontroller mouth range 0 1 right_upper_raiser flexcontroller mouth range 0 1 left_upper_raiser flexcontroller mouth range 0 1 right_corner_puller flexcontroller mouth range 0 1 left_corner_puller flexcontroller mouth range 0 1 right_corner_depressor flexcontroller mouth range 0 1 left_corner_depressor flexcontroller mouth range 0 1 chin_raiser flexcontroller phoneme range 0 1 right_part flexcontroller phoneme range 0 1 left_part flexcontroller phoneme range 0 1 right_puckerer flexcontroller phoneme range 0 1 left_puckerer flexcontroller phoneme range 0 1 right_funneler flexcontroller phoneme range 0 1 left_funneler flexcontroller phoneme range 0 1 right_stretcher flexcontroller phoneme range 0 1 left_stretcher flexcontroller phoneme range 0 1 bite flexcontroller phoneme range 0 1 presser flexcontroller phoneme range 0 1 tightener flexcontroller phoneme range 0 1 jaw_clencher flexcontroller phoneme range 0 1 jaw_drop flexcontroller phoneme range 0 1 right_mouth_drop flexcontroller phoneme range 0 1 left_mouth_drop flexcontroller mouth range 0 1 smile flexcontroller mouth range 0 1 lower_lip flexcontroller head range 0 1 head_rightleft flexcontroller head range 0 1 head_updown flexcontroller head range 0 1 head_tilt flexcontroller body range 0 1 body_rightleft flexcontroller chest range 0 1 chest_rightleft flexcontroller head range 0 1 head_forwardback flexcontroller gesture range 0 1 gesture_updown flexcontroller gesture range 0 1 gesture_rightleft flexcontroller phoneme range 0 1 RELAX flexcontroller phoneme range 0 1 blink flexcontroller eyes range -45 45 eyes_updown flexcontroller eyes range -45 45 eyes_rightleft } $BodyGroup "Hair" { studio "class_d_9_body1_model0.smd" } $BodyGroup "Hair" { studio "class_d_9_body2_model0.smd" } $BodyGroup "Hair" { studio "class_d_9_body3_model0.smd" } $SurfaceProp "flesh" $Contents "solid" $EyePosition 0 0 70 $MaxEyeDeflection 90 $MostlyOpaque $CDMaterials "models\scp\" $CDMaterials "models\citizens\class_d_9\" $Attachment "forward" "ValveBiped.forward" 0 0 0 rotate 0 0 0 $Attachment "grenade0" "ValveBiped.Bip01_Pelvis" 7.45 4.24 -3.33 rotate -13.05 173.19 92.4 $Attachment "grenade1" "ValveBiped.Bip01_Pelvis" 2.13 4.48 -6.15 rotate -81.11 178.93 91.12 $Attachment "grenade2" "ValveBiped.Bip01_Pelvis" -7.5 3.33 2.16 rotate 22.39 2.47 -86.84 $Attachment "grenade3" "ValveBiped.Bip01_Pelvis" -7.89 4.44 -4.03 rotate -33.13 -2.7 -87.6 $Attachment "pistol" "ValveBiped.Bip01_R_Thigh" -0.93 3.33 -5.94 rotate 0.94 -1.57 80.1 $Attachment "primary" "ValveBiped.Bip01_Spine2" 13.03 -3.98 -7.48 rotate -17.39 177.19 -4.18 $Attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.15 -0.56 5.2 rotate 3.68 -91.56 99.67 $Attachment "c4" "ValveBiped.Bip01_Spine2" 13.67 -7.55 0.95 rotate -29.12 65.25 22.32 $Attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0 5.2 0 rotate 0 0 0 $Attachment "rfoot" "ValveBiped.Bip01_R_Foot" 0 5.2 0 rotate 0 0 0 $Attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" 0 0 0 rotate 0 0 0 $Attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0 0 0 rotate -90 -90 0 $Attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0 0 0 rotate -90 -90 0 $CBox 0 0 0 0 0 0 $BBox -6.625 -27.199 -3.466 8.98 27.278 74.308 $DefineBone "ValveBiped.Bip01_Pelvis" "" 0 -0.533612 38.566914 0 0 89.999983 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_Spine" "ValveBiped.Bip01_Pelvis" 0 3.345135 -2.981898 4.766493 89.999983 89.999983 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_Spine1" "ValveBiped.Bip01_Spine" 3.995834 -0.000012 -0.000002 0 -1.650635 0 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_Spine2" "ValveBiped.Bip01_Spine1" 3.520287 -0.000038 -0.000001 -0.000057 5.574765 0 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_Spine4" "ValveBiped.Bip01_Spine2" 8.921467 -0.000022 -0.000008 0.000115 10.68108 0 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_Neck1" "ValveBiped.Bip01_Spine4" 3.306358 -0.000027 0.000003 -0.000115 23.267641 -179.999856 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_Head1" "ValveBiped.Bip01_Neck1" 3.602001 -0.000008 0 0.000057 23.205827 0 0 0 0 0 0 0 $DefineBone "ValveBiped.forward" "ValveBiped.Bip01_Head1" 2.000023 -2.999974 0.000005 0 -75.999297 -89.999983 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Clavicle" "ValveBiped.Bip01_Spine4" 2.059532 0.977907 -1.787127 73.711914 169.029985 -95.201384 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_UpperArm" "ValveBiped.Bip01_R_Clavicle" 5.559829 0.000004 0.00001 11.62732 -32.834666 93.681694 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_UpperArm" 10.623957 -0.000036 0.000011 0.000058 -18.597927 0.000172 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Hand" "ValveBiped.Bip01_R_Forearm" 10.432374 0.000016 0.000011 2.218673 2.064479 -75.782616 0 0 0 0 0 0 $DefineBone "ValveBiped.Anim_Attachment_RH" "ValveBiped.Bip01_R_Hand" 2.431478 -1.555996 -0.000031 0.000453 -89.984178 -90.000276 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Clavicle" "ValveBiped.Bip01_Spine4" 2.059528 0.977907 1.787131 -73.71186 169.030149 91.085716 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_UpperArm" "ValveBiped.Bip01_L_Clavicle" 5.559828 -0.000015 -0.000013 -14.4143 -33.457576 -90.18058 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 10.248623 0.00007 0.000011 -0.000061 -11.666914 -0.000575 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Hand" "ValveBiped.Bip01_L_Forearm" 10.06377 0.000084 -0.000023 -2.217809 2.064654 86.340975 0 0 0 0 0 0 $DefineBone "ValveBiped.Anim_Attachment_LH" "ValveBiped.Bip01_L_Hand" 2.345606 -1.500965 0.000008 0.0004 90.038082 89.999757 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Thigh" "ValveBiped.Bip01_Pelvis" -3.890447 0.000004 0 2.967807 -92.72766 -90.125747 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Calf" "ValveBiped.Bip01_R_Thigh" 17.848167 -0.000086 0.000001 0 1.959117 -0.000057 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Foot" "ValveBiped.Bip01_R_Calf" 16.525244 0.000125 0.000003 2.336638 -61.399945 2.212245 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Thigh" "ValveBiped.Bip01_Pelvis" 3.890447 0.000004 0 2.969526 -88.287873 -89.926756 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Calf" "ValveBiped.Bip01_L_Thigh" 17.848179 -0.000086 -0.000001 0 1.960145 -0.000057 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Foot" "ValveBiped.Bip01_L_Calf" 16.525249 -0.000175 -0.000001 -2.336522 -61.400792 -1.599355 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Toe0" "ValveBiped.Bip01_R_Foot" 6.879441 -0.000009 0.000004 -0.16908 -33.482394 -4.660156 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Toe0" "ValveBiped.Bip01_L_Foot" 6.879447 -0.000018 0.000001 -0.169195 -33.482336 -0.418259 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Hand" 3.526615 0.191967 -0.365322 -2.047979 -29.778529 -5.025929 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" 1.562429 0.000015 0.000019 -0.435445 -20.994397 -0.000003 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger22" "ValveBiped.Bip01_R_Finger21" 1.098682 -0.000017 -0.00001 -0.242016 -12.398992 0.000166 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger1" "ValveBiped.Bip01_R_Hand" 3.517446 0.096806 -1.182894 1.677337 -26.590637 -20.196309 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger11" "ValveBiped.Bip01_R_Finger1" 1.562284 -0.000004 0.000004 -0.44329 -20.79552 0.00034 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger12" "ValveBiped.Bip01_R_Finger11" 0.999161 -0.000006 0.000003 -0.282003 -13.998062 -0.000183 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Hand" 0.762123 -0.282757 -1.190506 25.168443 -36.851917 73.982028 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" 1.626213 0.000015 0.000008 0.187801 13.099528 0.000635 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_R_Finger02" "ValveBiped.Bip01_R_Finger01" 1.096691 -0.000008 -0.000004 0.287211 20.797907 -0.000285 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Hand" 3.402051 0.188175 0.350828 1.812954 -29.791342 5.024845 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 1.507225 0 0.000005 0.287282 -20.997706 0.000232 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger22" "ValveBiped.Bip01_L_Finger21" 1.059841 -0.000004 0.000011 0.160144 -12.398356 0.000287 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger1" "ValveBiped.Bip01_L_Hand" 3.393209 0.102917 1.140249 -1.889614 -26.577164 20.194698 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger11" "ValveBiped.Bip01_L_Finger1" 1.507093 0.000008 -0.000013 0.293067 -20.79809 -0.000519 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger12" "ValveBiped.Bip01_L_Finger11" 0.963871 0.00001 -0.000003 0.186949 -13.997656 0.000628 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Hand" 0.73524 -0.263195 1.150656 -25.417444 -36.583416 -74.165596 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.568756 -0.000021 0.000004 -0.123699 13.098552 0.000114 0 0 0 0 0 0 $DefineBone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 1.057945 0.00001 -0.000004 -0.189021 20.799629 -0.000512 0 0 0 0 0 0 $Sequence "ragdoll" { "class_d_9_anims\ragdoll.smd" activity "ACT_DIERAGDOLL" 1 fadein 0.2 fadeout 0.2 fps 30 } $IncludeModel "m_anm.mdl" $IncludeModel "m_gst.mdl" $IncludeModel "m_pst.mdl" $IncludeModel "m_shd.mdl" $IncludeModel "m_ss.mdl" $IKChain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0 $IKChain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0 $IKChain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0 $IKChain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0 $CollisionJoints "class_d_9_physics.smd" { $mass 100 $inertia 10 $damping 0.05 $rotdamping 5 $rootbone "valvebiped.bip01_pelvis" $jointrotdamping "ValveBiped.Bip01_Pelvis" 3 $jointmassbias "ValveBiped.Bip01_R_Thigh" 7 $jointrotdamping "ValveBiped.Bip01_R_Thigh" 7 $jointconstrain "ValveBiped.Bip01_R_Thigh" x limit -25 25 0 $jointconstrain "ValveBiped.Bip01_R_Thigh" y limit -10 15 0 $jointconstrain "ValveBiped.Bip01_R_Thigh" z limit -55 25 0 $jointmassbias "ValveBiped.Bip01_L_Thigh" 7 $jointrotdamping "ValveBiped.Bip01_L_Thigh" 7 $jointconstrain "ValveBiped.Bip01_L_Thigh" x limit -25 25 0 $jointconstrain "ValveBiped.Bip01_L_Thigh" y limit -10 15 0 $jointconstrain "ValveBiped.Bip01_L_Thigh" z limit -55 25 0 $jointmassbias "ValveBiped.Bip01_L_Calf" 4 $jointconstrain "ValveBiped.Bip01_L_Calf" x limit -10 25 0 $jointconstrain "ValveBiped.Bip01_L_Calf" y limit -5 5 0 $jointconstrain "ValveBiped.Bip01_L_Calf" z limit -10 115 0 $jointmassbias "ValveBiped.Bip01_L_Foot" 2 $jointconstrain "ValveBiped.Bip01_L_Foot" x limit -1 -1 0 $jointconstrain "ValveBiped.Bip01_L_Foot" y limit -19 19 0 $jointconstrain "ValveBiped.Bip01_L_Foot" z limit -15 35 0 $jointmassbias "ValveBiped.Bip01_R_Calf" 4 $jointconstrain "ValveBiped.Bip01_R_Calf" x limit -10 25 0 $jointconstrain "ValveBiped.Bip01_R_Calf" y limit -5 5 0 $jointconstrain "ValveBiped.Bip01_R_Calf" z limit -10 115 0 $jointmassbias "ValveBiped.Bip01_R_Foot" 2 $jointconstrain "ValveBiped.Bip01_R_Foot" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Foot" y limit -21 6 0 $jointconstrain "ValveBiped.Bip01_R_Foot" z limit -15 35 0 $jointmassbias "ValveBiped.Bip01_R_Toe0" 2 $jointconstrain "ValveBiped.Bip01_R_Toe0" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Toe0" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Toe0" z limit -40 0 0 $jointmassbias "ValveBiped.Bip01_Spine1" 8 $jointconstrain "ValveBiped.Bip01_Spine1" x limit -10 10 0 $jointconstrain "ValveBiped.Bip01_Spine1" y limit -16 16 0 $jointconstrain "ValveBiped.Bip01_Spine1" z limit -20 30 0 $jointmassbias "ValveBiped.Bip01_Spine2" 9 $jointconstrain "ValveBiped.Bip01_Spine2" x limit -10 10 0 $jointconstrain "ValveBiped.Bip01_Spine2" y limit -10 10 0 $jointconstrain "ValveBiped.Bip01_Spine2" z limit -20 20 0 $jointconstrain "ValveBiped.Bip01_L_Clavicle" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Clavicle" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Clavicle" z limit 0 0 0 $jointmassbias "ValveBiped.Bip01_L_UpperArm" 5 $jointrotdamping "ValveBiped.Bip01_L_UpperArm" 2 $jointconstrain "ValveBiped.Bip01_L_UpperArm" x limit -15 20 0 $jointconstrain "ValveBiped.Bip01_L_UpperArm" y limit -40 32 0 $jointconstrain "ValveBiped.Bip01_L_UpperArm" z limit -80 25 0 $jointconstrain "ValveBiped.Bip01_R_Clavicle" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Clavicle" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Clavicle" z limit 0 0 0 $jointmassbias "ValveBiped.Bip01_R_UpperArm" 5 $jointrotdamping "ValveBiped.Bip01_R_UpperArm" 2 $jointconstrain "ValveBiped.Bip01_R_UpperArm" x limit -15 20 0 $jointconstrain "ValveBiped.Bip01_R_UpperArm" y limit -40 32 0 $jointconstrain "ValveBiped.Bip01_R_UpperArm" z limit -80 25 0 $jointmassbias "ValveBiped.Bip01_R_Forearm" 4 $jointrotdamping "ValveBiped.Bip01_R_Forearm" 4 $jointconstrain "ValveBiped.Bip01_R_Forearm" x limit -40 15 0 $jointconstrain "ValveBiped.Bip01_R_Forearm" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Forearm" z limit -120 10 0 $jointrotdamping "ValveBiped.Bip01_R_Hand" 1 $jointconstrain "ValveBiped.Bip01_R_Hand" x limit -25 25 0 $jointconstrain "ValveBiped.Bip01_R_Hand" y limit -35 35 0 $jointconstrain "ValveBiped.Bip01_R_Hand" z limit -50 50 0 $jointmassbias "ValveBiped.Bip01_L_Forearm" 4 $jointrotdamping "ValveBiped.Bip01_L_Forearm" 4 $jointconstrain "ValveBiped.Bip01_L_Forearm" x limit -40 15 0 $jointconstrain "ValveBiped.Bip01_L_Forearm" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Forearm" z limit -120 10 0 $jointrotdamping "ValveBiped.Bip01_L_Hand" 1 $jointconstrain "ValveBiped.Bip01_L_Hand" x limit -25 25 0 $jointconstrain "ValveBiped.Bip01_L_Hand" y limit -35 35 0 $jointconstrain "ValveBiped.Bip01_L_Hand" z limit -50 50 0 $jointmassbias "ValveBiped.Bip01_L_Toe0" 2 $jointconstrain "ValveBiped.Bip01_L_Toe0" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Toe0" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Toe0" z limit -40 0 0 $jointconstrain "ValveBiped.Bip01_Head1" x limit -30 30 0 $jointconstrain "ValveBiped.Bip01_Head1" y limit -30 30 0 $jointconstrain "ValveBiped.Bip01_Head1" z limit -30 30 0 } [/CODE]
Reweight it with the Auto Normalize enabled
Sorry, you need to Log In to post a reply to this thread.