XSI-exporting .smd problem

B

bettyswollox

Guest
Got a custom pistol model working ok using the sdk animations.

Trying to get a submachine gun working using my own animations.

Have done a reference scene which saves and compiles fine.

Have animated the first sequence "idle".

Tried exporting to .smd as a skeletal animation but every time i try, xsi crashes and i get a "failed to save sequence before system failure"

Any ideas or suggestions as to where i am going wrong?
 
solved the problem of xsi crashing out, i was trying to export over a read only file.

next problem, when trying to compile i get this error

c:\program files\valve\steam\steamapps\SourceMods\dogmod\, path mp40
Working on "mp40.qc"
SMD MODEL mp40_reference.smd
SMD MODEL Idle.smd
ERROR: Frame MdlError(14371) : time 0
ERROR: Aborted Processing on 'weapons/v_mp40/v_mp40.mdl'


my .qc:

$modelname weapons/v_mp40/v_mp40.mdl
$cdmaterials /models/weapons/v_models/v_mp40


// whole body
$body studio "mp40_reference.smd"

$origin 0 0 68

//Muzzle flash
$attachment "muzzle" "ValveBiped.muzzle" 0 0 0

//Shell eject
$attachment "1" "ValveBiped.eject" -1.00 0.00 0.00 rotate -0 90 -180

$sequence idle "Idle" loop fps 30 activity ACT_VM_IDLE 1 node 0

Aiming to add the rest of the sequences as i animate them, will this work?



any ideas?
 
you've got a few less common commands; $origin and $attachments, which i dont know much about and are more complicated/advanced. but i suspect it is something wrong with one of those lines.
 
ok, solved that problem, the animation didnt start at 0, i had to open animation editor and check.

Now the animation compiles, the .qc seems fine, as it should cos its the one from the valvepistol altered to suit.

Now in HLMV i get the new "idle01" animation sequence but the submachine gun is in completely in the wrong position but the animation is working.

see it here

The textures are temporary BTW.

I have only moved things in global and have frozen all transforms on the smg part.

Any suggestions?

As far as i know, nobody has done this succesfully yet, or am i wrong?
 
you didnt freeze transforms on the gun before u exported, gotta do that.
i've exported 3 custom models, 2 with custom animations for a mod so it works
 
I did freeze.

Can you go throught the process step by step, see if i got it right..please
 
Back
Top