ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

FlightLevel

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: FlightLevel
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: [General]FlightLevel=int for TechnoTypes,
600(?) for [General](It is also a manually assigned value in the ini file of Tiberian Sun.)
Applicable to: General, TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



Specifies the height (in leptons) that this aircraft will fly at. The value in [General] serves as a default value in case a particular aircraft doesn't specify a custom value.

For units with Locomotor=Fly, when the climb rate is not greater than the altitude difference between the current altitude and the FlightLevel, for those with IsDropship=yes, the maximum is 16; otherwise, it depends on whether they have passengers: if they have passengers, the maximum is 20, if no passengers, the maximum is 10.

  • For units with IsDropship=no, the crash rate is minimum 20 and maximum 50.

Notes

If FlightLevel≤207, then this aircraft will only check for airports when ammunition is depleted, rather than after each movement command is completed.

If FlightLevel=0, it will affect commands. You can use a value close to 0 but not 0.

If FlightLevel≤-2 (in units, -1 will use the global default), it will only turn when there is an altitude change (flying over cliffs) or when reaching the map boundary.

See Also