• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How to add new text colors in TFS 1.1?

Oneda

Aspiring Spriter
Joined
Dec 3, 2013
Messages
159
Solutions
2
Reaction score
104
Location
Brazil
How am I supposed to add new text colors in TFS 1.1? Also, if possible, could someone link me a image with all colors and their respective IDs?

Att, Oneda.
 
Very nice! I'll introduce new elements in my server with this, thx!

Edit:
If you don't know what colors do you have in your server for the textcolor, just look for this in const.h.

Code:
enum TextColor_t
{
   TEXTCOLOR_BLUE     = 5,
   TEXTCOLOR_GREEN     = 18,
   TEXTCOLOR_TEAL     = 35,
   TEXTCOLOR_LIGHTGREEN   = 66,
   TEXTCOLOR_DARKBROWN   = 78,
   TEXTCOLOR_LIGHTPURPLE   = 83,
   TEXTCOLOR_LIGHTBLUE   = 89,
   TEXTCOLOR_MAYABLUE   = 95,
   TEXTCOLOR_DARKPURPLE   = 112,
   TEXTCOLOR_BROWN     = 120,
   TEXTCOLOR_GREY     = 129,
   TEXTCOLOR_DARKRED   = 144,
   TEXTCOLOR_DARKPINK   = 152,
   TEXTCOLOR_PURPLE   = 154,
   TEXTCOLOR_DARKORANGE   = 156,
   TEXTCOLOR_RED     = 180,
   TEXTCOLOR_PINK     = 190,
   TEXTCOLOR_ORANGE   = 192,
   TEXTCOLOR_DARKYELLOW   = 205,
   TEXTCOLOR_YELLOW   = 210,
   TEXTCOLOR_WHITE     = 215,

   TEXTCOLOR_NONE     = 255,
   TEXTCOLOR_UNKNOWN   = 256
};

This is mine on tfs 0.3.6pl1, I just added MAYABLUE and LIGHTPURPLE.

Greets!
 

Got those ones already, but is there a way to make more of them?

Example: TEXTCOLOR_WHATEVER = NEWCOLORID
 
Compare the color on the C++ chart and add in a respective name, compile, test n' repeat? And @whitevo uhm shouldn't as long as you stay within range

EDIT: Trying to find the chart on the forums seen it a week or so ago
 
Back
Top