Forum

IQM Converter - model rotated?

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

IQM Converter - model rotated?

Postby drm_wayne » Sat Mar 04, 2017 6:57 am

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??
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: IQM Converter - model rotated?

Postby drm_wayne » Sat Mar 04, 2017 6:05 pm

nvm, it seems to be broken with smds... This is totally useless...
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: IQM Converter - model rotated?

Postby Eukos » Sat Mar 04, 2017 7:43 pm

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.
User avatar
Eukos
 
Posts: 14
Joined: Fri Jul 22, 2011 3:00 pm
Location: /dev/cdrom

Re: IQM Converter - model rotated?

Postby drm_wayne » Tue Mar 07, 2017 2:09 pm

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

Re: IQM Converter - model rotated?

Postby drm_wayne » Wed Apr 12, 2017 4:46 pm

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"
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: IQM Converter - model rotated?

Postby toneddu2000 » Wed Apr 19, 2017 8:55 pm

thanks drm_wayne, really appreciated!
toneddu2000
 
Posts: 1130
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy


Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest