Basically, when I try to load a map that I have put some dynamic lighting in, I get an odd message about the shader that q3map2 generates.
Shader:
textures/andromeda_lights/u_lamp4_or_flicker
{
qer_editorimage textures/andromeda_lights/u_lamp4_or.tga
q3map_lightimage textures/andromeda_lights/u_lamp4_or.blend.tga
q3map_surfacelight 5000
surfaceparm nomarks
q3map_lightstyle 1
{
map $lightmap
rgbGen wave noise 0.75 0.25 0 10
}
q3map_stylemarker
{
map textures/andromeda_lights/u_lamp4_or.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
{
map textures/andromeda_lights/u_lamp4_or.blend.tga
blendfunc GL_ONE GL_ONE
rgbGen wave noise 0.75 0.25 0 10
}
}
Error Message:
Tableforfunc called with invalid funtion ‘6’ in shader sainttourney3/4E699F353325DB8F6F77123D3A86FF36
Section in Shader with Problem:
sainttourney3/4E699F353325DB8F6F77123D3A86FF36
{ // Q3Map2 defaulted
{
map $lightmap
rgbGen identity
}
// Q3Map2 custom lightstyle stage(s)
{
map maps/sainttourney3/lm_0002.tga
blendFunc GL_SRC_ALPHA GL_ONE
rgbGen wave noise 0.75 0.25 0 10 // style 1
alphaGen wave noise 0.75 0.25 0 10 // style 1
tcGen lightmap
}
{
map textures/andromeda_trim/u_trm64_2.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
I was hoping that someone might be able to enlighten me on what’s going on here…
:banghead:


… What sort of value would give me about the same effect?