Adding Score Board Picture Top Right (TAB Button)

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
FIVEBOY
Colour Sergeant
Posts: 94
Joined: Thu Feb 27, 2003 3:09 pm
Location: England
Contact:

Adding Score Board Picture Top Right (TAB Button)

Post by FIVEBOY »

Hi all thx for the help you given me in the past but i got a new problem :(

I would like to have a image in the standard top right corner when you press tab, how do i do this ???? idiot guide needed :) i have manage to get a start up picture :)

what size does the image has to be??
Where woould the file stored
What do i script and where??

many thx dd fiveboy
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

dmloading

Post by tltrude »

The tga image has to be in "textures\mohmenu\dmloading", if it is deathmatch. And, the script looks somthing like this:

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "mohdm2"

Notice that only the name of the image is used and not the ".tga" extention. The above picture is in pak1.pk3 .
Tom Trude,

Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

does it matter what size or does it automatically resize it?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

size

Post by tltrude »

512 X 512 comes out looking stretched, so maybe 384 X 512 would be better.
Tom Trude,

Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

is that x y or y x?
Post Reply