Skip to content

NewGRF Parameters ​

AeroLiners Set defines several adjustable parameters (GRF parameters) in the .grf, configurable in the NewGRF settings window, to change the behaviour of the whole fleet — range, purchase cost, and operating cost.

Parameter definitions live in src/header.pnml.

Parameter overview ​

BitNameTypeRangeDefaultDescription
param 0enable_standard_planesbool0 / 10 (off)Whether to enable all standard planes
param 1BCosts (base cost factor)int0 – 84Scales purchase cost (0 = 1/16, 4 = unchanged, 8 = ×16)
param 2RCosts (base running-cost factor)int0 – 84Scales operating cost (0 = 1/16, 4 = unchanged, 8 = ×16)
param 3Ranges (flight range)int0 – 21Enable / disable flight range for all aircraft (see table below)

Flight range (Ranges) values ​

ValueMeaningEffect
0Ranges OffDisable range limits (all aircraft range: 0)
1Normal Ranges (default)Enable normal flight range
2Long RangesEnable "long-range" flight range (about 1.5× normal)

Example: the ATR 42-300 has range: 165 under normal ranges, scaled to range: 245 in long-range mode, and 0 when disabled.

Cost / operating-cost factors (BCosts / RCosts) ​

These two parameters scale the whole fleet's price and daily operating cost:

  • 0 → 1/16 (cheapest)
  • 4 → unchanged (baseline, default)
  • 8 → ×16 (most expensive)

They are applied globally when NewGRF computes each aircraft's cost_factor / purchase_running_cost_factor, making it easy to balance the game economy.

How to adjust ​

In OpenTTD's NewGRF Settings window, select AeroLiners Set and click Parameters to modify each item and see its description text live (these descriptions come from lang/*.lng).

Back: Introduction → | Next: Project Structure →