• QC editing for a model
    1 replies, posted
Hello, I am trying to get a ragdoll as a playermodel, the model has it's bones and weighted already and I tried to port it into Gmod as a playermodel, It all went through but the model was T-Posed, this is I believe cause the .qc file is wrong. The hands have some weird movement as they are valve.biped but it's not normal movement as a human, I added a line to add animations to it but since it has custom bone names, I can't get it to have normal animations. I never have had problems with models that I have rigged with a valvebiped skeleton but this model does not match the valve biped. I don't know what to edit, and what to add. Can someone please help me with this. The QC it uses currently : [CODE]// Created by Crowbar 0.24.0.0 $modelname "Asriel.mdl" $model "model" "fn_asriel_dm_reference.smd" { eyeball "eye_right" "Head" -1.830000 -2.709999 69.999987 "eyeball_r" 20 18.999999 "iris_unused" 14.999999 eyeball "eye_left" "Head" 1.830000 -2.709999 69.999988 "eyeball_l" 20 -19.999999 "iris_unused" 14.999999 mouth 0 "mouth" "Head" 0 1 0 flexfile "fn_asriel_dm.vta" { defaultflex frame 0 flex "l_angry" frame 1 flex "r_angry" frame 2 flex "l_sad" frame 3 flex "r_sad" frame 4 flex "l_relaxed" frame 5 flex "r_relaxed" frame 6 flex "l_lid_raise" frame 7 flex "r_lid_raise" frame 8 flex "l_lid_lowerer" frame 9 flex "r_lid_lowerer" frame 10 flex "l_happy" frame 11 flex "r_happy" frame 12 flex "eye_closer_left" frame 13 flex "eye_closer_right" frame 14 flex "l_lided_lowerer" frame 15 flex "r_lided_lowerer" frame 16 flex "l_frown" frame 17 flex "r_frown" frame 18 flex "l_smirk" frame 19 flex "r_smirk" frame 20 flex "l_puckerer" frame 21 flex "r_puckerer" frame 22 flex "l_stretch" frame 23 flex "r_stretch" frame 24 flex "mouth_full" frame 25 } flexcontroller phoneme range 0 1 l_angry flexcontroller phoneme range 0 1 r_angry flexcontroller phoneme range 0 1 l_sad flexcontroller phoneme range 0 1 r_sad flexcontroller phoneme range 0 1 l_relaxed flexcontroller phoneme range 0 1 r_relaxed flexcontroller phoneme range 0 1 l_lid_raise flexcontroller phoneme range 0 1 r_lid_raise flexcontroller phoneme range 0 1 l_lid_lowerer flexcontroller phoneme range 0 1 r_lid_lowerer flexcontroller phoneme range 0 1 l_happy flexcontroller phoneme range 0 1 r_happy flexcontroller phoneme range 0 1 eye_closer_left flexcontroller phoneme range 0 1 eye_closer_right flexcontroller phoneme range 0 1 l_lided_lowerer flexcontroller phoneme range 0 1 r_lided_lowerer flexcontroller phoneme range 0 1 l_frown flexcontroller phoneme range 0 1 r_frown flexcontroller phoneme range 0 1 l_smirk flexcontroller phoneme range 0 1 r_smirk flexcontroller phoneme range 0 1 l_puckerer flexcontroller phoneme range 0 1 r_puckerer flexcontroller phoneme range 0 1 l_stretch flexcontroller phoneme range 0 1 r_stretch flexcontroller phoneme range 0 1 mouth_full flexcontroller eyes range -90 90 eyes_updown flexcontroller eyes range -90 90 eyes_rightleft %l_angry = l_angry %r_angry = r_angry %l_sad = l_sad %r_sad = r_sad %l_relaxed = l_relaxed %r_relaxed = r_relaxed %l_lid_raise = l_lid_raise %r_lid_raise = r_lid_raise %l_lid_lowerer = l_lid_lowerer %r_lid_lowerer = r_lid_lowerer %l_happy = l_happy %r_happy = r_happy %eye_closer_left = eye_closer_left %eye_closer_right = eye_closer_right %l_lided_lowerer = l_lided_lowerer %r_lided_lowerer = r_lided_lowerer %l_frown = l_frown %r_frown = r_frown %l_smirk = l_smirk %r_smirk = r_smirk %l_puckerer = l_puckerer %r_puckerer = r_puckerer %l_stretch = l_stretch %r_stretch = r_stretch %mouth_full = mouth_full } $bodygroup "Cloth" { studio "fn_asriel_dm_cloth_dm.smd" } $mostlyopaque $cdmaterials "models\VN_mlp\Asriel_DM\" $cdmaterials "models\VN_mlp\common\" $texturegroup "skinfamilies" { { "eyeball_l.vmt" "eyeball_r.vmt" } { "eyeball_l_medium.vmt" "eyeball_r_medium.vmt" } { "eyeball_l_small.vmt" "eyeball_r_small.vmt" } } $attachment "eyes" "Head" 8.47 -6.75 -0.02 rotate 0 -90.29 -90 $attachment "mouth" "Head" 0.8 -5.8 -0.15 rotate 0 -80 -90 $surfaceprop "flesh" $contents "solid" $eyeposition 0 0 70 // NOTE: The following commented-out $definebone lines might be needed, as is often the case for view models. When needed, simply remove the two slashes '//' from the start of each line. // $definebone "Pelvis" "" -0.017395 -0.509539 29.872448 1.570795 -0.808048 -1.570794 0 0 0 0 0 0 // $definebone "Chest1" "Pelvis" 1.820711 2.58165 0.000003 -0.000001 -0.000001 0.859206 0 0 0 0 0 0 // $definebone "Chest2" "Chest1" 4.950851 -0.553843 0.000002 0 0.000003 -0.096559 0 0 0 0 0 0 // $definebone "Chest3" "Chest2" 6.609131 0.000671 0.00002 0 0 0 0 0 0 0 0 0 // $definebone "Neck" "Chest3" 13.453407 2.026859 0.000042 0 0 0.012999 0 0 0 0 0 0 // $definebone "Head" "Neck" 2.936066 -0.08741 0.00001 0 0.000001 -0.007821 0 0 0 0 0 0 // $definebone "RightEar" "Head" 10.487652 0.518941 7.624453 2.859125 -0.023611 -2.996715 0 0 0 0 0 0 // $definebone "RightEar1" "RightEar" 0.675194 2.198118 -7.484121 -0.024228 -0.003308 0.056106 0 0 0 0 0 0 // $definebone "LeftEar" "Head" 10.487728 0.518941 -7.659153 -0.282468 -0.02362 0.144877 0 0 0 0 0 0 // $definebone "LeftEar1" "LeftEar" -0.675194 2.198117 -7.48412 -0.024228 0.003308 -0.056106 0 0 0 0 0 0 // $definebone "Jaw" "Head" 1.335224 -8.079802 0.000006 0 0 0 0 0 0 0 0 0 // $definebone "tongue01" "Jaw" 0.493641 -2.284252 0.000002 0 0 -0.00423 0 0 0 0 0 0 // $definebone "tongue02" "tongue01" -0.001343 -1.582901 0 0 0 0 0 0 0 0 0 0 // $definebone "RightClavicle" "Chest3" 9.713364 0.895526 6.777454 -1.610681 0.004768 3.077913 0 0 0 0 0 0 // $definebone "RightForearm" "RightClavicle" 0.030689 -8.70232 -0.307204 0.054983 0.028268 3.131367 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Hand" "RightForearm" -0.862488 10.805933 0.163953 0.013179 0.127123 0.150172 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Hand" -0.696018 5.986126 4.133173 -2.487997 0.608093 -0.181684 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" -1.643745 -1.015617 -0.279085 0.017188 0.126977 0.001113 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger1" "ValveBiped.Bip01_R_Hand" -0.302509 7.414667 1.804299 0.421351 0.059489 -0.571719 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger11" "ValveBiped.Bip01_R_Finger1" -1.611713 1.436047 0.024262 0.000531 -0.089037 0.007763 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Hand" 0.056145 7.665197 -0.826883 0.227788 -0.06257 -0.581304 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" -1.164017 1.500118 0.190486 -0.000905 -0.037917 -0.012041 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger3" "ValveBiped.Bip01_R_Hand" 0.144016 7.374346 -3.511089 -0.121606 -0.050447 -0.590194 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_R_Finger31" "ValveBiped.Bip01_R_Finger3" -1.312462 1.254982 -0.112578 0.001191 0.157103 -0.00955 0 0 0 0 0 0 // $definebone "LeftClavicle" "Chest3" 9.713406 0.895526 -6.812185 1.530912 0.004761 -0.06368 0 0 0 0 0 0 // $definebone "LeftForearm" "LeftClavicle" -0.030693 -8.70232 -0.307204 0.054983 -0.028268 -3.131367 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Hand" "LeftForearm" 0.862488 10.805934 0.163951 0.013179 -0.127123 -0.150172 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Hand" 0.696018 5.986124 4.133173 -2.487996 -0.608093 0.181684 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.643745 -1.015617 -0.279085 0.017188 -0.126977 -0.001113 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger1" "ValveBiped.Bip01_L_Hand" 0.302517 7.414661 1.804298 0.421351 -0.059489 0.571718 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger11" "ValveBiped.Bip01_L_Finger1" 1.611717 1.436043 0.024265 0.000531 0.089037 -0.007763 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Hand" -0.056141 7.665205 -0.826884 0.227788 0.06257 0.581304 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 1.164021 1.500122 0.190483 -0.000905 0.037917 0.012041 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger3" "ValveBiped.Bip01_L_Hand" -0.144012 7.374342 -3.511088 -0.121606 0.050448 0.590194 0 0 0 0 0 0 // $definebone "ValveBiped.Bip01_L_Finger31" "ValveBiped.Bip01_L_Finger3" 1.312469 1.254982 -0.112578 0.001191 -0.157103 0.00955 0 0 0 0 0 0 // $definebone "RightThigh" "Pelvis" -1.208481 -1.170385 4.775601 2.087718 -0.042732 -2.322317 0 0 0 0 0 0 // $definebone "RightCalf00" "RightThigh" 8.31148 0.802858 -0.869828 -0.138454 -0.0352 0.017465 0 0 0 0 0 0 // $definebone "RightCalf01" "RightCalf00" 4.416542 0.131942 4.626305 -0.054126 -0.002341 -0.023074 0 0 0 0 0 0 // $definebone "RightFoot" "RightCalf01" 10.191448 0.367088 -0.643178 0.008387 -0.000393 -0.000479 0 0 0 0 0 0 // $definebone "RightFinger4" "RightFoot" 3.927863 -3.112331 -5.757979 0.028598 -0.003583 0.089054 0 0 0 0 0 0 // $definebone "RightFinger5" "RightFoot" 3.959769 -0.293525 -5.997841 0.028598 -0.003584 0.089053 0 0 0 0 0 0 // $definebone "RightFinger6" "RightFoot" 3.981261 2.096349 -6.002147 0.028598 -0.003584 0.089054 0 0 0 0 0 0 // $definebone "LeftThigh" "Pelvis" -1.208469 -1.170383 -4.810394 -1.053875 -0.042734 0.819275 0 0 0 0 0 0 // $definebone "LeftCalf00" "LeftThigh" -8.311481 0.802858 -0.869828 -0.138454 0.0352 -0.017465 0 0 0 0 0 0 // $definebone "LeftCalf01" "LeftCalf00" -4.41654 0.131944 4.626305 -0.054126 0.002341 0.023074 0 0 0 0 0 0 // $definebone "LeftFoot" "LeftCalf01" -10.191449 0.367086 -0.643178 0.008387 0.000393 0.000479 0 0 0 0 0 0 // $definebone "LeftFinger4" "LeftFoot" -3.927864 -3.11233 -5.757978 0.028598 0.003583 -0.089054 0 0 0 0 0 0 // $definebone "LeftFinger5" "LeftFoot" -3.959771 -0.293525 -5.997842 0.028598 0.003584 -0.089053 0 0 0 0 0 0 // $definebone "LeftFinger6" "LeftFoot" -3.981263 2.096348 -6.002147 0.028598 0.003583 -0.089054 0 0 0 0 0 0 $sequence "ragdoll" "fn_asriel_dm_anims\ragdoll.smd" { fps 30 activity "ACT_DIERAGDOLL" 1 } $collisionjoints "fn_asriel_dm_physics.smd" { $mass 50 $inertia 10 $damping 0.2 $rotdamping 4.5 $rootbone "Pelvis" $jointconstrain "LeftThigh" x limit -80 80 0 $jointconstrain "LeftThigh" y limit -60 60 0 $jointconstrain "LeftThigh" z limit -40 40 0 $jointconstrain "LeftCalf00" x limit -5 126 0 $jointconstrain "LeftCalf00" y limit -10 10 0 $jointconstrain "LeftCalf00" z limit -10 10 0 $jointconstrain "LeftCalf01" x limit -5 126 0 $jointconstrain "LeftCalf01" y limit -10 10 0 $jointconstrain "LeftCalf01" z limit -10 10 0 $jointconstrain "RightThigh" x limit -80 80 0 $jointconstrain "RightThigh" y limit -60 60 0 $jointconstrain "RightThigh" z limit -40 40 0 $jointconstrain "RightCalf00" x limit -5 126 0 $jointconstrain "RightCalf00" y limit -10 10 0 $jointconstrain "RightCalf00" z limit -10 10 0 $jointconstrain "RightCalf01" x limit -5 126 0 $jointconstrain "RightCalf01" y limit -10 10 0 $jointconstrain "RightCalf01" z limit -10 10 0 $jointconstrain "RightFoot" x limit -12 12 0 $jointconstrain "RightFoot" y limit -5 5 0 $jointconstrain "RightFoot" z limit -10 10 0 $jointconstrain "Chest1" x limit -15 15 0 $jointconstrain "Chest1" y limit -15 15 0 $jointconstrain "Chest1" z limit -15 15 0 $jointconstrain "Chest2" x limit -15 15 0 $jointconstrain "Chest2" y limit -15 15 0 $jointconstrain "Chest2" z limit -15 15 0 $jointconstrain "Chest3" x limit 0 0 0 $jointconstrain "Chest3" y limit 0 0 0 $jointconstrain "Chest3" z limit 0 0 0 $jointconstrain "RightClavicle" x limit -55 55 0 $jointconstrain "RightClavicle" y limit -55 55 0 $jointconstrain "RightClavicle" z limit -55 55 0 $jointconstrain "RightForearm" x limit -10 130 0 $jointconstrain "RightForearm" y limit -10 10 0 $jointconstrain "RightForearm" z limit -60 60 0 $jointconstrain "ValveBiped.Bip01_R_Hand" x limit -50 50 0 $jointconstrain "ValveBiped.Bip01_R_Hand" y limit -50 50 0 $jointconstrain "ValveBiped.Bip01_R_Hand" z limit -50 50 0 $jointconstrain "Neck" x limit -15 15 0 $jointconstrain "Neck" y limit -15 15 0 $jointconstrain "Neck" z limit -15 15 0 $jointconstrain "Head" x limit -30 30 0 $jointconstrain "Head" y limit -30 30 0 $jointconstrain "Head" z limit -30 30 0 $jointconstrain "LeftEar" x limit -60 60 0 $jointconstrain "LeftEar" y limit -60 60 0 $jointconstrain "LeftEar" z limit -90 50 0 $jointconstrain "RightEar" x limit -60 60 0 $jointconstrain "RightEar" y limit -60 60 0 $jointconstrain "RightEar" z limit -90 90 0 $jointconstrain "LeftClavicle" x limit -55 55 0 $jointconstrain "LeftClavicle" y limit -55 55 0 $jointconstrain "LeftClavicle" z limit -55 55 0 $jointconstrain "LeftForearm" x limit -10 130 0 $jointconstrain "LeftForearm" y limit -10 10 0 $jointconstrain "LeftForearm" z limit -60 60 0 $jointconstrain "ValveBiped.Bip01_L_Hand" x limit -50 50 0 $jointconstrain "ValveBiped.Bip01_L_Hand" y limit -50 50 0 $jointconstrain "ValveBiped.Bip01_L_Hand" z limit -50 50 0 $jointconstrain "LeftFoot" x limit -12 12 0 $jointconstrain "LeftFoot" y limit -5 5 0 $jointconstrain "LeftFoot" z limit -10 10 0 $noselfcollisions } $includemodel "m_anm.mdl" $includemodel "m_pst.mdl" $includemodel "m_shd.mdl" $includemodel "m_gst.mdl" $includemodel "m_ss.mdl" $includemodel "combine_soldier_anims.mdl"[/CODE] Can you guys help me on what to add/edit/remove. Thanks!
Remove all the $includemodels except for m_anm. That's the only one needed for Gmod.
Sorry, you need to Log In to post a reply to this thread.