ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Passengers"
From ModEnc
(Rewrite) |
EvilRenegade (talk | contribs) m (Replacing Template:TTL with Template:F.) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=integers | |values=integers | ||
− | |||
|default=0 | |default=0 | ||
− | |types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}} | + | |types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}},{{Categ|BuildingTypes}} |
− | | | + | |ra=yes |
+ | |cs=yes | ||
+ | |am=yes | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |ets=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |rp=yes | ||
}} | }} | ||
+ | == 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: | ||
− | {| border=1 cellspacing=0 style="text-align: center; vertical-align: middle;" | + | {| border=1 cellspacing=0 class="table_descrow" style="text-align: center; vertical-align: middle;" |
|- | |- | ||
| colspan=3 | Game | | colspan=3 | Game | ||
| rowspan=2 style="text-align: left" | Functionality | | rowspan=2 style="text-align: left" | Functionality | ||
|- | |- | ||
− | | | + | | RA/CS/AM |
− | | TS | + | | TS/FS |
| RA2/YR | | RA2/YR | ||
|- | |- | ||
| '''Yes''' | | '''Yes''' | ||
| '''Yes''' | | '''Yes''' | ||
− | | '' | + | | '''Yes'''{{Sup|*}} |
− | | style="text-align:left" | | + | | 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 {{f|Size|link}} slots in a transport, and objects with {{f|Size|link}} exceeding this object's {{f|SizeLimit|link}} are not allowed to enter. Certain objects have additional hardcoded conditions preventing some objects from entering.<br />In RA2/YR, {{f|Passengers|link}} cannot exceed {{f|Size|link}}. |
|- | |- | ||
| ''No'' | | ''No'' | ||
Line 36: | Line 44: | ||
|} | |} | ||
− | In | + | == On BuildingTypes == |
+ | In YR, this flag determines the amount of objects allowed inside if this structure has {{f|InfantryAbsorb|yes|link}} or {{f|UnitAbsorb|yes|link}}. Unlike on transports, each object takes up exactly one slot. |
Latest revision as of 10:25, 27 November 2009
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 Size slots in a transport, and objects with Size exceeding this object's SizeLimit are not allowed to enter. Certain objects have additional hardcoded conditions preventing some objects from entering. In RA2/YR, Passengers cannot exceed Size. |
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. |