Converting a CSS reskin to GMod C_ model; uses improperly named bones?

Hey. I’m attempting to convert this CSS P90 reskin to a GMod C_ model. It’s going well, except for one problem: my bone qc lines look like this:



$definebone "Box01" "" 3.381 -12.983 -1.219098 1.602596 -0.034484 -1.506097 0 0 0 0 0 0
$definebone "boltthingy" "Box01" -0.000001 0 0.000001 0 0 0 0 0 0 0 0 0
$definebone "trigger" "Box01" -2.68457 -1.945403 -0.214709 0 0 0 0 0 0 0 0 0
$definebone "L_Armdummy" "Box01" -23.297113 -2.897025 -7.367372 -3.044425 0.065954 -1.564372 0 0 0 0 0 0
$definebone "L_Upperarm" "L_Armdummy" -0.023288 0.041601 0.000002 0.110455 0.255085 -1.137608 0 0 0 0 0 0
$definebone "L_Forearm" "L_Upperarm" 11.072354 -0.04344 0 0 0 -0.954666 0 0 0 0 0 0
$definebone "L_Wrist" "L_Forearm" 8.108978 -0.000003 0.000001 -0.000455 -0.320889 0.553747 0 0 0 0 0 0
$definebone "L_Thumb1" "L_Wrist" 0.758957 -0.993292 -0.533611 0.731998 0.453471 -0.032593 0 0 0 0 0 0
$definebone "L_Thumb2" "L_Thumb1" 1.9203 0 0 0 0 0.398791 0 0 0 0 0 0
$definebone "L_Thumb3" "L_Thumb2" 0.858252 0 0 -0.046594 -0.016621 0.054645 0 0 0 0 0 0
$definebone "L_Index1" "L_Wrist" 2.931401 -0.842324 0.160553 0.002046 0.065809 -0.075786 0 0 0 0 0 0
$definebone "L_Index2" "L_Index1" 1.836086 0.000001 0 -0.015689 0.456735 -0.021437 0 0 0 0 0 0
$definebone "L_Index3" "L_Index2" 0.853993 0.000001 0.000001 0.002756 0.113413 0.024347 0 0 0 0 0 0
$definebone "L_Mid1" "L_Wrist" 2.964059 -0.072898 0.178523 -0.020196 0.831543 -0.012839 0 0 0 0 0 0
$definebone "L_Mid2" "L_Mid1" 1.814737 0 0 3.121578 1.239116 3.054718 0 0 0 0 0 0
$definebone "L_Mid3" "L_Mid2" 0.982326 0 0 0.01962 0.43287 0.024583 0 0 0 0 0 0
$definebone "L_Ring1" "L_Wrist" 2.910364 0.632512 0.212797 0.019306 0.884673 -0.020441 0 0 0 0 0 0
$definebone "L_Ring2" "L_Ring1" 1.751858 0 0 -2.948071 1.307713 -3.056718 0 0 0 0 0 0
$definebone "L_Ring3" "L_Ring2" 0.853994 0 0 0.011078 0.522616 -0.024446 0 0 0 0 0 0
$definebone "L_Pinky1" "L_Wrist" 2.89945 1.342929 0.078013 -0.095278 1.260184 -0.160905 0 0 0 0 0 0
$definebone "L_Pinky2" "L_Pinky1" 1.152892 0 0 -0.22145 1.087041 -0.278689 0 0 0 0 0 0
$definebone "L_Pinky3" "L_Pinky2" 0.748463 0 0.000001 -0.00031 0.807795 -0.085541 0 0 0 0 0 0
$definebone "Cylinder06" "Box01" 0.323913 -3.441831 -0.268326 0 1.570796 0 0 0 0 0 0 0
$definebone "R_Armdummy" "" -10.065467 -6.024791 -10.350755 -0.72982 1.290953 -0.711666 0 0 0 0 0 0
$definebone "R_Upperarm" "R_Armdummy" -0.023289 0.041602 0 -0.50078 -0.818542 -1.044057 0 0 0 0 0 0
$definebone "R_Forearm" "R_Upperarm" 11.072356 -0.043444 0 0 0 -1.010285 0 0 0 0 0 0
$definebone "R_Wrist" "R_Forearm" 8.108976 0.000005 0.000001 -3.01671 0.795098 0.897458 0 0 0 0 0 0
$definebone "R_Thumb1" "R_Wrist" 0.788883 0.969696 -0.533611 2.573256 0.39676 0.098283 0 0 0 0 0 0
$definebone "R_Thumb2" "R_Thumb1" 1.9203 0 -0.000001 0 0 0.398791 0 0 0 0 0 0
$definebone "R_Thumb3" "R_Thumb2" 0.858248 0 0.000001 0 0 -0.069433 0 0 0 0 0 0
$definebone "R_Index1" "R_Wrist" 2.955713 0.75258 0.160553 -3.130918 0.230437 0.022102 0 0 0 0 0 0
$definebone "R_Index2" "R_Index1" 1.836087 -0.000001 -0.000001 0.303927 -0.94363 -0.033677 0 0 0 0 0 0
$definebone "R_Index3" "R_Index2" 0.853995 0 0.000002 -0.325747 -1.406091 0.443978 0 0 0 0 0 0
$definebone "R_Mid1" "R_Wrist" 2.964906 -0.017483 0.178523 -3.128668 0.502285 0.036705 0 0 0 0 0 0
$definebone "R_Mid2" "R_Mid1" 1.814737 0 0 2.895739 -1.258551 -2.950537 0 0 0 0 0 0
$definebone "R_Mid3" "R_Mid2" 0.982326 0 0 0.093507 -0.449426 -0.026688 0 0 0 0 0 0
$definebone "R_Ring1" "R_Wrist" 2.889733 -0.720928 0.212797 -3.062052 0.633585 0.037911 0 0 0 0 0 0
$definebone "R_Ring2" "R_Ring1" 1.751859 -0.000001 0 -2.784614 -1.46954 2.850733 0 0 0 0 0 0
$definebone "R_Ring3" "R_Ring2" 0.853993 0 0.000002 0.135373 -0.904519 -0.02061 0 0 0 0 0 0
$definebone "R_Pinky1" "R_Wrist" 2.857168 -1.430682 0.078013 -3.087029 1.051945 -0.016255 0 0 0 0 0 0
$definebone "R_Pinky2" "R_Pinky1" 1.152892 -0.000001 0.000001 -0.076565 -1.41726 0.159459 0 0 0 0 0 0
$definebone "R_Pinky3" "R_Pinky2" 0.748466 0 -0.000001 0.02452 -0.614635 -0.062517 0 0 0 0 0 0

$bonemerge "Box01"
$bonemerge "boltthingy"
$bonemerge "trigger"
$bonemerge "L_Armdummy"
$bonemerge "L_Upperarm"
$bonemerge "L_Forearm"
$bonemerge "L_Wrist"
$bonemerge "L_Thumb1"
$bonemerge "L_Thumb2"
$bonemerge "L_Thumb3"
$bonemerge "L_Index1"
$bonemerge "L_Index2"
$bonemerge "L_Index3"
$bonemerge "L_Mid1"
$bonemerge "L_Mid2"
$bonemerge "L_Mid3"
$bonemerge "L_Ring1"
$bonemerge "L_Ring2"
$bonemerge "L_Ring3"
$bonemerge "L_Pinky1"
$bonemerge "L_Pinky2"
$bonemerge "L_Pinky3"
$bonemerge "Cylinder06"
$bonemerge "R_Armdummy"
$bonemerge "R_Upperarm"
$bonemerge "R_Forearm"
$bonemerge "R_Wrist"
$bonemerge "R_Thumb1"
$bonemerge "R_Thumb2"
$bonemerge "R_Thumb3"
$bonemerge "R_Index1"
$bonemerge "R_Index2"
$bonemerge "R_Index3"
$bonemerge "R_Mid1"
$bonemerge "R_Mid2"
$bonemerge "R_Mid3"
$bonemerge "R_Ring1"
$bonemerge "R_Ring2"
$bonemerge "R_Ring3"
$bonemerge "R_Pinky1"
$bonemerge "R_Pinky2"
$bonemerge "R_Pinky3"


And if I’m correct those should be ValveBiped. bones. Is there some way I can directly convert these names/do I need to/am I doing it wrong? Thanks.

I’m physically and painstakingly renaming them in Blender for one I’m converting

[editline]21st March 2015[/editline]

Even if you rename them in the .qc, you’ll need to rename them in the SMD too.

I thought you could just rename them in the SMD’s and QC in Notepad++ or other text editor? I’m pretty sure I told someone to do that with TitanFall models and it worked properly.

You can, but you have to know which bones are which. It’s a bit of a problem with some models:

http://puu.sh/gKd8J/42e06a4dc4.png

True, but assuming he re-rigged it to use c-model bones, he just needs to find which one is incorrectly named and simply change it.

gg… progress?
https://dl.dropboxusercontent.com/u/55311295/ShareX/2015/03/2015-03-21-2023-34.mp4
(unembedded to prevent page stretching)

Looks like you mismatched wrist to hand

That I did, but now I’m a lobster.
https://dl.dropboxusercontent.com/u/55311295/ShareX/2015/03/2015-03-21-2034-06.mp4
(unembedded to prevent page stretching)

depends on which rig are you converting from, most of the CSS skins rig have a different skeleton rig from the c_arms, this means that the bones may not be in a proper position (mostly what huntingrifle said)… and from what i see in the video you should check the wrist bones names

Middle knuckle to finger tip? It’s really hard to tell at this point; guessing and checking is a hard-to-succeed method.

Alright, the OP has the old bone names, here’s the new ones:



$definebone "Box01" "" 3.381 -12.983 -1.219098 1.602596 -0.034484 -1.506097 0 0 0 0 0 0
$definebone "boltthingy" "Box01" -0.000001 0 0.000001 0 0 0 0 0 0 0 0 0
$definebone "trigger" "Box01" -2.68457 -1.945403 -0.214709 0 0 0 0 0 0 0 0 0

$definebone "L_Armdummy" "Box01" -23.297113 -2.897025 -7.367372 -3.044425 0.065954 -1.564372 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_UpperArm" "L_Armdummy" -0.023288 0.041601 0.000002 0.110455 0.255085 -1.137608 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 11.072354 -0.04344 0 0 0 -0.954666 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Wrist" "ValveBiped.Bip01_L_Forearm" 8.108978 -0.000003 0.000001 -0.000455 -0.320889 0.553747 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Wrist" 0.758957 -0.993292 -0.533611 0.731998 0.453471 -0.032593 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.9203 0 0 0 0 0.398791 0 0 0 0 0 0 // thumb is 0
$definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 0.858252 0 0 -0.046594 -0.016621 0.054645 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger1" "ValveBiped.Bip01_L_Wrist" 2.931401 -0.842324 0.160553 0.002046 0.065809 -0.075786 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger11" "ValveBiped.Bip01_L_Finger1" 1.836086 0.000001 0 -0.015689 0.456735 -0.021437 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger12" "ValveBiped.Bip01_L_Finger11" 0.853993 0.000001 0.000001 0.002756 0.113413 0.024347 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Wrist" 2.964059 -0.072898 0.178523 -0.020196 0.831543 -0.012839 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 1.814737 0 0 3.121578 1.239116 3.054718 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger22" "ValveBiped.Bip01_L_Finger21" 0.982326 0 0 0.01962 0.43287 0.024583 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger3" "ValveBiped.Bip01_L_Wrist" 2.910364 0.632512 0.212797 0.019306 0.884673 -0.020441 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger31" "ValveBiped.Bip01_L_Finger3" 1.751858 0 0 -2.948071 1.307713 -3.056718 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger32" "ValveBiped.Bip01_L_Finger31" 0.853994 0 0 0.011078 0.522616 -0.024446 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger4" "ValveBiped.Bip01_L_Wrist" 2.89945 1.342929 0.078013 -0.095278 1.260184 -0.160905 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger41" "ValveBiped.Bip01_L_Finger4" 1.152892 0 0 -0.22145 1.087041 -0.278689 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger42" "ValveBiped.Bip01_L_Finger41" 0.748463 0 0.000001 -0.00031 0.807795 -0.085541 0 0 0 0 0 0

$definebone "Cylinder06" "Box01" 0.323913 -3.441831 -0.268326 0 1.570796 0 0 0 0 0 0 0

$definebone "R_Armdummy" "" -10.065467 -6.024791 -10.350755 -0.72982 1.290953 -0.711666 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Upperarm" "R_Armdummy" -0.023289 0.041602 0 -0.50078 -0.818542 -1.044057 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_Upperarm" 11.072356 -0.043444 0 0 0 -1.010285 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Wrist" "ValveBiped.Bip01_R_Forearm" 8.108976 0.000005 0.000001 -3.01671 0.795098 0.897458 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Wrist" 0.788883 0.969696 -0.533611 2.573256 0.39676 0.098283 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" 1.9203 0 -0.000001 0 0 0.398791 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger02" "ValveBiped.Bip01_R_Finger01" 0.858248 0 0.000001 0 0 -0.069433 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger1" "ValveBiped.Bip01_R_Wrist" 2.955713 0.75258 0.160553 -3.130918 0.230437 0.022102 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger11" "ValveBiped.Bip01_R_Finger1" 1.836087 -0.000001 -0.000001 0.303927 -0.94363 -0.033677 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger12" "ValveBiped.Bip01_R_Finger11" 0.853995 0 0.000002 -0.325747 -1.406091 0.443978 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Wrist" 2.964906 -0.017483 0.178523 -3.128668 0.502285 0.036705 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" 1.814737 0 0 2.895739 -1.258551 -2.950537 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger22" "ValveBiped.Bip01_R_Finger21" 0.982326 0 0 0.093507 -0.449426 -0.026688 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger3" "ValveBiped.Bip01_R_Wrist" 2.889733 -0.720928 0.212797 -3.062052 0.633585 0.037911 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger31" "ValveBiped.Bip01_R_Finger3" 1.751859 -0.000001 0 -2.784614 -1.46954 2.850733 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger32" "ValveBiped.Bip01_R_Finger31" 0.853993 0 0.000002 0.135373 -0.904519 -0.02061 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger4" "ValveBiped.Bip01_R_Wrist" 2.857168 -1.430682 0.078013 -3.087029 1.051945 -0.016255 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger41" "ValveBiped.Bip01_R_Finger4" 1.152892 -0.000001 0.000001 -0.076565 -1.41726 0.159459 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger42" "ValveBiped.Bip01_R_Finger41" 0.748466 0 -0.000001 0.02452 -0.614635 -0.062517 0 0 0 0 0 0


Anything immediately wrong?

Move


$definebone "cylinder06"

up to


$definebone "Box01" "" 3.381 -12.983 -1.219098 1.602596 -0.034484 -1.506097 0 0 0 0 0 0
$definebone "boltthingy" "Box01" -0.000001 0 0.000001 0 0 0 0 0 0 0 0 0
$definebone "trigger" "Box01" -2.68457 -1.945403 -0.214709 0 0 0 0 0 0 0 0 0

Other than that, I don’t see anything else.

Moved that; also tried switching around



$definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Wrist" 0.758957 -0.993292 -0.533611 0.731998 0.453471 -0.032593 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.9203 0 0 0 0 0.398791 0 0 0 0 0 0 // thumb is 0
$definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 0.858252 0 0 -0.046594 -0.016621 0.054645 0 0 0 0 0 0


to



$definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Wrist" 0.858252 0 0 -0.046594 -0.016621 0.054645 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.9203 0 0 0 0 0.398791 0 0 0 0 0 0 // thumb is 0
$definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 0.758957 -0.993292 -0.533611 0.731998 0.453471 -0.032593 0 0 0 0 0 0


for all fingers; neither worked.

[editline]21st March 2015[/editline]

Oh, hey, this looks useful: (an fps 5 recording of the reload anim)

https://dl.dropboxusercontent.com/u/55311295/ShareX/2015/03/2015-03-21-2052-41.mp4

[editline]21st March 2015[/editline]

(Gets interesting at 0:17ish)