Hi Lex,
first of all, welcome
Code: Select all
textures/base_wall/main_q3abanner
{
q3map_lightimage textures/base_wall/main_q3abanner.tga
q3map_surfacelight 100
{
map textures/base_wall/main_q3abanner.tga
rgbGen wave square 0 1 0 .5
}
{
map textures/base_wall/comp3text.tga
blendfunc add
rgbGen identity
tcmod scroll 3 3
}
{
map textures/base_wall/comp3textb.tga
blendfunc add
rgbGen identity
tcmod scroll 3 3
}
{
map $lightmap
rgbGen identity
blendfunc gl_dst_color gl_zero
}
{
map $lightmap
tcgen environment
tcmod scale .5 .5
rgbGen wave sin .25 0 0 0
blendfunc add
}
}
I think you are not very familiar with shaders?!
So this above is a shader file, which controls the changes/effects on textures.
- main_q3abanner.tga = the Q3Arena text
- comp3text.tga = the red line of the banner that moves
- comp3textb.tga = the noisy texture for tvscreen fx
EDIT: I'm not going to explain each line of a shader, you also have to do something , go and read the
shadermanual for further explanations.
Now you simply have to copy the following shadertext in a editor/text-program and rename the file from *.txt to *.shader
Replace the paths and texturenames to fit yours.
Also name the shaderfile something that fits your map ie. yourmap.shader.
Then you have to add the name of your shader to the shaderlist in the scripts subfolder, where you also have to move your shaderfile.
The pic you want to have in your banner should be the same size as the q3abanner (256x64 px).
Finally your shader should look like this (of course with replaced names):
Code: Select all
textures/yourmap/yourbanner
{
q3map_lightimage textures/yourmap/yourbanner.tga
q3map_surfacelight 100
{
map textures/yourmap/yourbanner.tga
rgbGen wave square 0 1 0 .5
}
{
map textures/base_wall/comp3text.tga
blendfunc add
rgbGen identity
tcmod scroll 3 3
}
{
map textures/base_wall/comp3textb.tga
blendfunc add
rgbGen identity
tcmod scroll 3 3
}
{
map $lightmap
rgbGen identity
blendfunc gl_dst_color gl_zero
}
{
map $lightmap
tcgen environment
tcmod scale .5 .5
rgbGen wave sin .25 0 0 0
blendfunc add
}
}
To understand shaders better you should read the shadermanual
here.
Have fun
sumatra