With the default game rules, the base type setting will determine:
Starting power for each player (same for all players)
Number of technologies gifted to each player (same for all players)
Which map-defined buildings will be removed (different for INSANE AIs and Scavenger faction)
AI players set to "Insane" difficultly level will not lose as many structures as other AI or human players.
Scavenger bases are not affected by the base type setting, they are controlled by the scavengers setting.
Using it in your scripts
Because the base type setting affects starting structures, power and research, AI scripts should adapt to the starting conditions caused by different base types. For example, build orders and initial unit production should take advantage of pre-placed buildings and available droid components.
For full details of the effects of the base type setting on starting conditions, see: Player Initialisation.
Availability STABLE
Requires:
Warzone 3.1 Beta 1 and above.
In Warzone 3.1 Beta 7, rules.js was updated to change the way that initial technology is enabled based on the baseType setting.
Contents
Jump to:
Constants
The baseType global will be set to one of the following:
CAMP_CLEAN — Base structures will be removed at the start of the game, except for Scavengers and "Insane" AIs.
CAMP_BASE — Walls, gates, defences, HQ and cyborg factory will be removed at the start of the game. Insane AIs keep their walls and defences.
CAMP_WALLS — All structures will remain at the start of the game.