Stance Modding

Stances are a type of entity that brigades, forts and city can switch between to receive defined bonuses. The general rules of entity modding apply to stances; the contents of the entity defined can have the following tags:

In addition, the following tags can be defined for stances given the class brigadestance, ambushstance or battlelinestance.

In addition, the following tags can be defined for stances given the class battlelinestance.

Formation Definition
Brigade stances need a formation definition with the attribute class="formationbox" and the following tags

An example stance file is posted here: rangedsupport brigadestance

Stances::RangedSupport

brigade 30

legion javelineer rangedinfantry

skirmish ranged

40 	 100

0.25

 

 1.3 		 1.8 		 1.2

0.15 		 0.1 0.1 		 4 		 true square

Attribute Definition
The bonuses given by upgrades, stances, skills, attached generals and inherent to some factions are called "upgrade attributes". When an entity has an upgrade attribute, it is defined in the following way: 0.5 The attrtype reflects what stat the attribute modified, the op reflects how it applies that change, and the data that's a child of it (0.5 in the given example) is how much it changes.

A list of valid attribute types can be found at the Upgrades page.

Default Stance Types

 * fortdefault
 * defense
 * growth
 * recruitment
 * resupply
 * trade
 * ambush
 * ambushranged
 * battleline
 * cavalryranged
 * general
 * noncombat
 * phalanx
 * rangedsupport
 * scorpiodistance
 * scorpioprecision
 * scout
 * ship
 * shipranged
 * siege
 * skirmish