Results 1 to 6 of 6
  1. #1
    crinklymilk's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    180
    Reputation
    10
    Thanks
    516
    My Mood
    Relaxed

    Which part of this defines the colour?

    Simple ESP script, which part of this defines the colour of the name plates above players heads?

    Code:
    espIndex = _this select 1;
    
    setGroupIconsVisible [false,true];
    while {(vars select espIndex) == "1"} do
    {
    	_i = 0;
    	_j = count allUnits;
    	for "_i" from 0 to _j do
    	{
    		_unit = allUnits select _i;
    		if (alive _unit && player != _unit) then
    		{
    			_group = group _unit;
    			_group addGroupIcon ["b_inf", [0,0]];
    			_group setGroupIconParams [[1,1,1,1],format ["%1 - %2m", name _unit, ceil (_unit distance player)],0.8,true];
    			
    		};
    	};
    	
    	sleep 1;
    	
    	_i = 0;
    	_j = count allUnits;
    	for "_i" from 0 to _j do
    	{
    		_unit = allUnits select _i;	
    		_group = group _unit;
    		clearGroupIcons _group;
    	};
    };

  2. #2
    Proficy Hacks's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    209
    Reputation
    35
    Thanks
    38
    My Mood
    Angelic
    I'd bet that you can't change the colour

  3. #3
    crinklymilk's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    180
    Reputation
    10
    Thanks
    516
    My Mood
    Relaxed
    This script and another both came from the same menu, this one is white esp:

    Code:
    espIndex = _this select 1;
    
    setGroupIconsVisible [false,true];
    while {(vars select espIndex) == "1"} do
    {
    	_i = 0;
    	_j = count allUnits;
    	for "_i" from 0 to _j do
    	{
    		_unit = allUnits select _i;
    		if (alive _unit && player != _unit) then
    		{
    			_group = group _unit;
    			_group addGroupIcon ["b_inf", [0,0]];
    			_group setGroupIconParams [[1,1,1,1],format ["%1 - %2m", name _unit, ceil (_unit distance player)],0.8,true];
    			
    		};
    	};
    	
    	sleep 1;
    	
    	_i = 0;
    	_j = count allUnits;
    	for "_i" from 0 to _j do
    	{
    		_unit = allUnits select _i;	
    		_group = group _unit;
    		clearGroupIcons _group;
    	};
    };
    And this one is for blue esp:

    Code:
    if (isNil "playericons") then {playericons = true;} else {playericons = !playericons};
    if(playericons) then {titleText ["Player ESP activated!","PLAIN DOWN"]; titleFadeOut 4;};
    setGroupIconsVisible [false,true];
    while {playericons} do {
    	_i = 0;
    	_j = count allUnits;
    
    	for "_i" from 0 to _j do
    	{
    		_unit = allUnits select _i;
    		if (alive _unit && player != _unit) then{
    			_group = group _unit;
    			_group addGroupIcon ["b_inf", [0,0]];
    			_group setGroupIconParams [[0,0,1,1],format ["%1 - %2m", name _unit, ceil (_unit distance player)],0.8,true];
    		};
    	};
    	sleep 1;
    	_i = 0;
    	_j = count allUnits;
    	for "_i" from 0 to _j do
    	{
    		_unit = allUnits select _i;	
    		_group = group _unit;
    		clearGroupIcons _group;
    	};
    };
    
    titleText ["Player ESP deactivated!","PLAIN DOWN"]; titleFadeOut 4;};
    I think its this part that changes the colour

    Code:
    [[0,0,1,1]
    But I'm not sure what values to put in etc.

  4. #4
    Dubw0w's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    354
    Reputation
    10
    Thanks
    66
    My Mood
    Hungover
    Quote Originally Posted by crinklymilk View Post
    I think its this part that changes the colour

    Code:
    [[0,0,1,1]
    But I'm not sure what values to put in etc.
    Uhhh.Not sure,but it might use some kind of color codes.
    example: red - 255.0.0

    Take a look here CSS Color Codes
    ?

  5. #5
    crinklymilk's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    180
    Reputation
    10
    Thanks
    516
    My Mood
    Relaxed
    Quote Originally Posted by Dubw0w View Post
    Uhhh.Not sure,but it might use some kind of color codes.
    example: red - 255.0.0

    Take a look here CSS Color Codes
    Thanks, I'll try that.

  6. #6
    typh0's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    231
    Reputation
    10
    Thanks
    35
    My Mood
    Yeehaw
    Quote Originally Posted by Dubw0w View Post
    Uhhh.Not sure,but it might use some kind of color codes.
    example: red - 255.0.0

    Take a look here CSS Color Codes
    It follows [red,green,blue,alpha] https://community.bistudio.com/wiki/Color

    Might be easier for you to miss out the alpha part so using [r,g,b]. [1,0,0] or [255,0,0] would give you red. 1 = 255.

    Skype: MrAlexc921

    Youtube: MrAlexc92

    Stream: MrAlexc





Similar Threads

  1. Replies: 17
    Last Post: 06-08-2012, 02:56 PM
  2. this is the 17,000 thread
    By braccini8 in forum Spammers Corner
    Replies: 0
    Last Post: 12-25-2007, 12:38 AM
  3. sorry to put this in the wrong place but
    By l3artt in forum WarRock - International Hacks
    Replies: 14
    Last Post: 07-20-2007, 02:16 PM
  4. Lol This Is The Best Shit I ever See XD
    By EdenAsus in forum General
    Replies: 7
    Last Post: 07-18-2007, 02:24 AM
  5. this does the hard work for u a mapconverter...
    By prox32 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 05-06-2007, 11:38 AM