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

MaxNumberOccupants

From ModEnc
Jump to: navigation, 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 4294967296.
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.

See also