dpm compiler and directories
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
dpm compiler and directories
Hello !!!!!!! I am using some high poly Dpm and are great
, but i have a problem with the location of the textures. I need to locate the textures in the folder of the model, not in the folder of a mod
for example I have the textures in
I use this file to compile my zombie (zombie.txt)
How can i specific the folder of the textures??? Thanks in advance and sorry for my english!!!!!!!!!

- Code: Select all
quake/nahuel
- Code: Select all
quake/nahuel/monsters
I use this file to compile my zombie (zombie.txt)
- Code: Select all
# save the model as models/blah.dpm
model models/monsters/zombie.dpm
# move the model this much before saving origin 5 10 2
origin 0 0 25
# rotate the model -90 degrees around vertical
rotate -90
# scale the model by this amount, 0.5 would be half size and 2.0 would be doule size
scale 1.16
# load the mesh file, this is stored into the dpm as frame 0
scene zombim.smd
scene zombiab.smd
How can i specific the folder of the textures??? Thanks in advance and sorry for my english!!!!!!!!!
hi, I am nahuel, I love quake and qc.
-

Nahuel - Posts: 492
- Joined: Wed Jan 12, 2011 8:42 pm
- Location: mar del plata
Re: dpm compiler and directories
texturedir /path/to/dir
should work...
It should be a relative path.
I think it would be referenced in the smd as well?
should work...
It should be a relative path.
I think it would be referenced in the smd as well?
- apolluwn
- Posts: 35
- Joined: Tue Apr 26, 2011 11:57 pm
Re: dpm compiler and directories
apolluwn wrote:texturedir /path/to/dir
should work...
It should be a relative path.
I think it would be referenced in the smd as well?
THANK YOU!!!!!!!!!!!!
hi, I am nahuel, I love quake and qc.
-

Nahuel - Posts: 492
- Joined: Wed Jan 12, 2011 8:42 pm
- Location: mar del plata
Re: dpm compiler and directories
The path is relative to the root of your mod, and is limited to 32 characters, including the texture name, so you cannot use deep paths or long file names. I actually recompiled the exporter to allow 64 characters, and it caused DP to crash on model load.
I wanted:
MyMod\models\weapons\v_weapon\MyTexture.tga
I ended up with:
MyMod\models\tex\MyTexture.tga
Something to keep in mind.
EDIT: Wow, necro post... sorry.
I wanted:
MyMod\models\weapons\v_weapon\MyTexture.tga
I ended up with:
MyMod\models\tex\MyTexture.tga
Something to keep in mind.
EDIT: Wow, necro post... sorry.
- Ace12GA
- Posts: 56
- Joined: Sat Jan 28, 2012 12:08 am
Re: dpm compiler and directories
I think that a post is never old when someone writes something useful for the community! 
Meadow Fun!! - my first commercial game, made with FTEQW game engine
- toneddu2000
- Posts: 1352
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest