Help with scoreboard pic.

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
acdc992004
Corporal
Posts: 31
Joined: Thu Jul 07, 2005 11:03 pm
Location: Chicago, IL
Contact:

Help with scoreboard pic.

Post 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"??
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post 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.
PKM
General
Posts: 1888
Joined: Tue Aug 09, 2005 4:43 pm
Location: Philadelpia but stuck in San Antonio TX (hell)

Post 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.
i'm not f****** angry, i'm from philadelphia .
Image
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post 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.
Post Reply