Page 1 of 1
Team Color troubles
Posted: Fri Jun 22, 2012 4:59 pm
by APCs r Evil
Is there a way to disable team colors for a specific map? Preferably a var?
I know about game.teamcolors = 0 but that's not going to work, the solution needs to always affect all players on a map.
Re: Team Color troubles
Posted: Fri Jun 22, 2012 5:30 pm
by Zero Angel
You can look up all the vars by downloading the DLL source code and looking in the /network/vars.txt file -- I believe the team color var is listed there.
Re: Team Color troubles
Posted: Fri Jun 22, 2012 6:41 pm
by APCs r Evil
Didn't see anything about team colors... Oh well, that was just the easy way, and the easy way never seems to work anyway.

Re: Team Color troubles
Posted: Fri Jun 22, 2012 7:52 pm
by Red Spot
Could give you a code-snipped to put into a custom dll, and matching UI-tweaks, so mappers can leave behind their 'handpicked colors' for players to choose from.
Let me know if want to take that route.
Re: Team Color troubles
Posted: Fri Jun 22, 2012 8:10 pm
by Iron_Maiden
Is it possible with the next patch to include a team color option button? Or perhaps customizable colors?
Re: Team Color troubles
Posted: Fri Jun 22, 2012 8:30 pm
by MrTwosheds
team colors are fully customisable via Localprefs.ini.
This will set colors per server.
I am not aware of any way you can set these per map. Custom dll possibly.
[UserPrefs]
// FFA & DM colors, one per team.
TeamColorFFA0 = "0 0 0 0" // no special color
TeamColorFFA1 = "202 189 132 255" // gold
TeamColorFFA2 = "154 177 214 255" // blue
TeamColorFFA3 = "128 255 128 255" // green
TeamColorFFA4 = "77 103 255 255" // blue
TeamColorFFA5 = "128 255 255 255" // cyan
TeamColorFFA6 = "172 115 206 255" // violet
TeamColorFFA7 = "255 255 255 255" // white
TeamColorFFA8 = "64 64 64 255" // black
TeamColorFFA9 = "170 118 94 255" // red
TeamColorFFA10 = "255 255 128 255" // yellow
TeamColorFFA11 = "118 170 94 255" // greeny
TeamColorFFA12 = "94 118 170 255" // blueish
TeamColorFFA13 = "128 128 128 255" // grey
TeamColorFFA14 = "192 192 0 255" // no special color
TeamColorFFA15 = "0 192 192 255" // no special color
// And, for teamplay (i.e. team strat or MPI) games, the teamcolors.
// TeamA is used for teams 1..5, and TeamB is for teams 6..10
TeamColorTeamA = "202 189 132 255" // gold
TeamColorTeamB = "154 177 214 255" // blue
// Teamcolors for MP games. 0 means off, 1 is team colors on,
// individual teams, 2 is team colors on, teamplay colors (teams 1-5
// the same, 6-10 the same). Use -1 for default (BZ2 1.0-1.2 behavior,
// which is 0 in SP, 1 or 2 in MP). Invalid values treated as -1
TeamplayColors = -1
// If this is true, the Free For All (i.e. non-teamplay) colors will
// be scrambled by each session's server so that there's a little more
// variety in their use. If false, the 1.0-1.2 teamcolor list is used.
ScrambleTeamplayColors = true