.: Folder depth of textures!? :.

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
m0g
Lieutenant Colonel
Posts: 407
Joined: Fri May 23, 2003 10:11 am
Location: Sweden
Contact:

.: Folder depth of textures!? :.

Post by m0g »

I have my custom textures and they all work fine when i have them in:

Code: Select all

textures/myimage.tga
or

Code: Select all

textures/m0g/myimage.tga
But I want to organize the textures a bit more (i have many) so if I add subfolders, they doesnt show up anymore!?
ex:

Code: Select all

textures/m0g/road/myimage.tga
or

Code: Select all

textures/m0g/walls/myimage.tga
Has anyone bumped into this before, or does it not supprt more then 1 depth of folders in the texture folder!? :?:

pls advice

:?

(note this is only when testing the map after compile or pk3)
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I used textures/models/vehicles/c47winter/c47winter.tga just an hour ago with complete sucsess.

You DID change the path in the shader as well, right? Please tell me you did m0g.... :wink:
Admin .MAP Forums
Image
Head above heels.
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

make sure you've changed all 3 paths used, and as Bjarne BZR said, they are in the right folders :?:
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
m0g
Lieutenant Colonel
Posts: 407
Joined: Fri May 23, 2003 10:11 am
Location: Sweden
Contact:

Post by m0g »

:oops: :oops: :oops: (shame on m0g the blind ol' man)
I changed the paths, but as usual copy/paste somehow messes up everything... phuh, now i need to fix 11 shader files that contains info about 400+ textures! :(

I had a double value (orange):
############################
textures/m0g/road/roadq1
{
qer_editorimage textures/m0g/road/roadq1.tga
qer_keyword m0g_wood
surfaceparm stone
{
map textures/m0g/m0g/road/roadq1.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
############################
*sigh*
Post Reply