Please, can someone explain me… :?
I found strange bug… with textures & shaders.
Star Gate with Tram Siege vs Beach Invsaion --> texture bug
Star Gate vs Beach Invsaion --> no texture bug
Tram Siege with Star Gate vs Beach Invsaion --> texture bug
Tram Siege vs Beach Invsaion --> no texture bug

Just… when map (actually .pk3 files) Star Gate (SG_1945_final.pk3) and Tram Siege (low_tram.pk3 or mp_tram.pk3) are on server with map Beach Invasion… it makes strange (for me :-p ) bug. In console it says that it couldn’t find ocean_m2.tga - yeah, beacouse this texture isn’t supplied with any those maps. Only ocean_m1.tga is supplied with Beach Invasion - it looks that reason it dirty .shader supplied with Star Gate, but… when on server isn’t map Tram Siege - it works fine :shock: . But in .shader file for map Tram Siege, I cannot find any ralations with map Beach Invasion (i checked shaders, textures, mapscripts…).
So… why this bug not happend till Tram Sïge is on server too…? :?:
In .shader file supplied with map Star Gate I found this parts:
textures/liquids/water_beach_old
// *********************************************************
// * Maxx *
// * Comment all changes *
// *********************************************************
{
qer_editorimage textures/liquids/ocean_m1.tga
qer_trans .5
q3map_globaltexture
surfaceparm trans
surfaceparm nonsolid
surfaceparm water
cull disable
// deformVertexes wave 64 sin 3 .7 .8 .25
deformVertexes wave 32 sin 0 5 .75 .2
// deformVertexes wave 32 sin 0 20 .25 .1
{
map textures/liquids/ocean_m1.tga
// blendFunc GL_dst_color GL_one
rgbgen identity
tcmod scale .4 .2
// tcmod stretch 0 1 .01 0 .25 1
tcmod scroll .00 .01
}
{
// map textures/liquids/water_m1.tga
map textures/liquids/ocean_m2.tga
blendFunc GL_dst_color GL_one
rgbgen identity
tcmod scale -.6 .5
// tcmod stretch 0 1 .01 0 .25 1
// tcmod rotate 5
tcmod scroll .01 .01
}
{
map $lightmap
blendFunc GL_dst_color GL_zero
rgbgen identity
}
// END
}
textures/liquids/water_beach
{
qer_editorimage textures/liquids/ocean_m1b.tga
qer_trans .5
q3map_globaltexture
surfaceparm trans
surfaceparm nonsolid
surfaceparm water
surfaceparm nomarks // don't play ripple effects when shooting into water
tesssize 256
cull disable
nofog
deformVertexes wave 160 sin 0 10 0 .3 // the chop
waterfogvars ( 0.1 0.1 0.1 ) 512
// waterfogvars ( 0.1 0.1 0.1 ) .005
{
fog on
map $lightmap
blendFunc GL_dst_color GL_zero
rgbgen identity
}
{
fog on
map textures/liquids/ocean_m1.tga
rgbgen identity
tcmod scale .4 .2
tcmod scroll .00 -.01
}
{
map textures/liquids/ocean_m2.tga
blendFunc GL_dst_color GL_one
rgbgen identity
tcmod scale -.6 .5
tcmod scroll -.01 -.01
}
}
I don’t need solution (I have it…), I want just some explainations of this bug.
Thanx in advance