• Making Clockwork Ragdolls work as player models.
    6 replies, posted
So I found these kickass models used for clockwork server and I want to use them in my server but there stuck in T-pose and I can find a tut for making player models. (sadface) So I have no idea what to do can somebody help?
If you're savvy with Lua, you could merge the bones of the ragdoll with an invisible hl2 playermodel.
[QUOTE=Ott;45023185]If you're savvy with Lua, you could merge the bones of the ragdoll with an invisible hl2 playermodel.[/QUOTE] Thats the thing I dont how how to do any of that
Well assuming they are already rigged to the valve skeleton, you can decompile the models using crowbar, add this in the .qc then recompile the model. [CODE]$includemodel "m_anm.mdl" [/CODE]
[QUOTE=Demonic King;45023582]Well assuming they are already rigged to the valve skeleton, you can decompile the models using crowbar, add this in the .qc then recompile the model. [CODE]$includemodel "m_anm.mdl" [/CODE][/QUOTE] Ok ill try but i still have no idea of what im doing
[QUOTE=cluelesshobo;45023593]what is crowbar?[/QUOTE] Its a program used for decompiling and compiling models (.mdl files) If you dont have the .mdl file you can extract the addon from steam workshop using Gmad Extractor.
[QUOTE=Demonic King;45023602]Its a program used for decompiling and compiling models (.mdl files) If you dont have the .mdl file you can extract the addon from steam workshop using Gmad Extractor.[/QUOTE] How do I use crowbar I cant find a tut [editline]7th June 2014[/editline] Ok i know how to use the program now but adding $includemodel "m_anm.mdl" dosent fix the problem he the model is still in T-pose [editline]7th June 2014[/editline] This is my file but I dont know where to Edit [CODE]// Created by Crowbar 0.19.0.0 $modelname "stalker/bandit_gasmask.mdl" $model "bandit1.smd" "bandit_gasmask_reference.smd" { eyeball "eye_right" "ValveBiped.Bip01_Head1" -1.325000 -3.325996 68.175008 "eyeball_r" 1 4 "iris_unused" 0.63 eyeball "eye_left" "ValveBiped.Bip01_Head1" 1.434000 -3.384996 68.119009 "eyeball_l" 1 -4 "iris_unused" 0.63 flexfile "bandit_gasmask.vta" { defaultflex frame 0 } flexcontroller head range -30 30 head_rightleft flexcontroller head range -15 15 head_updown flexcontroller head range -15 15 head_tilt flexcontroller eyes range -30 30 eyes_updown flexcontroller eyes range -30 30 eyes_rightleft flexcontroller body range -30 30 body_rightleft flexcontroller chest range -30 30 chest_rightleft flexcontroller head range -0.2 0.2 head_forwardback flexcontroller gesture range -1 1 gesture_updown flexcontroller gesture range -1 1 gesture_rightleft } $cdmaterials "models\humans\male\" $cdmaterials "models\stalkertnb\humans\" $cdmaterials "models\cyberpunk\outfit\mutant\" $attachment "eyes" "ValveBiped.Bip01_Head1" 3.79 -3.78 0.01 rotate 0 -80.1 -90 $attachment "mouth" "ValveBiped.Bip01_Head1" 1 -5.7 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 0 "ValveBiped.Bip01_Pelvis" -9.204 -8.466 -11.456 10.801 8.183 7.526 $hbox 0 "ValveBiped.Bip01_L_Thigh" -2.506 -7.789 -5.245 23.638 8.115 5.508 $hbox 0 "ValveBiped.Bip01_L_Calf" -6.476 -5.497 -3.545 17.186001 4.693 4.538 $hbox 0 "ValveBiped.Bip01_L_Foot" -3.309 -3.758 -3.175 7.287 5.484 2.553 $hbox 0 "ValveBiped.Bip01_L_Toe0" -2.37 -4.274 -3.454 3.839 0.571 2.208 $hbox 0 "ValveBiped.Bip01_R_Thigh" -2.685 -7.421 -5.206 24.184 8.115 6.191 $hbox 0 "ValveBiped.Bip01_R_Calf" -3.598 -5.497 -4.655 17.186001 4.794 3.662 $hbox 0 "ValveBiped.Bip01_R_Foot" -3.309 -3.487 -2.57 7.287 5.482 3.1 $hbox 0 "ValveBiped.Bip01_R_Toe0" -2.365 -4.283 -2.23 3.839 0.732 3.313 $hbox 0 "ValveBiped.Bip01_Spine" -43.647999 -8.054 -8.595 9.534 9.696 9.171 $hbox 0 "ValveBiped.Bip01_Spine1" 0 -7.873 -8.962 6.691 9.812 8.668 $hbox 0 "ValveBiped.Bip01_Spine2" 0 -8.127 -8.962 9.853 9.633 8.478 $hbox 0 "ValveBiped.Bip01_Spine4" -7.149 -6.576 -11.349 8.648 10.253 11.373 $hbox 0 "ValveBiped.Bip01_Neck1" 0 -6.114 -4.122 6.498 3.502 4.049 $hbox 0 "ValveBiped.Bip01_Head1" -3.114 -6.221 -4.341 8.863 4.373 4.269 $hbox 0 "ValveBiped.Bip01_L_Clavicle" 0 0 -4.096 8.567 3.309 4.899 $hbox 0 "ValveBiped.Bip01_L_UpperArm" -2.548 -5.919 -4.066 13.532 3.054 3.21 $hbox 0 "ValveBiped.Bip01_L_Forearm" 0 -3.017 -3.23 11.941 2.833 2.714 $hbox 0 "ValveBiped.Bip01_L_Hand" -3.373 -2.8 -3.135 4.726 2.624 3.25 $hbox 0 "ValveBiped.Bip01_R_Clavicle" 0 0 -4.847 8.486 3.407 4.201 $hbox 0 "ValveBiped.Bip01_R_UpperArm" -2.622 -5.18 -3.118 13.469 3.011 4.01 $hbox 0 "ValveBiped.Bip01_R_Forearm" 0 -3.088 -3.063 11.941 3.043 3.263 $hbox 0 "ValveBiped.Bip01_R_Hand" -3.474 -2.304 -3.216 4.849 2.977 3.199 $hbox 0 "ValveBiped.Bip01_R_Wrist" -3.129 -2.154 -1.832 0.191 1.849 1.498 $sequence "ragdoll" "bandit_gasmask_anims\ragdoll.smd" { fps 30 "ACT_DIERAGDOLL" 1 } $includemodel "Police_animations.mdl" $includemodel "Police_ss.mdl" $includemodel "humans/male_shared.mdl" $includemodel "player/male_anims.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 "bandit_gasmask_physics.smd" { $mass 100 $inertia 10 $damping 0.05 $rotdamping 5 $rootbone "valvebiped.bip01_pelvis" $jointrotdamping "ValveBiped.Bip01_Pelvis" 3 $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_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_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_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 $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 $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 $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_Head1" 4 $jointrotdamping "ValveBiped.Bip01_Head1" 3 $jointconstrain "ValveBiped.Bip01_Head1" x limit -50 50 0 $jointconstrain "ValveBiped.Bip01_Head1" y limit -20 20 0 $jointconstrain "ValveBiped.Bip01_Head1" z limit -26 30 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_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 } [/CODE] [editline]7th June 2014[/editline] Ok I found out how to do it but when the models walk's (holding ALT) it is still t-pose what is the things for that $includemodel "m_anm.mdl" $includemodel "m_gst.mdl" $includemodel "m_pst.mdl" $includemodel "m_shd.mdl" $includemodel "m_ss.mdl" [editline]7th June 2014[/editline] This has been solved. Thanks for the help
Sorry, you need to Log In to post a reply to this thread.