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

The engine fixes this list of object kinds; rules files cannot add to it. In rules, only Factory takes one of these names, to set the kind of object a structure produces. That page lists the names that make a structure produce anything.

A Factory value that matches no name in the list, ignoring case, reads as <none>. A misspelled value therefore replaces any earlier setting with no kind at all.

Most names never appear in rules. Every object in play and every rules definition has a kind, which is why many names come in pairs: Building for a structure standing on the map, BuildingType for the rules entry it was made from. The rest cover engine objects such as map cells, production lines, the record a fogged cell keeps of what stood in it, and tunnel routes.

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
FactoryA production line, which builds one object at a time for a house.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 spotlight 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 with an AlphaImage.RTTI_ALPHASHAPE62
VeinholeMonsterVeinhole monster object.RTTI_VEINHOLEMONSTER63

Used by

Source files

Linked at revision 51b52aa38392.