hud question

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

hud question

Post by ViPER »

I saw a server running a mod with hud text that matches the exact color and size of the factfont used on top right corner "time left:"

can anybody tell me how thats done?

this is what im currently using, but its bigger and not as sharp as "time left:". and though im using white in this example - the yellow you get from this form is not as sharp as the "time left:".

Code: Select all

	huddraw_virtualsize 207 1
	huddraw_align  207 right top
	huddraw_font   207 "facfont-20"
	huddraw_rect   207 -168 467 100 14
	huddraw_color  207 1 1 1
	huddraw_alpha  207 1.0
	huddraw_string 207 "Allied Team Defending"
Last edited by ViPER on Sun Sep 11, 2005 7:28 pm, edited 1 time in total.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

huddraw_font 1 "facfont-20"
huddraw_color 1 0.70 0.60 0.05
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

ty, yea thats the color - how do i get the font smaller and it has a background shade to it?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

huddraw_virtualsize 207 0
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

if you mean backgroudn shade by transparancy thats ahpa .7
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Post Reply