HelpColor ScoreBoard

Posts 1–12 of 12 · Page 1 of 1
Color ScoreBoard
Hello, I am looking for the color control to the scoreboard.
These are the same as COD4?
And how to change the color of +50/+100 .. ?
Craa4k thank you in advance.
The scoreboard dvars I sent you.

+50,+100?? you mean

(50/255,100/255,34/255), that way?
+50 , +100 = Kill
To change the color when we 1(+) kill
For scoreboard I seek the "list" of all possible colors
Ex: "1 0.1 0 1" ..
I hope you comprent, sorry for my English .. =/
Quote Originally Posted by Craa4k View Post
+50 , +100 = Kill
To change the color when we 1(+) kill
For scoreboard I seek the "list" of all possible colors
Ex: "1 0.1 0 1" ..
I hope you comprent, sorry for my English .. =/
self thread maps\mp\gametypes\_rank::scorePopup( 100, 0, (1,0,0), 1 );

It will appear a red 100.
Thank you Yamato
I must put it where?
Quote Originally Posted by Craa4k View Post
Thank you Yamato
I must put it where?
where you have the kill code,

A easy one could be:

Killing()
{
while(1){self waittill("killed_enemy");self thread maps\mp\gametypes\_rank::scorePopup( 100, 0, (1,0,0), 1 );wait 0.05;}
}
I can not make it work: (
Go to _rank.gsc
Search this thread:
Code:
scorePopup( amount, bonus, hudColor, glowAlpha )
{
	self endon( "disconnect" );
	self endon( "joined_team" );
	self endon( "joined_spectators" );

	if ( amount == 0 )
		return;

	self notify( "scorePopup" );
	self endon( "scorePopup" );

	self.xpUpdateTotal += amount;
	self.bonusUpdateTotal += bonus;

	wait ( 0.05 );

	if ( self.xpUpdateTotal < 0 )
		self.hud_scorePopup.label = &"";
	else
		self.hud_scorePopup.label = &"MP_PLUS";
	level.pops = (0.4, 0.2, 1.0);
	self.hud_scorePopup.color = level.pops;
	self.hud_scorePopup.glowColor = level.pops;
	self.hud_scorePopup.glowAlpha = glowAlpha;

	self.hud_scorePopup setValue(self.xpUpdateTotal);
	self.hud_scorePopup.alpha = 0.85;
	self.hud_scorePopup thread maps\mp\gametypes\_hud::fontPulse( self );

	increment = max( int( self.bonusUpdateTotal / 20 ), 1 );
		
	if ( self.bonusUpdateTotal )
	{
		while ( self.bonusUpdateTotal > 0 )
		{
			self.xpUpdateTotal += min( self.bonusUpdateTotal, increment );
			self.bonusUpdateTotal -= min( self.bonusUpdateTotal, increment );
			
			self.hud_scorePopup setValue( self.xpUpdateTotal );
			
			wait ( 0.05 );
		}
	}	
	else
	{
		wait ( 1.0 );
	}

	self.hud_scorePopup fadeOverTime( 0.75 );
	self.hud_scorePopup.alpha = 0;
	
	self.xpUpdateTotal = 0;		
}
Change the code so it looks like the red 1 above.
and here can u change the colour level.pops = (0.4, 0.2, 1.0);
Oh Great! : D Thanks
For color that's happening how?
I do not find the color code, you have a link or something else? with all the code?
If I wanted green.

Craa4k.
Quote Originally Posted by Craa4k View Post
Oh Great! : D Thanks
For color that's happening how?
I do not find the color code, you have a link or something else? with all the code?
If I wanted green.

Craa4k.
( red, green, blue), so green should be (0,1,0)
Look in hud_message.gsc there is something called spashnotify just put it between */thread here/*
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us