|
I’m trying to modify the XSI valve sdk man. I’ve replaced the character’s head with my own. I’m not gonna worry about mouths or eyes at this stage, so I’ve just modelled them and stuck the eyes inside the mesh in the qc file. Merged the meshes and set the envelope / reassigned locally the head to the head bone. So far so good. That exports/compiles and the character walks.
Now, I want to adjust the bone lengths on the character, to better resemble the proportions of my original character’s mesh.
My question: How can I adjust the bone lengths, and then have that reflected on my exported model? When I fired up the model viewer, it appears to have the original lengths; I’m guessing from:
$pushd “../male_animations_sdk”
$include “../male_animations_sdk/male_shared_XSI_sdk.qci”
$include “../male_animations_sdk/body_poses_lean.qci”
//$include “../male_animations_sdk/WeaponAnims_shared_sdk.qci”
$popd
(btw, I get an error when I try to compile with the WeaponAnims_shared_sdk.qci. Something about duplicate pelvis or something… Anyone else encountered that).
Thanks,
Dave
|
|
|
|
Here’s the answer to my ‘btw’.
[B]Note:[/B] If the model does not compile (if you see the Error model in the HLMV) , the problem may be the inclusion of the file Male_Animations_sdk/WeaponsAnims_Shared_sdk.qci.
That file contains a $weightlist pelvisonly line identical to a line in the included file male_shared_XSI_sdk.qci.
* In the Male_Animations_sdk folder, make a copy of the WeaponsAnims_Shared_sdk.qci file.
* Rename the copy to WeaponsAnims_Shared_sdk_X.qci (or other unique name).
* Edit the WeaponsAnims_Shared_sdk_X.qci file and comment out the $weightlist line
“//$weightlist pelvisonly ...”
* Open for editing the file male_06_sdk.qc.
* Change the line $include “../male_animations_sdk/WeaponAnims_shared_sdk.qci” to
$include “../male_animations_sdk/WeaponAnims_shared_sdk_X.qci” //(or as otherwise renamed above)
* Save the male_06_sdk.qc file.
* Recompile male_06_sdk.qc to determine if the error was corrected.
|
|
|