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"??
Help with scoreboard pic.
Moderator: Moderators
-
acdc992004
- Corporal
- Posts: 31
- Joined: Thu Jul 07, 2005 11:03 pm
- Location: Chicago, IL
- Contact:
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.
"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.
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.
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.
