Team Color troubles

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
APCs r Evil
Sabre
Posts: 299
Joined: Sat Feb 19, 2011 4:13 am

Team Color troubles

Post 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.
"It is not only his right, but his duty...to find the verdict according to his own best understanding, judgment and conscience, though in direct opposition to the direction of the court." - John Adams
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Team Color troubles

Post 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.
Regulators
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
APCs r Evil
Sabre
Posts: 299
Joined: Sat Feb 19, 2011 4:13 am

Re: Team Color troubles

Post 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. :(
"It is not only his right, but his duty...to find the verdict according to his own best understanding, judgment and conscience, though in direct opposition to the direction of the court." - John Adams
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Team Color troubles

Post 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.
User avatar
Iron_Maiden
Bull Dog
Posts: 648
Joined: Fri Jul 22, 2011 2:01 am
Location: Revealing the Truth

Re: Team Color troubles

Post by Iron_Maiden »

Is it possible with the next patch to include a team color option button? Or perhaps customizable colors?
Known on FF.net as John Mccallistair, link provided below if you're interested.

https://www.fanfiction.net/u/5916137/John-Mccallistair
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Team Color troubles

Post 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
The Silence continues. The War Of Lies has no end.
Post Reply