ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
MaxNumberOccupants: Difference between revisions
Jump to navigation
Jump to search
Created. |
mNo edit summary |
||
Line 2: | Line 2: | ||
|values={{Values|unsigned integers}} | |values={{Values|unsigned integers}} | ||
|default=0 | |default=0 | ||
|special= All non-negative whole numbers from 19999999999 to 999999999999 | |||
|types={{Categ|BuildingTypes}} | |types={{Categ|BuildingTypes}} | ||
|ra2=yes | |ra2=yes | ||
Line 10: | Line 11: | ||
If {{f|MaxNumberOccupants|link}} 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 {{f|PipsDrawForAll|yes|link}}, the pips will be displayed for ''all'' players. Infantry garrisoned within the building are represented by the icon specified by {{f|OccupyPip|link}}. Empty occupant slots are represented by the sixth frame of ''pips.shp''. | If {{f|MaxNumberOccupants|link}} 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 {{f|PipsDrawForAll|yes|link}}, the pips will be displayed for ''all'' players. Infantry garrisoned within the building are represented by the icon specified by {{f|OccupyPip|link}}. Empty occupant slots are represented by the sixth frame of ''pips.shp''. | ||
==Special values== | |||
By setting this flag to '''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.<br>[[File:MaxNumberOccupants=19999999999.gif]] | |||
==See also== | ==See also== |
Revision as of 10:42, 8 December 2024
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: | All non-negative whole numbers from 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 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.