Page 1 of 1

Help with scoreboard pic.

Posted: Wed Aug 10, 2005 11:11 pm
by acdc992004
How do i point to the scoreboard pic on the scr. file. Do i just put in the name or like setcvar "g_scoreboardpic" "loading"
OR
do i have to put a path? like textures/mohmenu/dmloading/loading

ALso some one said that its important to put none there.? setcvar "g_scoreboardpic" "none"??

Posted: Thu Aug 11, 2005 8:51 am
by At0miC
use "g_scoreboardpic" "none" if you don't want an image in the scoreboard screen.
"g_scoreboardpic" "my_shader"s a link to the shader of the image.

example, this is your shader of the image:

my_scoreboard_image
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
map $whiteimage
}
{
clampMap textures/mohmenu/dmloading/myscoreboardimage.tga
blendfunc gl_one_minus_src_alpha gl_src_alpha
}
}

now you have to use "g_scoreboardpic" "my_scoreboard_image"

anyway if you want the same image as in the loadingscreen, just use the same shader, you don't have to make an other one.

Posted: Thu Aug 11, 2005 5:08 pm
by PKM
so wait, you have to put the name of the shader you use as the target and not the name of the image ?

geez go figure. the only time i've been able to get a scoreboard pic is by sheer accident because i always tried to put "loading_mymap" as the target.

Posted: Thu Aug 11, 2005 6:22 pm
by At0miC
Yes the name of the shader is the target and not the name of the image. But it might be that the name of the shader is just the same as the name of the image.
And the shader + image of the loadingscreen can also be used for the scoreboard picture, unless if you want a different image for the scoreboard.

btw, use the size 512 x 512 for your image.