WAC Scripting Color Codes

Post Reply
User avatar
Country Joe-PG-
Squad Member
Squad Member
Posts: 2119
Joined: Sun May 30, 2010 12:29 pm
Location: USA

WAC Scripting Color Codes

Post by Country Joe-PG- »

The codes below will change the color of the consol and text scripts in your WAC file. Got them from Dave61's site.
Bubba and I have tested them and they work great!


Here's an example of how I used them:

//Wave sound: I'm laying down cover fire! GO GO GO!!!
if past (5) and never () then
consol("<cff5000>PROCEED TO THE FIRST OBJECTIVE AREA.") <------------Shows as Orange
text("<cf50000>ELIMINATE ALL ENEMY AT WP ALPHA")<-------------- Shows as Red
wave(Alpgogo1.wav,100)
endif

Here is a list of the color codes you can use to change
the color of the WAC scripts:
______________________________________________________________________________

<cfff500> or <co01> = Yellow

<co30> = Light Yellow

<co100> = Dark Yellow

<cff5000> = Orange

<cf50000> = Red

<cf500000> or <c300004> = Dark Red

<c5000> = Dark Green

<cf500> = Green

<co99> = Light Blue

<cff50> = Turquoise

<cfffff5> = White (Don't see any reason to use this one)

cr953o3> = Gray

<cffff50> = Tan

<cf> or <ca> = Black

<cf50> or <cab> = Dark Blue

<cff5> or <ca0> = Blue

<ca0014> = Purple
Bubbachuk-PG- wrote:

To get the map name to show up in color in the server lobby, I'm guessing you would have to use the color code in a bin file so I set up a bin file for the map Medevac and the map name shows up in the lobby in color.
Post Reply