Jump to content

Passengers: Difference between revisions

From ModEnc²
en>EvilRenegade
m Replacing Template:TTL with Template:F.
en>Testid123
mNo edit summary
Line 15: Line 15:
|rp=yes
|rp=yes
}}
}}
== On VehicleTypes and AircraftTypes ==
== 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 34: Line 33:
|-
|-
| ''No''
| ''No''
| '''Yes'''
| '''no'''
| '''Yes'''
| '''no'''
| style="text-align: left" | Requires <tt>[[PipScale]]=Passengers</tt> to be set, or [[Internal Error]]s are bound to occur.
| style="text-align: left" | Requires <tt>{{f|PipScale|Passengers|link}}</tt> to be set, or [[Internal Error]]s are bound to occur '''(It's no problem. Only it doesn't show the number of passengers)'''.
|-
|-
| '''Yes'''
| '''Yes'''
Line 46: Line 45:
== On BuildingTypes ==
== 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.
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.
==Note==
[[File:Passengers=1 SizeLimit=2.gif]]<br>'''Passengers=1''' and '''SizeLimit=2''' in YR.

Revision as of 14:02, 10 October 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 no no Requires PipScale=Passengers to be set, or Internal Errors are bound to occur (It's no problem. Only it doesn't show the number of passengers).
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 InfantryAbsorb=yes or UnitAbsorb=yes. Unlike on transports, each object takes up exactly one slot.

Note

File:Passengers=1 SizeLimit=2.gif
Passengers=1 and SizeLimit=2 in YR.