Constructing Planetary Units

TL;DR
  1. Pick a formation type and class, which will provide a unit baseline outlining mandatory and optional slots
  2. Pick equipment and training for every mandatory slot and whichever optional slots are wanted
  3. Calculate the traits, costs and size
  4. Pick a name for this unit blueprint
  5. Raise the new unit


Define Unit Baseline
Pick a formation type and, based on that, a class

Each formation type represents a specific combat branch or fighting arm, such as infantry, cavalary, armour and so on. Each class represents a specific formation, deployment or doctrine associated with them, such as mechanised infantry or airborne infantry.

Based on the type and class, a unit baseline will have a collection of traits, costs and slots.

We specify traits and costs as tuples based on operator, factor and the trait itself, eg. '=2Assault' means a base value of 2 applied to the Assault trait. Available traits include: Assault, Defend and Survive; for costs these would be Raise and Maintain. Available operators would be base ('='), add ('+'), subtract ('-'), and multiply ('*'), with multiplication factors expressed as numeric or percentile with a '%'. For now, these are collected in a list and may be summed where the operator and trait are the same

We specify slots as a list of equipment and a list of training, with each slot within them marked as either mandatory or optional, eg M:Uniform. Defining a unit relies on filling these slots. Again, these are collected in a list

Specify Equipment and Training
Each slot may contain one piece of equipment or set of training. Each of these has a name, slot it fills and set of traits. Specifying either equipment or training into a unit baseline means we simply collect the traits from the unit baseline with those from each slot. You must fill each mandatory slot

Calculate Traits and Costs
Our formulae is simple: sum the factors of each trait-operator pair, then for each trait take the factor of the base and multiply it by the multiplier factor then add the result of the sum of addition and subtraction factors

Likewise for costs

Naming and Raising
Finalise the unit blueprint with a name and, when required, raise it. Final stats will take into account the raising process, which may include any specific Genotype selection or Cadre training

Available equipment and training, units, classes and formation types will be expanded upon as you unlock new technologies