Hi there!
I'm not the best modeler, but i am currently trying to port this model into a ragdoll for source:
[img]http://i.imgur.com/CnOsrf9.png[/img]
But i am having some really odd problems.
When i move the bones, some parts of the model don't move with it:
[img]http://i.imgur.com/UKDqw0p.png[/img]
Also, the ragdoll acts really weird ingame
[img_thumb]http://i.imgur.com/Puw6fee.jpg[/img_thumb]
Also, if i import my ragdoll.smd into blender while my model is open, this happens:
[img]http://i.imgur.com/CfJH4LD.png[/img]
Any help?
my qc:
[code]
$cd "C:\Users\Lourenço\Desktop\gmod\Cyborg_soldier"
$modelname "Cyborg_soldier.mdl"
$model "Cyborg_soldier" "Cyborg_soldier.smd"
$poseparameter move_yaw -180.00 180.00
$poseparameter body_pitch -90.00 90.00
$poseparameter body_yaw -90.00 90.00
$cdmaterials "FarCry3\"
$hboxset "cstrike"
$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299 -7.727 -5.429 8.299 2.007 6.583
$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576 -5.377 -3.432 22.880 3.775 4.576
$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291 -4.295 -3.432 20.883 3.151 3.432
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288 -1.144 -2.579 5.720 4.576 2.007
$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576 -5.377 -3.432 22.880 3.775 4.576
$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291 -4.295 -3.432 20.883 3.151 3.432
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288 -1.144 -2.007 5.720 4.576 2.579
$hbox 3 "ValveBiped.Bip01_Spine1" -9.152 -1.258 -8.008 4.576 11.326 8.008
$hbox 2 "ValveBiped.Bip01_Spine2" -3.068 -3.432 -9.693 13.572 10.317 9.693
$hbox 1 "ValveBiped.Bip01_Neck1" -0.104 -4.576 -2.860 5.512 2.288 2.860
$hbox 1 "ValveBiped.Bip01_Head1" -0.416 -6.240 -3.640 9.360 4.441 3.016
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144 -2.579 -2.288 14.872 2.579 2.288
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716 -2.402 -2.402 13.156 2.402 2.402
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291 -2.465 -1.716 6.583 1.550 2.860
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144 -2.579 -2.288 14.872 2.579 2.288
$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716 -2.402 -2.402 13.156 2.402 2.402
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291 -2.465 -2.860 6.583 1.550 1.716
$attachment "forward" "ValveBiped.forward" -0.00 -0.00 -0.00 rotate 0.00 -0.00 -0.00
$attachment "grenade0" "ValveBiped.Bip01_Pelvis" 15.45 -2.00 -3.33 rotate -13.00 173.00 92.00
$attachment "grenade1" "ValveBiped.Bip01_Pelvis" 15.00 -2.00 -6.15 rotate -81.00 179.00 91.00
$attachment "grenade2" "ValveBiped.Bip01_Pelvis" -15.50 -4.00 -0.00 rotate 22.00 2.00 -87.00
$attachment "grenade3" "ValveBiped.Bip01_Pelvis" -15.50 -4.00 3.50 rotate -33.00 -3.00 -88.00
$attachment "pistol" "ValveBiped.Bip01_R_Calf" -0.93 3.33 -5.94 rotate 1.00 -2.00 80.00
$attachment "primary" "ValveBiped.Bip01_Spine2" 13.03 -7.50 -7.48 rotate -17.00 177.00 -4.00
$attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.15 -0.56 5.20 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.00 5.20 -0.00 rotate -0.00 -0.00 0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" -0.00 5.20 0.00 rotate 0.00 -0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" -0.00 0.00 0.00 rotate 0.00 0.00 0.00
$includemodel "m_anm.mdl"
$includemodel "m_gst.mdl"
$includemodel "m_pst.mdl"
$includemodel "m_shd.mdl"
$includemodel "m_ss.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 -0.000 73.000
$illumposition -3.163 -0.017 42.170
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {
$mass 90.0
$inertia 10.00
$damping 0.05
$rotdamping 5.00
$rootbone "valvebiped.bip01_pelvis"
$jointrotdamping "valvebiped.bip01_pelvis" 3.00
$jointmassbias "valvebiped.bip01_spine1" 8.00
$jointconstrain "valvebiped.bip01_spine1" x limit -10.00 10.00 0.00
$jointconstrain "valvebiped.bip01_spine1" y limit -16.00 16.00 0.00
$jointconstrain "valvebiped.bip01_spine1" z limit -20.00 30.00 0.00
$jointmassbias "valvebiped.bip01_spine2" 9.00
$jointconstrain "valvebiped.bip01_spine2" x limit -10.00 10.00 0.00
$jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.00
$jointconstrain "valvebiped.bip01_spine2" z limit -20.00 20.00 0.00
$jointmassbias "valvebiped.bip01_r_clavicle" 4.00
$jointrotdamping "valvebiped.bip01_r_clavicle" 6.00
$jointconstrain "valvebiped.bip01_r_clavicle" x limit -15.00 15.00 0.00
$jointconstrain "valvebiped.bip01_r_clavicle" y limit -10.00 10.00 0.00
$jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 45.00 0.00
$jointmassbias "valvebiped.bip01_l_clavicle" 4.00
$jointrotdamping "valvebiped.bip01_l_clavicle" 6.00
$jointconstrain "valvebiped.bip01_l_clavicle" x limit -15.00 15.00 0.00
$jointconstrain "valvebiped.bip01_l_clavicle" y limit -10.00 10.00 0.00
$jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 45.00 0.00
$jointmassbias "valvebiped.bip01_l_upperarm" 5.00
$jointrotdamping "valvebiped.bip01_l_upperarm" 2.00
$jointconstrain "valvebiped.bip01_l_upperarm" x limit -15.00 20.00 0.00
$jointconstrain "valvebiped.bip01_l_upperarm" y limit -40.00 32.00 0.00
$jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 25.00 0.00
$jointmassbias "valvebiped.bip01_l_forearm" 4.00
$jointrotdamping "valvebiped.bip01_l_forearm" 4.00
$jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 15.00 0.00
$jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 10.00 0.00
$jointrotdamping "valvebiped.bip01_l_hand" 1.00
$jointconstrain "valvebiped.bip01_l_hand" x limit -25.00 25.00 0.00
$jointconstrain "valvebiped.bip01_l_hand" y limit -35.00 35.00 0.00
$jointconstrain "valvebiped.bip01_l_hand" z limit -50.00 50.00 0.00
$jointmassbias "valvebiped.bip01_r_upperarm" 5.00
$jointrotdamping "valvebiped.bip01_r_upperarm" 2.00
$jointconstrain "valvebiped.bip01_r_upperarm" x limit -15.00 20.00 0.00
$jointconstrain "valvebiped.bip01_r_upperarm" y limit -40.00 32.00 0.00
$jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 25.00 0.00
$jointmassbias "valvebiped.bip01_r_forearm" 4.00
$jointrotdamping "valvebiped.bip01_r_forearm" 4.00
$jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 15.00 0.00
$jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 10.00 0.00
$jointrotdamping "valvebiped.bip01_r_hand" 1.00
$jointconstrain "valvebiped.bip01_r_hand" x limit -25.00 25.00 0.00
$jointconstrain "valvebiped.bip01_r_hand" y limit -35.00 35.00 0.00
$jointconstrain "valvebiped.bip01_r_hand" z limit -50.00 50.00 0.00
$jointmassbias "valvebiped.bip01_r_thigh" 7.00
$jointrotdamping "valvebiped.bip01_r_thigh" 7.00
$jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 25.00 0.00
$jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 15.00 0.00
$jointconstrain "valvebiped.bip01_r_thigh" z limit -55.00 25.00 0.00
$jointmassbias "valvebiped.bip01_r_calf" 4.00
$jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00
$jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00
$jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 115.00 0.00
$jointmassbias "valvebiped.bip01_l_thigh" 7.00
$jointrotdamping "valvebiped.bip01_l_thigh" 7.00
$jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 25.00 0.00
$jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 15.00 0.00
$jointconstrain "valvebiped.bip01_l_thigh" z limit -55.00 25.00 0.00
$jointmassbias "valvebiped.bip01_l_calf" 4.00
$jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00
$jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00
$jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 115.00 0.00
$jointmassbias "valvebiped.bip01_head1" 4.00
$jointrotdamping "valvebiped.bip01_head1" 3.00
$jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00
$jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00
$jointconstrain "valvebiped.bip01_head1" z limit -26.00 30.00 0.00
}
[/code]
Looks like the unmoving parts aren't parented to the armature or have zero vertex weights.
[QUOTE=artworkplay;42343752]Looks like the unmoving parts aren't parented to the armature or have zero vertex weights.[/QUOTE]
The weird part is that the whole thing is just one mesh, they aren't split up into different ones.
[QUOTE=buu342;42343779]The weird part is that the whole thing is just one mesh, they aren't split up into different ones.[/QUOTE]
Then you have to weigh those parts of the mesh to the appropriate bone.
[QUOTE=Din0FreaK;42346380]Then you have to weigh those parts of the mesh to the appropriate bone.[/QUOTE]
Will try. Could this be due to the fact that when i "merged" the mesh with the bones, i selected (Auto weighing)?
[QUOTE=buu342;42348056]Will try. Could this be due to the fact that when i "merged" the mesh with the bones, i selected (Auto weighing)?[/QUOTE]
Not at all, as far as I know.
Well i fixed the weird ragdoll by fixing the collision mesh and messing with the QC, but now i need to weight paint it, which is being a bitch because i cannot select the bones, as i cannot click the "dotted lines", so i'm searching for help on the blender forums.
Sorry, you need to Log In to post a reply to this thread.