OpenArena Message Boards

Other projects => Pointless => Topic started by: atphalix on July 11, 2009, 05:25:15 PM



Title: [OQ+] [SOLVED] How to add new models to the game ?
Post by: atphalix on July 11, 2009, 05:25:15 PM
I made a new model using blender and the mdl export script, but I don't how to replace the existing weapons/monsters?
and what about the skins? are they compiled into the mdl or integrated into the wads?
sorry for those noob questions but I looked for quake1 tutorial but found nothing as more and more q1 site are disapearing
from the net :(


Title: Re: How to add new models to the game ?
Post by: andrewj on July 11, 2009, 09:45:55 PM
Skins are stored inside quake MDL models.

Note that "MDL" can mean the model format of HalfLife, and iirc the mdl exporter that comes with blender is for that (HalfLife), which don't work in Quake.

First get a model working that just replaces the radiation suit.  Create a folder called "progs" (in the "id1" folder) and place the mdl in there and rename it "suit.mdl".  Then Darkplaces will find it.


Title: Re: How to add new models to the game ?
Post by: atphalix on July 12, 2009, 12:39:13 PM
Thanks, it's working now.
Quote
Note that "MDL" can mean the model format of HalfLife, and iirc the mdl exporter that comes with blender is for that (HalfLife), which don't work in Quake.
I'm using the mdl export script posted earlier on this forum.
I also found that to make an item rotate you need to change
Code:
self.flags  = 0
into
Code:
self.flags  = 8
before exporting the model.