Results 1 to 12 of 12
  1. #1
    Craa4k's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    France
    Posts
    24
    Reputation
    10
    Thanks
    2
    My Mood
    Sleepy

    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.

  2. The Following User Says Thank You to Craa4k For This Useful Post:

    Yamato (07-22-2011)

  3. #2
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    153
    My Mood
    Amazed
    The scoreboard dvars I sent you.

    +50,+100?? you mean

    (50/255,100/255,34/255), that way?

  4. #3
    Craa4k's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    France
    Posts
    24
    Reputation
    10
    Thanks
    2
    My Mood
    Sleepy
    +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 .. =/

  5. #4
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    153
    My Mood
    Amazed
    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.

  6. #5
    Craa4k's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    France
    Posts
    24
    Reputation
    10
    Thanks
    2
    My Mood
    Sleepy
    Thank you Yamato
    I must put it where?

  7. #6
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    153
    My Mood
    Amazed
    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;}
    }

  8. #7
    Craa4k's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    France
    Posts
    24
    Reputation
    10
    Thanks
    2
    My Mood
    Sleepy
    I can not make it work: (

  9. #8
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    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);

  10. The Following User Says Thank You to mathieutje12 For This Useful Post:

    Craa4k (07-25-2011)

  11. #9
    Craa4k's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    France
    Posts
    24
    Reputation
    10
    Thanks
    2
    My Mood
    Sleepy
    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.

  12. #10
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    153
    My Mood
    Amazed
    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)

  13. The Following User Says Thank You to Yamato For This Useful Post:

    Craa4k (07-25-2011)

  14. #11
    Craa4k's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    France
    Posts
    24
    Reputation
    10
    Thanks
    2
    My Mood
    Sleepy
    Yamato mathieutje12 and thank you! <3
    Last question, and you it possible to "delete" message
    "Deadly Strike, .. A shot dead."

    Screen: Steam Community :: ^5Craa4k^7Modz :: Screenshots

    Craa4k.

  15. #12
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    Look in hud_message.gsc there is something called spashnotify just put it between */thread here/*

Similar Threads

  1. How to get ur name in color?
    By MysticDude in forum Gunz General
    Replies: 8
    Last Post: 05-26-2007, 08:46 AM
  2. to put the color ?
    By leesan in forum WarRock - International Hacks
    Replies: 2
    Last Post: 02-21-2007, 04:54 PM
  3. Questions about making colored models
    By zelda803 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 02-04-2006, 07:36 PM
  4. Color Test
    By Chronologix in forum Art & Graphic Design
    Replies: 5
    Last Post: 01-16-2006, 09:04 PM
  5. [SEARCHING] Color Aimbot v3
    By stfustfu in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-13-2006, 03:51 AM