Battlezone: Combat Commander

Battlezone: Combat Commander

Not enough ratings
Editing Team Colors
By DustRider
A quick how to on changing the colors in multiplayer team games
   
Award
Favorite
Favorited
Unfavorite
Intro
Battlezone Combat Commander allows you to reconfigure the colors each team uses in multiplayer. These changes are purely cosmetic, and do not effect game play. Ergo if you make any changes you'll still get to play with your friends and wont get a version mismatch.
If you are the host, everyone will be able to see what you set the color choices to if they have it set to /setservercolors.
Navigation to the GamePref.ini
The capability to change the colors in multiplayer rests within the config file "GamePrefs.ini". You'll find this in the sub folders of BZ2R.
The path will look alittle like this;Steam\steamapps\common\BZ2R\bz2r_res\config.

In that folder you can open GamePrefs with Notepad, Notepad++, or even Visual Studio Code.
Also using the search function while in the root directory of BZCC will do the trick, just search for GamePrefs.ini
The GamePrefs.ini
Save a copy. Before you edit it save a copy to your documents, or desktop, this will be the document we edit. I'll explain why in moment

Once you open the file you should notice that every section is clearly explained. Specificaly the first section;
// The following are settable by the user. They are assigned to the
// default values, as if this file was empty. Comments above them
// should indicate what possible settings are available.

// Note that only things that cannot affect game synchronization are
// in here (views, etc).

// Further update: please *DO* *NOT* edit this file. Make a copy of LocalPrefs.ini
// in your addons folder and adjust your items there. This is for advanced
// users only.

Two things pop out "...things that cannot affect game sync..." and "*DO* *NOT* edit this file.".
The first reinterates that changes don't effect game play.
The next sounds troubling but dont fret, the file we are editing will be moved to a new location. It will go to Documents and be under my games, Battlezone Combat Commander. After that you'll have to create 2 new folders under the folder Battlezone Combat Comander. The first being addon, and inside the addon will be a folder titled Config. End result looking like this; Documents\My Games\Battlezone Combat Commander\addon\Config.
Once you move it to that new location it must be renamed to "localprefs.ini". Now open the new localprefs.ini for these changes.
Moving along!
Adjusting the LocalPrefs.ini
We'll just scroll down the list of items till we get to the section that deals with team colors.

// Default teamcolors for DM/FFA. These will be pushed from the server
// to clients. If you don't like what the server pushed to you as a
// client, look at the console commands game.setdefaultcolors,
// game.setgameprefscolors, game.setservercolors,
// game.swapteamcolors. There are also network chat commands
// "/setdefaultcolors", "/setgameprefscolors", "/setservercolors", and
// "/swapteamcolors" , which do the same thing.

This section like all others, is explained in detail.
We'll go over network chat commands in regard to setting color later.
The next few sections walk you through how to change the values to get the color of your choice.
Configuring each value to get a desired color is trial and error. Luckly as you might have noticed there is already a list for diffrent color presets in the "// FFA & DM colors, one per team." section.
Begin the Picture Spam!
" 0 0 0 0" // no special color
"255 31 31 255" // red
"255 255 31 255" // yellow
" 31 255 31 255" // green
" 31 31 255 255" // blue
" 31 255 255 255" // cyan
"255 31 255 255" // violet
"255 255 255 255" // white
" 31 31 31 255" // black











Now to be fair, here's all the warrior tanks in that same order so you have an idea how they're effected

Adjusting Deathmatch, and "Free For All" Color sets.
This section of the config deals with the presets of DM and FFA game mode Player colors

// FFA & DM colors, one per team.
TeamColorFFA0 = " 0 0 0 0" // no special color
TeamColorFFA1 = "255 31 31 255" // red
TeamColorFFA2 = "255 255 31 255" // yellow
TeamColorFFA3 = " 31 255 31 255" // green
TeamColorFFA4 = " 31 31 255 255" // blue
TeamColorFFA5 = " 31 255 255 255" // cyan
TeamColorFFA6 = "255 31 255 255" // violet
TeamColorFFA7 = "255 255 255 255" // white
TeamColorFFA8 = " 31 31 31 255" // black
TeamColorFFA9 = " 0 0 0 0" // no special color
TeamColorFFA10= " 0 0 0 0" // no special color
TeamColorFFA11= " 0 0 0 0" // no special color
TeamColorFFA12= " 0 0 0 0" // no special color
TeamColorFFA13= " 0 0 0 0" // no special color
TeamColorFFA14= " 0 0 0 0" // no special color
TeamColorFFA15= " 0 0 0 0" // no special color

BZCC supports up to 15 players. Color variety cuts out after 8 players. Here is where you can change that. You can only change what is within the Quote marks " ". So if you wanted everyone to be red for "Best Korea" or a blood brawl it'll look like this;

TeamColorFFA0 = "255 31 31 255" // red
TeamColorFFA1 = "255 31 31 255" // red
TeamColorFFA2 = "255 31 31 255" // red
TeamColorFFA3 = "255 31 31 255" // red
TeamColorFFA4 = "255 31 31 255" // red
TeamColorFFA5 = "255 31 31 255" // red
TeamColorFFA6 = "255 31 31 255" // red
TeamColorFFA7 = "255 31 31 255" // red
TeamColorFFA8 = "255 31 31 255" // red
TeamColorFFA9 = "255 31 31 255" // red
TeamColorFFA10= "255 31 31 255" // red
TeamColorFFA11= "255 31 31 255" // red
TeamColorFFA12= "255 31 31 255" // red
TeamColorFFA13= "255 31 31 255" // red
TeamColorFFA14= "255 31 31 255" // red
TeamColorFFA15= "255 31 31 255" // red

It helps to just copy and paste not only the whole value but the // red as well. Makes it look spiffy.

Or if you wanted to alternate

TeamColorFFA0 = "255 31 31 255" // red
TeamColorFFA1 = "255 31 255 255" // violet
TeamColorFFA2 = "255 31 31 255" // red
TeamColorFFA3 = "255 31 255 255" // violet
TeamColorFFA4 = "255 31 31 255" // red
TeamColorFFA5 = "255 31 255 255" // violet
TeamColorFFA6 = "255 31 31 255" // red
TeamColorFFA7 = "255 31 255 255" // violet
TeamColorFFA8 = "255 31 31 255" // red
TeamColorFFA9 = "255 31 255 255" // violet
TeamColorFFA10= "255 31 31 255" // red
TeamColorFFA11= "255 31 255 255" // violet
TeamColorFFA12= "255 31 31 255" // red
TeamColorFFA13= "255 31 255 255" // violet
TeamColorFFA14= "255 31 31 255" // red
TeamColorFFA15= "255 31 255 255" // violet

The point is that it must be the same format with every space;
TeamColorFFA1 = "Value Value Value Value"
TeamColorFFA11= "Value Value Value Value"
Adjusting Strategy and MPI colors
The section after FFA & DM colors deals with team colors in Strategy and MPI.

// 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 = "255 31 31 255" // red
TeamColorTeamB = "31 31 255 255" // blue

If youre tired of the ol' Red vs Blue, here is where you can change it up.
A fun Idea is setting colors to this

TeamColorTeamA = " 0 0 0 0" // no special color
TeamColorTeamB = "255 255 255 255" // white

Now its The forces of the ISDF vs the AAN Loyalists from the campain.

The Black Dog units from the Flesh Storm mod;

TeamColorTeamA = "255 255 31 255" // yellow
TeamColorTeamB = "255 31 31 255" // red

Or you just realy like your units to be black;

TeamColorTeamA = " 31 31 31 255" // black
TeamColorTeamB = "31 31 255 255" // blue

Or you want everyone pink or violet!

TeamColorTeamA = "255 31 255 255" //violet
TeamColorTeamB = "255 31 255 255" //violet

When a match starts you can open the chat box and type in "/swapteamcolors" if you end up on team B with the other choice.

Adjusting colors for IA (Single Player)
It is also possible to change the color of the units in the Instant Action games via the in game console. These commands will only turn your units to the default color of red, while the AI is turned Blue.

Pull up the consle by pressing "ctrl ~" and type in "game.teamcolors 1"
Its just a simple on and off function

"game.teamcolors 1" "ON"
"game.teamcolors 0" "OFF"

The Game will use the default red vs blue for the two teams.

Unfortunately typing in "game.swapteamcolors" does not swap team colors, it turns the human team purple while the AI remains blue. I assume Its only swaping it between Team 1 (Humans) and
Team 8 while Team 2 is the AI.

If you have already adjusted the FFA colors as stated in the guide you can set those as the colors that the game uses by typing "game.teamcolors 2"
The Human team will use the first team and the AI will use the second team.

Special thanks to F9Bomber for bringing this to light And then to the ceaseless help from the folks on the discord General BlackDragon and Ded10c.

Close
It's no Root Beer recipe but it covers the basics. As you finish just select the save function for NotePad and it'll overwrite the old config and your changes will be appilied in your next game on a server. Ensure that it saved as LocalPrefs.ini in your Documents\My games\Battlezone Combat Commander \Addon\Config folder. If you accidentally edited the original just move the edited original out of the BZ2R directory. Then use steam to verify intergity of game files. It'll detect that it's missing and install a new unedited file.
Whether or not you're the host of a game it will start out with the default colors. To utilise the changes you made you'll need to open the chat dialog while the match is on going and type in /help.
A list of commands will appear. Of those commands the following deal with color.
/setdefaultcolors
Sets the active game to the default colors
/setgameprefscolors
Sets the active game to use the information from the GamePrefs.ini or in our case the new LocalPrefs.ini
/setservercolors
Sets the active game to use the setting that the host is using whether it is from their GamePrefs.ini or they are set to default
/swapteamcolors
Swaps team colors between the two teams. Swaping again only swaps them back. It's not a color wheel.

To appy your changes open the chat dialog and type in
/setgameprefscolors
Then /swapteamcolors if necessary.

22 Comments
DustRider  [author] 12 Aug, 2019 @ 12:00am 
I just noticed that in the warrior tank color preview pictures. The one for black and no special color is the same screenshot. But thanks to the terrible choice of lighting I can't tell which color it is!
... I need to make a cave map MPI
DustRider  [author] 31 Oct, 2018 @ 2:59pm 
Just added in a section for IA. There wasn't as much to cover and there is a few strange quirks that tend to happen with using the other commands for color from typing in cmd.help
DustRider  [author] 29 Aug, 2018 @ 11:46pm 
Afro king this is only able to effect MP games. But when there is will theres a way to change those as well. Just have to dig.
The_Afro_King98 26 Aug, 2018 @ 11:59pm 
Great guide! I'm new to cracking open this game and I was wondering if it's possible to change the colors of units in Instant Action as well. Or is it only possible in multiplayer? (Those white ISDF units look REALLY nice)
DustRider  [author] 17 Aug, 2018 @ 9:58pm 
Default is -1? Gosh, I didn't even reliase that Sarun. That might just be the right trick to get individual colors to work durring team play games.
Sarun 17 Aug, 2018 @ 5:22pm 
// 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

I wonder if you have over looked this little snippet that is just below all the color values?
By default its -1
DustRider  [author] 19 May, 2018 @ 1:23pm 
Getting thug colors to work is a problem. It keeps going to default just like you said it would Blue Fox, just like everyone said. The setting is a relic so I'll take it out of the guide untill I have a proper explanation to get it working.
DustRider  [author] 18 May, 2018 @ 2:33pm 
Yeah I've been slacking on my part on trouble shooting the thug colors. But once I get off work I give it a thorough look. Probably bug the folks on discord.
Skyward Soul 18 May, 2018 @ 11:11am 
This is a great guide. I love being able to mix up the old red vs blue!

I can't get individual thug colors to work though. I even tried commenting out the TeamColorTeamA and TeamColorTeamB lines, but that just left me with default red and blue for everything.

Any suggestions? Is there something I'm missing?

You should be able to see my attempted LocalPrefs.ini here:
https://drive.google.com/open?id=1ZlFWFU1VhNXAdbMOz40U10EajQTSc9C8
DustRider  [author] 24 Apr, 2018 @ 10:22pm 
Heck you've got red, green, and violet. King Koopa I can't think of that one. I wonder if including a modifided localprefs.ini with the workshop would over ride the one in the documents. It'll have to be bounced around on the discord.