]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Blender_to_IQM.markdown
Fix case of all links.
[xonotic/xonotic.wiki.git] / Blender_to_IQM.markdown
1 Blender to IQM
2 ==============
3
4 h2. Blender when exporting to IQM
5
6 h3. Needed/Example files
7  \* Bounding Box for Stand and Crouch: http://dev.xonotic.org/attachments/download/33/bbox\_crouch\_stand.zip
8  \* Erebus example blend: http://dev.xonotic.org/attachments/download/291/erebus.blend
9  \* Erebus example framegroups: http://dev.xonotic.org/attachments/download/292/erebus.iqm.framegroups
10  \* Link to exporter: http://sauerbraten.org/iqm/
11
12 h3. Before You Start
13  \* use the bbox.blend in order to see the size that your model should be. Iqm exporter scale function untested.
14  \* use the duck\_bbox.blend in order to see the size that your model should be when crouching.
15  \* for more information on bbox size refer to div0’s model specs [Player\_Model\_Spec](Player_Model_Spec)
16  \* naming conventions for textures and model go as follow assuming the example is the umbra model: modelname: umbra.iqm, framegroups: umbra.iqm.framegroups, textures: umbra.tga or (jpg), umbra\_norm.tga, umbra\_gloss.tga, (need to add more)
17
18 h3. Exporting
19  \# Select both mesh and armature in object mode.
20  \# Go to scripts \> export \> inter-quake-model.
21  \# Now make sure bounding boxes and meshes are both highlighted in the script window.
22  \# Export to a file path of your choosing, /path/to/umbra.iqm. Put the names of all the animations in the animations box, using commas for multiple anims. Then hit the export button and hopefully it will work without any errors.
23  \# Your model will need a .framegroups file to be used in Xonotic, look at the example file at the beginning of this article or check the [Framegroups](Framegroups) section of this wiki.
24
25 ### Notes
26
27 As of 01/06/2012, Xonotic uses these animations:
28
29     dieone,dietwo,draw,duck,duckwalk,duckjump,duckidle,idle,jump,painone,paintwo,shoot,taunt,run,runbackwards,strafeleft,straferight,deadone,deadtwo,forwardright,forwardleft,backright,backleft,melee,duckwalkbackwards,duckstrafeleft,duckstraferight,duckforwardright,duckwalkforwardleft,duckbackwardright,duckbackwardleft