Jump to content

Size: Difference between revisions

From ModEnc²
en>001010011100101110
m and Passengers=
en>Vinifera7
As I mentioned in 2009, Size is not even a flag in the TS engine. Also, let's use Template:f instead of <tt>, shall we?
Line 1: Line 1:
{{Flag
{{Flag
|name=Size
|values={{values|int}}
|files={{Categ|Rules(md).ini}}
|values=integers
|default=1
|default=1
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
}}
}}


This flag specifies the amount of space this unit occupies within a transport. In RA2/YR, if this exceeds the transport's <tt>[[SizeLimit]]=</tt> or <tt>[[Passengers]]=</tt>, the unit is not allowed to enter.
This flag specifies the amount of space a passenger unit occupies within a transport [[VehicleTypes|vehicle]].
 
For a passenger to be able to enter a transport the following conditions must be true:
* The passenger's {{f|Size}} must not exceed the transport's {{f|SizeLimit|link}}.
* The combined {{f|Size}} of all passengers including the one attempting to enter must not exceed the transport's {{f|Passengers|link}}.
 
{{NeedsTesting}}
Although technically {{f|Size}} is applicable to [[AircraftTypes|aircraft]], it's not actually possible to order an aircraft into a transport.

Revision as of 00:46, 9 August 2011

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Size
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 1
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes


This flag specifies the amount of space a passenger unit occupies within a transport vehicle.

For a passenger to be able to enter a transport the following conditions must be true:

  • The passenger's Size must not exceed the transport's SizeLimit.
  • The combined Size of all passengers including the one attempting to enter must not exceed the transport's Passengers.
This needs testing
The following section contains information that has not been personally confirmed by the revision's author; readers are encouraged to test it themselves and update the section accordingly.

Although technically Size is applicable to aircraft, it's not actually possible to order an aircraft into a transport.