TiberiumHeal
Whether an object mends itself while standing on Tiberium, and how often every such object is mended.
Heals on Tiberium
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
While the object occupies a Tiberium cell and is below full strength, it regains its type’s repair step — IRepairStep for infantry, RepairStep for everything else — each time the global interval elapses, and the last step is clamped to full strength. Unlike SelfHealing=yes, which stops at the yellow line, this restores an object completely. Only infantry, vehicles and aircraft heal this way; a building’s flag never reaches the healing path. The TIBERIUM_HEAL ability from VeteranAbilities or EliteAbilities reaches the same path.
The flag has a second effect on every object type, buildings included: an object destroyed with it set spews first-growth Tiberium into five cells around it — north-west, north, east, south and west. Its own cell takes none. The north-west corner is reached rather than the centre because the list opens with the no-direction marker, which the step that reads it folds round to that corner instead of standing still.
Healing interval
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- floating point
- When omitted
.0167
The value is a fraction of a minute, multiplied by 900 frames and truncated, giving one healing step every 15 frames at the default. The test is against the global frame counter, so every object standing in Tiberium with TiberiumHeal=yes is healed on the same frames. A value between zero and 1/900 truncates to a zero interval and crashes the game the moment a damaged object with the flag occupies Tiberium.