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.

Although the speed of ascent and descent is somewhat related to the height difference between the current altitude and FlightLevel, the program has a hard-coded maximum vertical rate of 20 per frame.

  • If the aircraft carries passengers, the maximum vertical rate is 10 per frame.

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