ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

MaxNumberOccupants

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: MaxNumberOccupants
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Special Values: -1,19999999999 to 999999999999
Default: 0
Applicable to: BuildingTypes


This flag specifies the maximum number of infantry that can be garrisoned within a building with CanBeOccupied=yes.

If MaxNumberOccupants is set to a positive integer greater than 0, that many pips will be rendered beneath the building for the player controlling it and his allies. If PipsDrawForAll=yes, the pips will be displayed for all players. Infantry garrisoned within the building are represented by the icon specified by OccupyPip. Empty occupant slots are represented by the sixth frame of pips.shp.

Special values

By setting this flag to -1,19999999999 to 999999999999 will cause the game to not show pips and that means InfantryTypes can occupy the specified number of such buildings as well.

See also