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

Passengers: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Correction as per IFV
ATHSE (talk | contribs)
No edit summary
 
(18 intermediate revisions by 6 users not shown)
Line 3: Line 3:
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=integers
|values=integers
|special=None
|default=0
|default=0
|types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}
|types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
|games=[[RA]], [[TS]], [[RA2]], [[YR]]
|ra=yes
|cs=yes
|am=yes
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
}}
== On VehicleTypes and AircraftTypes ==
This tag defines the transport units capacity, and is required for all transports. A transport vehicle is defined by the {{f|Category|Transport|link}} tag.


This tag is required for all transports. However, its functionality differs between games:
Functionality difference between games:
*RA/CS/AM
::*capacity is an absolute passenger capacity, every passenger unit using up one slot.
*TS/FS/RA2/YR
::*passenger capacity equals the transport units own {{f|Size|link}} if not specified.
::*capacity is the limit of all passenger {{f|Size|link}} values combined allowed to enter.
::*passengers exceeding this transport units {{f|SizeLimit|link}} are not allowed to enter.
::*transport unit should have {{f|PipScale|Passengers|link}} set.


{| border=1 cellspacing=0 style="text-align: center; vertical-align: middle;"
Caveat: Certain objects have additional hardcoded conditions preventing some objects from entering others.
|-
| colspan=3 | Game
| rowspan=2 style="text-align: left" | Functionality
|-
| RA1
| TS
| RA2/YR
|-
| '''Yes'''
| '''Yes'''
| '''Yes'''{{Sup|*}}
| style="text-align:left" | Defines the amount of [[InfantryTypes]] that this object could carry.
|-
| ''No''
| '''Yes'''
| '''Yes'''
| style="text-align: left" | Requires <tt>[[PipScale]]=Passengers</tt> to be set, or [[Internal Error]]s are bound to occur.
|-
| '''Yes'''
| '''Yes'''
| '''Yes'''
| style="text-align: left" | Defines the amount of pips displayed under this object.
|}


{{Sup|*}} In RA2/YR, the <tt>Passengers=</tt> value cannot exceed <tt>[[Size]]=</tt> .
== On BuildingTypes ==
In YR, this tag 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 16:15, 20 March 2025

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 defines the transport units capacity, and is required for all transports. A transport vehicle is defined by the Category=Transport tag.

Functionality difference between games:

  • RA/CS/AM
  • capacity is an absolute passenger capacity, every passenger unit using up one slot.
  • TS/FS/RA2/YR
  • passenger capacity equals the transport units own Size if not specified.
  • capacity is the limit of all passenger Size values combined allowed to enter.
  • passengers exceeding this transport units SizeLimit are not allowed to enter.
  • transport unit should have PipScale=Passengers set.

Caveat: Certain objects have additional hardcoded conditions preventing some objects from entering others.

On BuildingTypes

In YR, this tag determines the amount of objects allowed inside if this structure has InfantryAbsorb=yes or UnitAbsorb=yes.

Unlike on transports, each object takes up exactly one slot.