Go to the first, previous, next, last section, table of contents.

Class-Restricted Unit Types

Sometimes the designer will want to make different sides have different types of units. Although this can be done by setting up scenarios appropriately, that won't close all the loopholes that might allow a side to get units that should only ever belong to another side.

The first step is to define a class for each side. For instance, a side named "Rome" might have a class "Roman", while the sides named "Aedui" and "Parisii" could both be in the class "barbarian".

UnitTypeProperty: possible-sides exp

This property restricts the unit type to only be usable by a side meeting the conditions of exp. If exp is a string, it restricts the unit type to only be usable by a side whose class includes a matching string. This can also be a boolean combination. Independent units belong to a side whose class is "independent". The default of "" allows the unit to belong to any side.


Go to the first, previous, next, last section, table of contents.