Force random colors - disables the color drop down for all players and sets them to the random option
Force random sides - disables the side drop down for all players and sets them to the random option
Force random teams - disables the team drop down for all players and sets them to the random option
Force random starts - disables the start drop down for all players and sets them to the random option
Also disables the ability to click on a spawn location on the map preview
Use Team/Start Mappings
Enables the drop downs beneath the option to select teams and starting locations
Automatically checks and disables Force Random Teams and Force Random Starts. These two options are required for this to work as expected.
The drop downs beneath this check box are in two column of mapping pairs. Each pair has a drop down for Team letter and Starting position, in that order.
When used, players will be auto assigned to random starting locations first (using existing code logic). Then, using the mappings, their teams are assigned. That information is then written to the spawn.ini for the game to pick up. This is all mostly done using existing code.
MPMaps.ini can set these properties for a given map as a list of "presets", so that all of the drop downs are auto populated when a map is selected. There is a drop down listing the presets for a given map (see screen shots for example). The first preset listed in the INI for a given map will be auto selected when a map is selected.
Specific custom map files can also have these properties specified to do the same as above.
When a map is selected that doesn't contain these mappings, the drop downs are cleared.
Compatible with cncnet, skirmish, and lan games
Overall cleanup/consolidation of code
Screenshots.
This image shows two pairs of columns, only one pair column of which is enabled. This is because the map currently selected only has a max player count of 4. Thus, only 4 mappings are required.
artifacts.zip
This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.
This provides a number of options:
Screenshots. This image shows two pairs of columns, only one pair column of which is enabled. This is because the map currently selected only has a max player count of 4. Thus, only 4 mappings are required.