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

NumberOfDocks

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: NumberOfDocks
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


Define the maximum number of units that can dock to this building simultaneously.

Notes

Except for buildings with Helipad=yes, which use this flag to determine how many aircraft can park at this airfield, buildings with DockUnload=yes, UnitRepair=yes, or Bunker=yes do not actually require this flag; they inherently have one dock slot even if NumberOfDocks=0. Moreover, setting NumberOfDocks=2 (or higher) may cause incorrect interactions (see the #Bugs section below).

Bugs/Side-Effects/Unexpected Limitations

Setting NumberOfDocks=2 (or higher) on buildings not using the Helipad=yes functionality causes some issues and they will not work as intended.

  • This is most normal on buildings with DockUnload=yes because the number of docks is hard-coded to be limited[1], so it will not cause any change.
  • On buildings with Bunker=yes, even NumberOfDocks=2 cannot allow a second vehicle to enter it. Although this may cause the Enter cursor to appear over the building when selecting other vehicles after one has already entered, clicking will only cause the vehicle to revert to its default task and remain on Guard mission without even approaching the building.
  • On buildings with UnitRepair=yes, it is the worst: if NumberOfDocks=2 allows two vehicles to dock to this building simultaneously, there is incorrect mission handling, and it may trigger EIP#0044C71E.

Footnotes

  1. Unless it's two harvesters with Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} (Jumpjet).

See Also