AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Colors in scripting (https://forums.alliedmods.net/showthread.php?t=89132)

Swuifti 04-02-2009 17:18

Colors in scripting
 
x04 //green

But what about
x01
x02
x03
x05
x06
... and so on ??

alan_el_more 04-02-2009 17:22

Re: Colors in scripting
 
^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)

Swuifti 04-02-2009 17:26

Re: Colors in scripting
 
and xo2 ?

alan_el_more 04-02-2009 17:32

Re: Colors in scripting
 
Quote:

Originally Posted by Swuifti (Post 795699)
and xo2 ?

nothing

Swuifti 04-02-2009 17:33

Re: Colors in scripting
 
So only
^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
x04 //green

Well this is stupid :D

alan_el_more 04-02-2009 17:38

Re: Colors in scripting
 
Quote:

Originally Posted by Swuifti (Post 795706)
So only
^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
x04 //green

Well this is stupid :D

^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
^x04 green

fysiks 04-02-2009 19:25

Re: Colors in scripting
 
The developers of the game obviously had no need for it so why add it. In DOD we can't even do that. We only get yellow for chat. The only place we get to choose color is in menus.

Arkshine 04-02-2009 19:37

Re: Colors in scripting
 
Code:
// Radio and chat strings can have control characters embedded to set colors.  For the control characters to be used, one must be at the start of the string. // The control characters can be copied and pasted in notepad. //  = 0x02 (STX) - Use team color up to the end of the player name.  This only works at the start of the string, and precludes using the other control characters. //  = 0x03 (ETX) - Use team color from this point forward //  = 0x04 (EOT) - Use location color from this point forward //  = 0x01 (SOH) - Use normal color from this point forward

In a file for CS.


All times are GMT -4. The time now is 02:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.