IQM Converter - model rotated?

Discuss the creation of various model formats for Quake engines, and related matters to modeling.
Post Reply
drm_wayne
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

IQM Converter - model rotated?

Post by drm_wayne »

I dont know why its doing it, but when i try to convert my models from SMD to IQM the exported model is not in the right position,
its rotated and i cant see the viewmodel ingame. Is there seriously no option to turn that off??
drm_wayne
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: IQM Converter - model rotated?

Post by drm_wayne »

nvm, it seems to be broken with smds... This is totally useless...
Eukara
Posts: 31
Joined: Fri Jul 22, 2011 3:00 pm
Location: /dev/cdrom
Contact:

Re: IQM Converter - model rotated?

Post by Eukara »

Yeah, the official IQM exporter kinda blows. I asked Spike of FTE to take a look at the source and we came up with what I think a satisfying fork of sorts. You can find the code in the fteqw sourceforge repo

Windows binary
Spike's Readme
My shoddy Readme

With the new binary you can avoid the whole parameter garbage and compile models with the help of plaintext configs.
It supports actual transformation of the model (moving it around, which the official tool DOES NOT do with animated models) as well as rotation. Just what you need.
drm_wayne
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: IQM Converter - model rotated?

Post by drm_wayne »

thats great, thanks :D
drm_wayne
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: IQM Converter - model rotated?

Post by drm_wayne »

in case somebody wants an example how to use the event code for sounds:

Code: Select all

output .\v_svt40.iqm
scene SVT40/svt40_mesh.smd
rotate 0 -90 0

scene SVT40/svt40_anim_idle.smd fps 20 
scene SVT40/svt40_anim_shoot.smd fps 35 event 1 5004 "sound/weapons/svt40/shoot.wav"
scene SVT40/svt40_anim_reload.smd fps 12 event 5 5004 "sound/weapons/svt40/magout.wav" event 14 5004 "sound/weapons/svt40/magin.wav" event 24 5004 "sound/weapons/svt40/boltback.wav" event 26 5004 "sound/weapons/svt40/boltforward.wav"
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: IQM Converter - model rotated?

Post by toneddu2000 »

thanks drm_wayne, really appreciated!
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Post Reply