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

Difference between revisions of "Passengers"

From ModEnc
Jump to: navigation, search
m (...)
(Correcting stuff)
Line 4: Line 4:
 
|values=integers
 
|values=integers
 
|default=0
 
|default=0
|types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}
+
|types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}},{{Categ|BuildingTypes}}
 
|ra=yes
 
|ra=yes
 
|cs=yes
 
|cs=yes
Line 16: Line 16:
 
}}
 
}}
  
 +
== On VehicleTypes and AircraftTypes ==
 
This tag is required for all transports. However, its functionality differs between games:
 
This tag is required for all transports. However, its functionality differs between games:
  
Line 30: Line 31:
 
| '''Yes'''
 
| '''Yes'''
 
| '''Yes'''{{Sup|*}}
 
| '''Yes'''{{Sup|*}}
| style="text-align:left" | Defines the amount of [[InfantryTypes]] that this object could carry.
+
| style="text-align:left" | In RA: defines the amount of objects this transport can carry.<br/>In later games: defines the amount of slots this object has for purposes of unit transportation. An object takes up {{TTL|Size}} slots in a transport, and objects with {{TTL|Size}} exceeding this object's {{TTL|SizeLimit}} are not allowed to enter. Certain objects have additional hardcoded conditions preventing some objects from entering.<br />In RA2/YR, {{TTL|Passengers}} cannot exceed {{TTL|Size}}.
 
|-
 
|-
 
| ''No''
 
| ''No''
Line 43: Line 44:
 
|}
 
|}
  
{{Sup|*}} In RA2/YR, the <tt>Passengers=</tt> value cannot exceed <tt>[[Size]]=</tt> .
+
== On BuildingTypes ==
 +
In YR, this flag determines the amount of objects allowed inside if this structure has {{TTL|InfantryAbsorb|yes}} or {{TTL|UnitAbsorb|yes}}. Unlike on transports, each object takes up exactly one slot.

Revision as of 20:20, 23 November 2009

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: Passengers
File(s): Rules(md).ini
Values: integers
Default: 0
Applicable to: VehicleTypes, AircraftTypes,BuildingTypes


On VehicleTypes and AircraftTypes

This tag is required for all transports. However, its functionality differs between games:

Game Functionality
RA/CS/AM TS/FS RA2/YR
Yes Yes Yes* In RA: defines the amount of objects this transport can carry.
In later games: defines the amount of slots this object has for purposes of unit transportation. An object takes up Template:TTL slots in a transport, and objects with Template:TTL exceeding this object's Template:TTL are not allowed to enter. Certain objects have additional hardcoded conditions preventing some objects from entering.
In RA2/YR, Template:TTL cannot exceed Template:TTL.
No Yes Yes Requires PipScale=Passengers to be set, or Internal Errors are bound to occur.
Yes Yes Yes Defines the amount of pips displayed under this object.

On BuildingTypes

In YR, this flag determines the amount of objects allowed inside if this structure has Template:TTL or Template:TTL. Unlike on transports, each object takes up exactly one slot.