Pages: [1]
  Print  
Author Topic: [OQ+] [SOLVED] How to add new models to the game ?  (Read 8075 times)
atphalix
Nub


Cakes 2
Posts: 45


« 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 Sad
« Last Edit: March 18, 2011, 06:04:59 AM by fromhell » Logged
andrewj
Member


Cakes 24
Posts: 584



« Reply #1 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.
Logged
atphalix
Nub


Cakes 2
Posts: 45


« Reply #2 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.
« Last Edit: July 12, 2009, 01:28:28 PM by atphalix » Logged
Pages: [1]
  Print  
 
Jump to: