XSI to .MDL corruption

E

eXKalibuR

Guest
Hi mates,

I'm using XSI to export a simple chair model and I got a weird corruption. I have just tested it inside the model viewer, this is what I have and this is what I get once compiled:

xsi-model_viewer.jpg


My .qc is:

// Output .MDL
$modelname "eii_objetos\silla_5.mdl"

//Location of textures in the materials folder
$cdmaterials models/eii_objetos/
$surfaceprop "default"
//$staticprop // Remove this line for a prop_physics object
$scale 1.0

// Whole body
$body studio "./silla_5.smd"

// Sequences: all sequences are in $cd
$sequence idle "silla_5_idle.smd" loop fps 15
$collisionmodel "silla_5_phys.smd"
{

// Mass in kilograms
$Mass 5
$concave
}

I can't find any information about my problem...
Do you know what is wrong??

Thanks. :)
 
probabley doesnt matter but the usual way to write the collisionmodel data is like this:

$collisionmodel "silla_5_phys.smd" {

// Mass in kilograms
$Mass 5
$concave
}

your problem is probabley something to do with your model and not your qc or anything else.
 
lol, exactly, I didn't.

Anyway, I found the problem: I used Transform/Rotate on "object" and this can't be done with XSI because of those weird effects. If I model it aplying Transform/Rotate always on "edges" or "points" it works fine.

So it is solved.
Thanks a lot mates. :p
 
yeah exporting .smd's from XSI does not take into account the object level transform so you have to set the centers back to zero, The quick way to do it is to select all objects and use polygon mesh>merge with a zero for the setting, delete the separate objects and it should work just fine.
 
Back
Top