DigitalEro Offline

[SOLVED] Model skeleton/rigging problems in SFM

Sun, 09 Mar 2014 08:52:46

Calicula

http://i.imgur.com/HzHk6bO.jpg I'm learning Blender a bit and I wanted to take a crack at ripping/porting a model into SFM. Pretty far along with this Witcher 2 Succubus model, only thing left is rigging/flexes (only thing, right..). But I've been having problems with scale... A while ago I couldn't even seem to make the model the right size... Now I'm having that problem with the skeleton somehow... The skeleton works in Blender, I can pose fine enough but once I compile it and load it in SFM the skeleton/rig is tiny, also the RootTransform is where the pelvis is, which is no good. I fixed the model's size by, well, making her bigger... The skeleton is the model's parent though so I can't change the skeleton's dimensions without changing hers. Any help is appreciated. My QC file:
$modelname "calicula\succubus.mdl"

$model "Succubus" "body.smd" {

}

$bodygroup "Face" {
    studio "face.smd"
}

$bodygroup "Hair" {
    studio "hair.smd"
}

$bodygroup "Horns" {
    studio "horns.smd"
    blank
}

$bodygroup "Eyes" {
    studio "eyes.smd"
}

$bodygroup "Eyelashes" {
    studio "eyelashes.smd"
}

$bodygroup "Skirt"
{
    studio "skirt.smd"
    blank
}

$bodygroup "Beads"
{
    studio "beads.smd"
    blank
}

$surfaceprop "flesh"

$cdmaterials "models\calicula\"

$sequence idle "body.smd" fps 1
Sun, 09 Mar 2014 09:15:46

Ganonmaster

My experience with Blender is limited, but you want to scale both the skeleton and the model to the right size at the same time and then apply the transformation. The Source engine gets really bitchy when you don't scale your skeleton and models properly. Your QC file is fine. It's pretty safe to assume that this is a problem related to the SMD that Blender exports. It's not exporting the size you want, so I really recommend that you make sure you have applied the transformations of your skeleton.
Sun, 09 Mar 2014 09:56:20

Calicula

"Ganonmaster" said ...
My experience with Blender is limited, but you want to scale both the skeleton and the model to the right size at the same time and then apply the transformation. The Source engine gets really bitchy when you don't scale your skeleton and models properly. Your QC file is fine. It's pretty safe to assume that this is a problem related to the SMD that Blender exports. It's not exporting the size you want, so I really recommend that you make sure you have applied the transformations of your skeleton.
It never occured to me that I had to actually apply the transformations... It does make a lot of sense now that I think about it, of course... Good to know... Makes me wonder why the model works without applying the transformation, but it's working correctly now so I don't really care. Time for the fun stuff. Thanks a lot. http://i.imgur.com/vwx1btE.jpg