Skip to content

Trainable

Changed in 0.1.0

Allows an object of this type to accumulate experience from kills and receive veterancy-crate promotions.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
Context-dependent`yes` for AircraftTypes, InfantryTypes, and UnitTypes; BuildingTypes start at `no` and must set the key to earn from kills or receive a veterancy-crate promotion.

When an object is destroyed, the object that dealt the fatal damage earns experience only if its type is Trainable=yes. An object of a Trainable=no type never gains experience, however much it destroys.

A veterancy crate also checks the key. It promotes every Trainable=yes object on the ground within CrateRadius of the crate, whoever owns it, so enemy and neutral objects rise alongside the collector’s own. An object of a Trainable=no type is skipped and keeps any rank it already holds.

Other ways of giving a rank ignore this key. An object promoted by deploying from a promoted vehicle, by a reinforcement’s VeteranLevel, or by an armory holds that rank and everything it unlocks, whatever this setting says.

See also — veterancy

History

  1. Changed0.1.0

    Honor Trainable for veterancy crates