Passengers: Difference between revisions
Appearance
en>4SG m Properly re-set to Yes on "PipScale" table portion. Using other pip dependent logics like Ammo can cause internal errors if PipScale isn't Passengers. May also edit memory in other locations when updating passengers if not set, like as BuildingType version of passengers does. |
m 22 revisions imported |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 4: | Line 4: | ||
|values=integers | |values=integers | ||
|default=0 | |default=0 | ||
|types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}},{{Categ|BuildingTypes}} | |types={{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}} | ||
|ra=yes | |ra=yes | ||
|cs=yes | |cs=yes | ||
| Line 16: | Line 16: | ||
}} | }} | ||
== On VehicleTypes and AircraftTypes == | == On VehicleTypes and AircraftTypes == | ||
This tag is required for all transports. | 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. | ||
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. | |||
Caveat: Certain objects have additional hardcoded conditions preventing some objects from entering others. | |||
== On BuildingTypes == | == On BuildingTypes == | ||
In YR, this | 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 22:00, 31 March 2025
|
|
|
|
|
|
| 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.





