i’m working on a map (tankrace) and i made some textures by myself and i also made some shaders, although i don’t know much about it, i just copied some shaders and changed some things (i know it’s not good to copy, but it would have been more or less the same if i made them myself and this way i was sure that they were good). i put the textures in etmain/textures/tankrace and the shader in etmain/scripts, i test my map and everything works fine. but now i made a pk3, i put the textures in textures/tankrace and the shader in scripts. i try to play it in my normal ET install (not my mapping install) but i can only see 2 or 3 of the textures, the rest is black and orange. here is the shader, maybe someone can find out if there’s something wrong with them.
textures/tankrace/fence //it has an alpha channel and is a 32 bit .tga
{
qer_editorimage textures/tankrace/fence.tga
cull disable
nomipmaps
nopicmip
surfaceparm nomarks
surfaceparm alphashadow
surfaceparm metalsteps
surfaceparm pointlight
surfaceparm trans
implicitMask -
}
textures/tankrace/grass //this one is in pak0
{
qer_editorimage textures/temperate_sd/grass_dense1
implicitMap textures/temperate_sd/grass_dense1
surfaceparm landmine
}
textures/tankrace/grassnolandmines //this one is also in pak0
{
qer_editorimage textures/temperate_sd/grass_dense1
implicitMap textures/temperate_sd/grass_dense1
}
textures/tankrace/skybox //copied from skies_sd, i only added a nearbox, which worked fine before i made the pk3
{
nocompress
qer_editorimage textures/skies_sd/siwa_clouds.tga
q3map_lightimage textures/skies_sd/siwa_clouds.tga
q3map_sun 0.75 0.70 0.6 135 199 49
q3map_skylight 75 3
sunshader textures/skies_sd/siwasunbright
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nodlight
surfaceparm sky
skyparms textures/skies_sd/wurzburg_env/sky 512 textures/tankrace/env/tankrace
{
fog off
clampmap textures/skies_sd/siwa_mask.tga
tcMod scale 0.956 0.956
tcMod transform 1 0 0 1 -1 -1
rgbGen identityLighting
}
}
textures/tankrace/doors_metal //24 bit .tga
{
surfaceparm metalsteps
implicitMap -
}
textures/tankrace/water // .jpg but this one does work i believe
{
nocompress
qer_editorimage textures/tankrace/water.tga
qer_trans .25
q3map_globaltexture
surfaceparm water
surfaceparm trans
surfaceparm nonsolid
surfaceparm lightfilter
tessSize 256
cull disable
deformVertexes wave 100 sin 0 2 .5 .25
{
map textures/tankrace/water
rgbGen identity
blendFunc blend
alphaGen const 0.7
depthWrite
tcmod scale .5 .5
tcmod turb 0 0.01 0 0.15
tcmod scroll .01 .01
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbgen identity
depthFunc equal
}
}
i also have 3 textures without shader and they do work

