I have 5 or 6 custom textures ive used in my map...I have put a .tga or a .jpg of each in my textures folder...and a shader for each in my sripts folder...Here is the setup of folders:
map
scripts
- storm_on_revin.shader
- WDPoster.shader
----Then some other texture shaders----
Textures
- Mohmenu
- EchoTextures
- GizTextures
Uber
UI
And here is an example of one of my custom shader files:
textures/EchoTextures/WDPoster
{
qer_keyword rock
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/EchoTextures/WDPoster.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Ive tryed editing the format of the shader to match other shaders...Ive tryed so many things and no luck...Just appears as grey and white light in game...I dont know what is wrong...Any ideas?
Also textures work perfect in radient.
pk3 custom textures problem
Moderator: Moderators
the shader must have the same name as the texture folder:
image wd_poster.tga in folder textures/echotextures
and in folder scripts there's the echotextures.shader
image wd_poster.tga in folder textures/echotextures
and in folder scripts there's the echotextures.shader
Code: Select all
textures/EchoTextures/WDPoster
{
qer_keyword rock
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/EchoTextures/WDPoster.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
-
echo_rancid
- Captain
- Posts: 264
- Joined: Sat Jan 31, 2004 4:31 pm
Alright I did all of that made sure the paths were correct. I know that the shaders are 100% correct. I changed the tga(s) in jpg(s) and changed the shader accordingly...I only have 2 textures I need in the map now...They just wont appear.
First thing I did when I made these 2 textures was make apk3 just for the textures and put that in my main folder...they showed up fine in radient and in game but obviously no one else will have the texture pk3 already in their main folder.
So when it was time to test the cxustom textures I took that pk3 out and put the jpgs and shaders into my MAP pk3 and saved and it wouldn't work. So then I deleted the old texture pk3 and that didnt change anything. I tryed messing with the shaders...nothing...I put the MAP pk3 in both main and mainta folders...nothing
Whats left to do...2 custom textures and Im done. I need some help please...I cant figure this out...Ive tryed everything.
Now:
Do I need the texture to be a certain way inorder to work...like 16bit or 32bit or certain size?
Also I moved all my stuff to a new computer and for some reason I have no worldspawn under the entity window...usually it is at the bottom of the list right??? Its not there.
Thanks for the help wacko...any more ideas...anyone?

First thing I did when I made these 2 textures was make apk3 just for the textures and put that in my main folder...they showed up fine in radient and in game but obviously no one else will have the texture pk3 already in their main folder.
So when it was time to test the cxustom textures I took that pk3 out and put the jpgs and shaders into my MAP pk3 and saved and it wouldn't work. So then I deleted the old texture pk3 and that didnt change anything. I tryed messing with the shaders...nothing...I put the MAP pk3 in both main and mainta folders...nothing
Whats left to do...2 custom textures and Im done. I need some help please...I cant figure this out...Ive tryed everything.
Now:
Do I need the texture to be a certain way inorder to work...like 16bit or 32bit or certain size?
Also I moved all my stuff to a new computer and for some reason I have no worldspawn under the entity window...usually it is at the bottom of the list right??? Its not there.
Thanks for the help wacko...any more ideas...anyone?
