Skip to content

Runtime object type

INI referenceEnumsRTTIType

Engine object-kind tokens accepted by INI settings such as `Factory=`.

Engine enum
RTTIType
Input form
Named token

These are engine object kinds, not identifiers a rules file defines. A Factory assignment says which kind of object a structure turns out rather than naming the particular vehicle, structure or other definition, and that page covers which of the kinds put a structure to work at all.

Most of the list never appears in an assignment at all. A kind is what the engine stamps on every live object and every definition so that the two can be told apart while the game runs, which is why so many of the names come in pairs: Building for a structure standing on the map against BuildingType for the rules entry it was made from. The rest name machinery no rules file can refer to — a cell, a production line, the record a fogged cell keeps of what stood in it, the tunnel route joining one tunnel mouth to another. A name matching nothing in the list resolves to <none> rather than leaving the stored value alone, so a misspelling is read as naming no kind.

Values

64 of 64

InputMeaningEngine constantStored value
<none>No runtime type.RTTI_NONE0
UnitLive vehicle object.RTTI_UNIT1
AircraftLive aircraft object.RTTI_AIRCRAFT2
AircraftTypeAircraft type definition.RTTI_AIRCRAFTTYPE3
AnimLive animation object.RTTI_ANIM4
AnimTypeAnimation type definition.RTTI_ANIMTYPE5
BuildingLive building object.RTTI_BUILDING6
BuildingTypeBuilding type definition.RTTI_BUILDINGTYPE7
BulletLive projectile object.RTTI_BULLET8
BulletTypeProjectile type definition.RTTI_BULLETTYPE9
CampaignCampaign definition.RTTI_CAMPAIGN10
CellMap cell object.RTTI_CELL11
FactoryProduction factory object.RTTI_FACTORY12
HouseLive player or house object.RTTI_HOUSE13
HouseTypeHouse type definition.RTTI_HOUSETYPE14
InfantryLive infantry object.RTTI_INFANTRY15
InfantryTypeInfantry type definition.RTTI_INFANTRYTYPE16
IsotileLive isometric tile object.RTTI_ISOTILE17
IsotileTypeIsometric tile type definition.RTTI_ISOTILETYPE18
LightA structure's sweeping searchlight beam.RTTI_LIGHT19
OverlayLive overlay object.RTTI_OVERLAY20
OverlayTypeOverlay type definition.RTTI_OVERLAYTYPE21
ParticleLive particle object.RTTI_PARTICLE22
ParticleTypeParticle type definition.RTTI_PARTICLETYPE23
ParticleSystemLive particle-system object.RTTI_PARTICLESYSTEM24
ParticleSystemTypeParticle-system type definition.RTTI_PARTICLESYSTEMTYPE25
ScriptLive team script object.RTTI_SCRIPT26
ScriptTypeTeam script type definition.RTTI_SCRIPTTYPE27
SideSide definition.RTTI_SIDE28
SmudgeLive smudge object.RTTI_SMUDGE29
SmudgeTypeSmudge type definition.RTTI_SMUDGETYPE30
SpecialNot an object kind: marks a sidebar cameo whose identifier names a superweapon.RTTI_SPECIAL31
SuperWeaponTypeSuperweapon type definition.RTTI_SUPERWEAPONTYPE32
TaskForceTask-force definition.RTTI_TASKFORCE33
TeamLive AI team object.RTTI_TEAM34
TeamTypeAI team type definition.RTTI_TEAMTYPE35
TerrainLive terrain object.RTTI_TERRAIN36
TerrainTypeTerrain type definition.RTTI_TERRAINTYPE37
TriggerLive scenario trigger object.RTTI_TRIGGER38
TriggerTypeTrigger type definition.RTTI_TRIGGERTYPE39
UnitTypeVehicle type definition.RTTI_UNITTYPE40
VoxelAnimLive voxel animation object.RTTI_VOXELANIM41
VoxelAnimTypeVoxel animation type definition.RTTI_VOXELANIMTYPE42
WaveA laser or sonic beam drawn between a firing object and its target.RTTI_WAVE43
TagLive trigger tag object.RTTI_TAG44
TagTypeTrigger tag type definition.RTTI_TAGTYPE45
TiberiumTiberium type definition.RTTI_TIBERIUM46
ActionTrigger action record.RTTI_ACTION47
EventTrigger event record.RTTI_EVENT48
WeaponTypeWeapon type definition.RTTI_WEAPONTYPE49
WarheadTypeWarhead type definition.RTTI_WARHEADTYPE50
WaypointScenario waypoint object.RTTI_WAYPOINT51
AbstractNot an object kind: marks a stored target that names an object rather than a cell.RTTI_ABSTRACT52
TubeAn underground tunnel route: its two mouths and the path of steps between them.RTTI_TUBE53
LightSourceAn unseen point light that brightens and tints the cells around it.RTTI_LIGHTSOURCE54
EMPulseEMPulse effect object.RTTI_EMPULSE55
TacticalMapTactical map object.RTTI_TACTICALMAP56
SuperWeaponLive superweapon object.RTTI_SUPERWEAPON57
AITriggerLive AI trigger object.RTTI_AITRIGGER58
AITriggerTypeAI trigger type definition.RTTI_AITRIGGERTYPE59
NeuronA node of an unfinished AI brain; nothing creates one while the game runs.RTTI_NEURON60
FoggedObjectFog-memory object.RTTI_FOGGEDOBJECT61
AlphaShapeThe blend shape that brightens the map around an object carrying an AlphaImage.RTTI_ALPHASHAPE62
VeinholeMonsterVeinhole monster object.RTTI_VEINHOLEMONSTER63

Used by

Source files

Linked at revision 59fae722af8c.