FlightLevel
The cruising altitude a type flies at, or the rules-wide altitude used by anything that names none of its own.
Type cruising altitude
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
-1The type flies at the `[General]` FlightLevel.
The height above the ground, in leptons, at which objects of this type cruise. The stock rules set FlightLevel=1600 on the dropship and 400 on the two hunter-seeker drones. Every other stock aircraft flies at the rules-wide altitude of 600.
[DSHP] ; the stock dropship, an AircraftTypeFlightLevel=1600Writing -1 is the same as leaving the key out: the type uses the rules-wide altitude.
Only objects on the flying locomotor use this height: aircraft, and vehicles such as the hunter-seeker drones. On a type that moves any other way, the key has no effect.
An aircraft placed outside the playable area, or one flown in to deliver something and leave, appears at this height. Any other aircraft placed on the map starts on the ground. An object climbs to this height when it takes off and holds it while it cruises.
Two kinds of type fly lower as they arrive:
- An
IsDropship=yestype drops to a third of this height once it is within itsSlowdownDistanceof its destination. - A hunter seeker dives from this height onto its target within
HunterSeekerDescendProximity. Farther out, it climbs above this height to clear high ground ahead, as that key describes.
Rules-wide cruising altitude
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- integer
- When omitted
500
The cruising height, in leptons above the ground, of every type that does not set a cruising altitude of its own. The stock rules set 600, which every stock aircraft except the dropship flies at. The dropship and the two hunter-seeker drones set their own heights.
The value also sets the height test for AircraftFogReveal. An aircraft flying below half this height can have that reveal blocked by high ground, as who looks, and when describes. The aircraft type’s own FlightLevel does not move this threshold.