Skip to content

NewTheater

Rewrites the second letter of a type's artwork filename to match the theater.

Theater artwork naming

Specification — Theater artwork naming
Applies to
ObjectType and derived types
AircraftTypeBuildingTypeBulletTypeInfantryTypeOverlayTypeParticleSystemTypeParticleTypeSmudgeTypeTerrainTypeUnitTypeVoxelAnimType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
boolean
When omitted
no

The file keeps its .SHP extension and the second letter of its name is rewritten instead: T in temperate and A in snow. The rewrite is applied only when the Image ID starts with one of six two-letter prefixes — GA, GT, NA, NT, CA, or CT — and the comparison ignores case. Any other name is left exactly as written, so the flag does nothing for it.

art.ini
[GACNST] ; the Image ID of a BuildingType
NewTheater=yes ; draws GTCNST.SHP in temperate and GACNST.SHP in snow

Theater=yes is tested first and wins, so a type marked with both only ever swaps its extension. A Voxel=yes AircraftType, InfantryType or UnitType has no shape to rename; a BuildingType resolves and loads a theater-named shape either way.

Theater animation naming

Specification — Theater animation naming
Applies to
AnimType
File
art.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no
Read order

This setting is accepted under more than one entry heading; the last one the engine reads wins.

OrderFileSection
1art.ini[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
2art.ini[<ObjectType ID>]

The file keeps its .SHP extension and the second letter of its name is rewritten to match the theater — T in temperate, A in snow — provided the name starts with GA, GT, NA, NT, CA, or CT, compared without regard to case. Any other name is left as written.

Unlike Theater=yes, this path does honor the animation’s Image= and rewrites that name rather than the AnimType ID. The AnimType ID is used only when no Image ID is set.

See alsoTheater, Image, Voxel