From: DiaboliK Date: Wed, 17 Mar 2010 05:46:00 +0000 (+0000) Subject: (Commit created by redmine exporter script from page "Modelling" version 4) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=89492a2cf58fcf6ab1632f5688afcd7b82165e10;p=xonotic%2Fxonotic.wiki.git (Commit created by redmine exporter script from page "Modelling" version 4) --- diff --git a/Modelling.textile b/Modelling.textile index b3affab..f516300 100644 --- a/Modelling.textile +++ b/Modelling.textile @@ -1,5 +1,7 @@ h1. Modeling > h2. Blender when exporting to iqm +> > h3. Example files +> > > * //Will be added > > h3. Before You Start > > > * use the bbox.blend in order to see the size that your model should be. Iqm exporter scale function untested. > > > * use the duck_bbox.blend in order to see the size that your model should be when crouching. @@ -9,4 +11,10 @@ h1. Modeling > > > * you must assign material to your model. Select your model in object mode. Press F5. Look for the MA box and type the name of your model for example umbra. > > > * as of right now you cannot use relative paths with the exporter so we will export to iqe, rename the material path, and compile iqe to iqm. > > h3. Exporting -> > > * select both mesh and armature in object mode. Go to scripts > export > inter-quake-model. Now make sure bounding boxes and meshes are both highlighted in the script window. First we will export the mesh. Leave the animation box empty. Export to a file path of your choosing, /path/to/mesh.iqe. Then hit the export button and hopefully it will work without any errors. Next we repeat the same steps for each animation but this time we put the animation name in the animation box: Animations: jump. In the file output box put the same file path as mesh.iqe and change it to jump.iqe: /path/to/jump.iqe +> > > * select both mesh and armature in object mode. Go to scripts > export > inter-quake-model. Now make sure bounding boxes and meshes are both highlighted in the script window. First we will export the mesh. Leave the animation box empty. Export to a file path of your choosing, /path/to/mesh.iqe. Then hit the export button and hopefully it will work without any errors. Next we repeat the same steps for each animation but this time we put the animation name in the animation box: Animations: jump. In the file output box put the same file path as mesh.iqe and change it to jump.iqe: /path/to/jump.iqe. once you are done with this, it is time to compile iqe to iqm. +> > h3. Compile iqe to iqm +> > > # Create a .bat file with any text editor. +> > > # Place the .bat file in the folder with the .iqes you exported. +> > > # Place the iqm.exe into the folder as well. +> > > # In the .bat file add the following: iqm.exe umbra.iqm mesh.iqe jump.iqe run.iqe (and the rest of the anims). Add the line; pause to the bttom of the file. +> > > # Now run the .bat file using wine or windows to finally get your iqm.