• Weird Issue With Garry's Mod Playermodel (Please Help)
    5 replies, posted
Recently I've been working on porting a L4D2 playermodel into Garry's Mod, however recently I've encountered a strange issue. I've gotten everything to work so far pretty well, however I ran into an issue where my model would become stretched out and distorted. I looked into this issue and figured out how to fix it, which I thought I did. However, now my model is only distorted when being used as a playermodel, not when spawned in as a ragdoll or in HLMV. I think that this may be an issue with my QC file or the model Garry's Mod is using for the playermodel, but I'm not sure and I have no idea how to fix it. Here is my QC file if anyone wants to look at it: // Created by Crowbar 0.19.0.0 $modelname "player/Nozomi/Nozomi.mdl" $model "Nozomi" "Nozomi.smd" $cdmaterials "models\player\Nozomi\" // $attachment "eyes" "ValveBiped.Bip01_Head1" 3.2 -3.5 0.12 rotate 0 -80.1 -90 $attachment "mouth" "ValveBiped.Bip01_Head1" 0.6 -5.5 0 rotate 0 -80 -90 $attachment "chest" "ValveBiped.Bip01_Spine2" 5 4 0 rotate 0 90 90 $attachment "forward" "ValveBiped.forward" 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 $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0 0 0 rotate -90 -90 0 $surfaceprop "flesh" $contents "solid" $hboxset "default" $hbox 1 "ValveBiped.Bip01_Head1" -1.25 -6.5 -3.19 8.25 3.5 3.31 $hbox 4 "ValveBiped.Bip01_L_UpperArm" 0 -2.75 -2.75 12.51 1.75 2.25 $hbox 4 "ValveBiped.Bip01_L_Forearm" 0 -2.19 -2.38 13 1.81 1.62 $hbox 4 "ValveBiped.Bip01_L_Hand" 0.06 -2 -1.5 4.06 1 2.5 $hbox 5 "ValveBiped.Bip01_R_UpperArm" 0 -3 -2.25 12.39 2 2.75 $hbox 5 "ValveBiped.Bip01_R_Forearm" -0.5 -2.2 -1.55 12.5 1.8 2.45 $hbox 5 "ValveBiped.Bip01_R_Hand" 0.06 -2 -2.5 4.06 1 1.5 $hbox 6 "ValveBiped.Bip01_L_Thigh" 0 -3.75 -3.25 17.85 3.75 3.25 $hbox 6 "ValveBiped.Bip01_L_Calf" 0 -3.51 -3.28 15.64 3.49 2.72 $hbox 6 "ValveBiped.Bip01_L_Foot" -1.07 -2 -2.84 5.04 5 2.16 $hbox 6 "ValveBiped.Bip01_L_Toe0" -0.5 -3 -2.19 2.5 0 2.46 $hbox 7 "ValveBiped.Bip01_R_Thigh" 0 -3.75 -3.25 17.85 3.75 3.25 $hbox 7 "ValveBiped.Bip01_R_Calf" 0 -3.51 -2.82 15.64 3.49 3.18 $hbox 7 "ValveBiped.Bip01_R_Foot" -1.06 -2.01 -2.28 5.05 4.99 2.72 $hbox 7 "ValveBiped.Bip01_R_Toe0" -0.5 -3 -2.6 2.5 0 2.1 $hbox 3 "ValveBiped.Bip01_Pelvis" -7.5 -5.5 -6 7.5 8.5 5 $hbox 2 "ValveBiped.Bip01_Spine2" -2.5 -2.5 -7 14.5 7.5 7 $skipboneinbbox $sequence reference "anims/reference.smd" fps 1 $animation a_proportions "anims/a_proportions.smd" subtract reference 0 $sequence proportions a_proportions predelta autoplay $sequence "ragdoll" "anims\ragdoll.smd" {     fps 30     "ACT_DIERAGDOLL" 1 } $includemodel "f_anm.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 $ikautoplaylock "rfoot" 1 0.1 $ikautoplaylock "lfoot" 1 0.1 $collisionjoints "male_07_physics.smd" {     $mass 0     $inertia 10     $damping 0.01     $rotdamping 1.5     $rootbone "valvebiped.bip01_pelvis"     $jointconstrain "ValveBiped.Bip01_Spine2" x limit -48 48 0     $jointconstrain "ValveBiped.Bip01_Spine2" y limit -25 25 0     $jointconstrain "ValveBiped.Bip01_Spine2" z limit -25 50 0     $jointconstrain "ValveBiped.Bip01_R_UpperArm" x limit -39 39 0     $jointconstrain "ValveBiped.Bip01_R_UpperArm" y limit -79 95 0     $jointconstrain "ValveBiped.Bip01_R_UpperArm" z limit -93 23 0     $jointconstrain "ValveBiped.Bip01_L_UpperArm" x limit -30 30 0     $jointconstrain "ValveBiped.Bip01_L_UpperArm" y limit -95 84 0     $jointconstrain "ValveBiped.Bip01_L_UpperArm" z limit -86 26 0     $jointconstrain "ValveBiped.Bip01_L_Forearm" x limit 0 0 0     $jointconstrain "ValveBiped.Bip01_L_Forearm" y limit 0 0 0     $jointconstrain "ValveBiped.Bip01_L_Forearm" z limit -149 4 0     $jointconstrain "ValveBiped.Bip01_L_Hand" x limit -37 37 0     $jointconstrain "ValveBiped.Bip01_L_Hand" y limit 0 0 0     $jointconstrain "ValveBiped.Bip01_L_Hand" z limit -57 59 0     $jointconstrain "ValveBiped.Bip01_R_Forearm" x limit 0 0 0     $jointconstrain "ValveBiped.Bip01_R_Forearm" y limit 0 0 0     $jointconstrain "ValveBiped.Bip01_R_Forearm" z limit -149 4 0     $jointconstrain "ValveBiped.Bip01_R_Hand" x limit -60 60 0     $jointconstrain "ValveBiped.Bip01_R_Hand" y limit 0 0 0     $jointconstrain "ValveBiped.Bip01_R_Hand" z limit -57 70 0     $jointconstrain "ValveBiped.Bip01_R_Thigh" x limit -12 12 0     $jointconstrain "ValveBiped.Bip01_R_Thigh" y limit -8 75 0     $jointconstrain "ValveBiped.Bip01_R_Thigh" z limit -97 32 0     $jointconstrain "ValveBiped.Bip01_R_Calf" x limit 0 0 0     $jointconstrain "ValveBiped.Bip01_R_Calf" y limit 0 0 0     $jointconstrain "ValveBiped.Bip01_R_Calf" z limit -12 126 0     $jointconstrain "ValveBiped.Bip01_Head1" x limit -20 20 0     $jointconstrain "ValveBiped.Bip01_Head1" y limit -25 25 0     $jointconstrain "ValveBiped.Bip01_Head1" z limit -13 30 0     $jointconstrain "ValveBiped.Bip01_L_Thigh" x limit -12 12 0     $jointconstrain "ValveBiped.Bip01_L_Thigh" y limit -73 6 0     $jointconstrain "ValveBiped.Bip01_L_Thigh" z limit -93 30 0     $jointconstrain "ValveBiped.Bip01_L_Calf" x limit 0 0 0     $jointconstrain "ValveBiped.Bip01_L_Calf" y limit 0 0 0     $jointconstrain "ValveBiped.Bip01_L_Calf" z limit -8 126 0     $jointconstrain "ValveBiped.Bip01_L_Foot" x limit 0 0 0     $jointconstrain "ValveBiped.Bip01_L_Foot" y limit -19 19 0     $jointconstrain "ValveBiped.Bip01_L_Foot" z limit -15 35 0     $jointconstrain "ValveBiped.Bip01_R_Foot" x limit 0 0 0     $jointconstrain "ValveBiped.Bip01_R_Foot" y limit -25 6 0     $jointconstrain "ValveBiped.Bip01_R_Foot" z limit -15 35 0 } $collisiontext {     animatedfriction     {         "animfrictionmin" "1.000000"         "animfrictionmax" "400.000000"         "animfrictiontimein" "0.500000"         "animfrictiontimeout" "0.300000"         "animfrictiontimehold" "0.000000"     }     editparams     {         "rootname" "valvebiped.bip01_pelvis"         "totalmass" "90.000000"         "jointmerge" "valvebiped.bip01_pelvis,valvebiped.bip01"         "jointmerge" "valvebiped.bip01_pelvis,valvebiped.bip01_spine1"     } } $proceduralbones "male_07.vrd" $bonemerge "ValveBiped.Bip01_Pelvis" $bonemerge "ValveBiped.Bip01_Spine" $bonemerge "ValveBiped.Bip01_Spine1" $bonemerge "ValveBiped.Bip01_Spine2" $bonemerge "ValveBiped.Bip01_Spine4" $bonemerge "ValveBiped.Bip01_R_Clavicle" $bonemerge "ValveBiped.Bip01_R_UpperArm" $bonemerge "ValveBiped.Bip01_R_Forearm" $bonemerge "ValveBiped.Bip01_R_Hand" $bonemerge "ValveBiped.Anim_Attachment_RH" $jigglebone "Jigglebone16" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone2" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone3" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone4" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone5" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone6" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone7" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone8" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone9" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone10" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone11" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone12" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone13" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone14" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone15" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone16" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone17" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone18" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone19" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone20" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone21" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone22" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone23" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone24" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone25" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone26" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone27" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } } $jigglebone "Jigglebone28" {     is_flexible {         yaw_stiffness 400         yaw_damping 6         pitch_stiffness 400         pitch_damping 8         tip_mass 5         length 30         angle_constraint 37     } }
A photo would be useful, it's worth more than a thousand words, it should work since it uses the valve biped (presumably), so it wouldn't even need proportions.
I made a post about this earlier that had pictures, but I made a new one because I partcially fixed the issue. Here is the link: Issues With Custom Playermodel For Garry's Mod
oh, ok I see, it does have proportions, I should've looked a bit more to the QC, the problem is probably that, unfortunately you'll have to re-do the proportions, or at least fix them, you can find out how to make them here: https://sites.google.com/site/zeqmacaw/tutorials/proportion-trick
I've tried following a tutorial for the proportion trick before, however my model is still not working right. The weird thing is that it will look right in HLMV though. Do you think I just messed up while following the tutorial?
Yes that's very likely, when that type of thing happened to me I just kept trying until it worked.
Sorry, you need to Log In to post a reply to this thread.