SizeLimit: Difference between revisions

Rewrite
m Adding revision category for pages potentially improperly "converted".
 
(4 intermediate revisions by 4 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}}
|games=[[RA2]], [[YR]]
|ra2=yes
|yr=yes
|rp=yes
}}
}}


In RA2/YR, <tt>SizeLimit</tt>= determines the maximum <tt>[[Size]]=</tt> of a unit that is allowed to enter this unit as a passenger.
In RA2/YR, <tt>SizeLimit</tt>= determines the maximum <tt>[[Size]]=</tt> of a unit that is allowed to enter this unit as a passenger.
In RA1/TS, there was no such flag, and the transport size limit was hardcoded to 1. In RA1, all objects, including vehicles, were hardcoded to act as if they had <tt>[[Size]]=1</tt> , while in TS, vehicles were hardcoded not to behave as passengers, and the infantry was again treated as <tt>[[Size]]=1</tt>.
{{Bugs}}
*Giving a vehicle with <tt>Size</tt> smaller than <tt>SizeLimit</tt> of an amphibiuos transport a <tt>SizeLimit</tt> bigger than 2 (i.e. can load actual tanks)will result in a seemingly random crash when ordered to enter said transport. <tt>(RA2 Eip:0054D10A)</tt>
*For [[RA2]]+[[YR]] if [[VehicleTypes]] has '''Size Limit=999999999''' {{f|Passengers|5|link}} and [[InfantryTypes]],[[VehicleTypes]] has {{f| Size|100|link}} cannot be transported.
[[Category:Review for fake conversion and revert if necessary]]