Jump to content

SolidHeight

From ModEnc²
Revision as of 22:05, 31 March 2025 by MarkJFox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SolidHeight
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: BuildingTypes

This flag is part of Ares. Do not use it without Ares installed.



How tall the solid part of the building is considered to be, measured in cells (each cell has a height of 256 leptons), so buildings with a large amount of clear space near their top can allow projectiles to fly through that space. Negative values (e.g. -1) tell the game to consider the building’s full Height as solid.

Note

  • The solid building logic does not lend itself well to non-rectangular buildings, such as the Paris Tower or Space Needle.