Jump to content

SizeLimit: Difference between revisions

From ModEnc²
m 6 revisions imported
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
Line 14: Line 14:
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>.
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}}
=={{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>
*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.
*For [[RA2]]+[[YR]] if [[VehicleTypes]] has '''Size Limit=999999999''' {{f|Passengers|5|link}} and [[InfantryTypes]],[[VehicleTypes]] has {{f| Size|100|link}} cannot be transported.

Latest revision as of 17:51, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SizeLimit
File(s): Rules(md).ini
Values: integers
Default: 0
Applicable to: VehicleTypes, AircraftTypes


In RA2/YR, SizeLimit= determines the maximum Size= 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 Size=1 , while in TS, vehicles were hardcoded not to behave as passengers, and the infantry was again treated as Size=1.

Bugs/Side-Effects/Unexpected Limitations

  • Giving a vehicle with Size smaller than SizeLimit of an amphibiuos transport a SizeLimit bigger than 2 (i.e. can load actual tanks)will result in a seemingly random crash when ordered to enter said transport. (RA2 Eip:0054D10A)
  • For RA2+YR if VehicleTypes has Size Limit=999999999 Passengers=5 and InfantryTypes,VehicleTypes has Size=100 cannot be transported.