Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Ceriux's Nub Tutorials [Compiling a quake 1 .mdl]

| Inside3d Forums Forum Index -> Tutorial Help

View previous topic :: View next topic
Author | Message
--- | ---
ceriux Joined: 06 Sep 2008 Posts: 968 Location: Florida, USA |

Posted: Fri Feb 26, 2010 6:39 pm Post subject: Ceriux's Nub Tutorials [Compiling a quake 1 .mdl] |

Ok lets start off by setting up our directories and explaining which tools we need. So here's the list of tools i use: 1: a modeling program your used to, be it milkshape, 3ds max, or blender. 2: (this tutorial isnt for blender specific so you will need a tool for conversion) i use milkshape 3D
3: a tool to texture your model. idc if its paint just something.
4: quark - another conversion tool.
5: qme for misc. bs.
next your going to need a good directory to place all your stuff.
our directorys follow like this.
base: "C:\qmdl"
next we'll put our objs here.
obj srcs: base: "C:\qmdl\obj"
next, textures.
texture: "C:\qmdl\tex"
and lastly animations.
animation: "C:\qmdl\smd"
ok now that we're finished with all that and you've made sure all of your files are in the correct folders. lets get started assuming you already have your model made and in obj format. open up milkshape then go to "file>import>WAVEFRONT Obj..."
should look like this.
next, make sure everything is grouped as one. by going to the groups tab selecting all faces and pressing regroup.
then make sure your texture is a TGA and go to the materials tab. make sure that the path is pointed to the tga and that you also have your 256 quake palleted .bmp ready for later.
ok... to get the thing to compile to a format we can actually use we need to do a couple more steps... ( i know this looks like a lot... but its really not once you get used to it and get into a work flow using this the process is actually pretty fast)
ok next step. go into the "model" stab and select "joint" and place one some where close to your model preferably somewhere below it but close. select all of the vertecies and the joint and go to the joint TAB.
then go to tools>quakeIII arena> Generate control file.
in the set up your directories.
this is what mine looks like:

Code:
// Quake III Arena MD3 control file, generated by MilkShape 3D // $model "C:\qmdl\pistol.md3" // reference frame //$frames -1 -1
// frame 1-30
$frames 1 1
$flags 0
$numskins 0
// you can have one or no parent tag
// tags
// meshes (surfaces)
$mesh "Cone01"
$skin "C:\qmdl\tex\tut_pistol.tga"
$flags 0

save that as what ever your going to save you md3 as in your base directory.
then go to file>export> quake III arena... export it as the same name as the .qc file you generated.
next open up quark.
and open your md3 in it.
after you have your .md3 open go to toolbox tab>texture browser
and then click "used skin textures" in the left side list. then click edit > import files> make file links. and import the bmp version of your texture. in the list click it copy it then go back to tool box>(your model name) tab.
after your back to your models tab, go down on the bottom left and look for "skins" paste your copied bmp there and delete the tga.
then go to file save as quake1.mdl
almost done, just open your model in qme, you'll notice a few things. but the only one im going to address is that the skin is wrong it looks all wrong.
its ok, just import your bmp again and replace the one that was there when you saved your new .mdl DONE.
here's the source for anyone who wants take a look at how i had set up everything.
qmdl.rar
_________________
QuakeDB - Quake ModDB Group

Back to top |

Downsider Joined: 16 Sep 2008 Posts: 477 |

Posted: Fri Feb 26, 2010 8:07 pm Post subject: |

Nice !

Back to top |

Biodude Joined: 27 Aug 2008 Posts: 83 |

Posted: Sat Feb 27, 2010 3:39 am Post subject: |

nice tut ceriux, but I really need help with my stuff xD you are going to go in a few days so im going to scout out I guess

Back to top |

Downsider Joined: 16 Sep 2008 Posts: 477 |

Posted: Sat Feb 27, 2010 4:27 am Post subject: |

I actually used this today. Thanks, Ceriux.

Back to top |

ceriux Joined: 06 Sep 2008 Posts: 968 Location: Florida, USA |

Posted: Sat Feb 27, 2010 4:43 am Post subject: |

good to see someones getting use. biodude- keep track of my tutorials , im hoping to write out what you need or at least the basics before i go. actually your part of the reason im writing these. EDIT: my next tutorial is short but its already up. expect a few more tomorrow (including .qc tutorials) im actually hoping to finish my series of nub tutorials tomorrow.
_________________
QuakeDB - Quake ModDB Group

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Sat Feb 27, 2010 9:34 pm Post subject: |

Nice and thanks! _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

dreadlorde Joined: 24 Nov 2009 Posts: 86 |

Posted: Sun Feb 28, 2010 11:49 pm Post subject: |

You should have modeled a hand and trigger with the gun, it would have looked better. Nice tutorial none the less. _________________

Ken Thompson wrote:
One of my most productive days was throwing away 1000 lines of code.

Get off my lawn!

Back to top |

ceriux Joined: 06 Sep 2008 Posts: 968 Location: Florida, USA |

Posted: Mon Mar 01, 2010 3:49 am Post subject: |

the model was only made to show what you had to do to make the model. it wasnt for something special. only to show the workflow so everyone had something to look at. _________________ QuakeDB - Quake ModDB Group

Back to top |

qbism Joined: 04 Nov 2004 Posts: 82 |

Posted: Mon Apr 12, 2010 11:16 pm Post subject: |

Anybody use the "Compile Quake 1 MDL" tool in Milkshape? Requires user to provide a .qc file as input. _________________ http://qbism.com

Back to top |

ceriux Joined: 06 Sep 2008 Posts: 968 Location: Florida, USA |

Posted: Tue Apr 13, 2010 2:18 am Post subject: |

i tried, but i never could get it working. _________________ QuakeDB - Quake ModDB Group

Back to top |

qbism Joined: 04 Nov 2004 Posts: 82 |

Posted: Tue Apr 13, 2010 2:33 am Post subject: |

This .qc worked for exporting a view model. Used a .pcx texture. But the model/texture are too unfinished ATM to tell if texturing is good.

Code:
$modelname "C:\quake\ID1\progs\v_rock2.mdl" $skin "C:\quake\_models\test_rl.pcx" $origin 0 0 0 $base base $frame frame1 frame2 frame3 frame4 frame5 frame6 frame7 frame8 frame9 frame10

_________________
http://qbism.com

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Tue Apr 13, 2010 5:46 pm Post subject: |

Have you tried my model converter? Your "tutorial" is kind of hard to read and I'm not really sure what you're doing, but at least part of it should be possible with my converter... if you're having too much trouble with other programs. _________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> Tutorial Help | All times are GMT
Page 1 of 1

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group