Skip to content

Auto purchase options

Dan Albert edited this page Nov 26, 2022 · 12 revisions

DCS Liberation 2.3 adds automatic procurement options for players. There are three aspects which can each be enabled individually:

  • Runway repair
  • Front line reinforcement
  • Aircraft reinforcement

Each of these can be enabled during campaign creation and toggled later in the setting menu.

Each of these behaviors are the same as opfor uses.

Automatic runway repair

If enabled, damaged runways will automatically begin repairs if they are affordable.

Runway repairs will take precedence over front line and air unit reinforcement.

Front line reinforcement

Up to half of the budget remaining after repairing runways will be spent on units to reinforce front lines.

Reinforcements will first be purchased at control points with active front lines that have fewer than 30 units. Once all active front lines have at least 30 units, additional units will be assigned to all control points at random.

Aircraft reinforcement

Any remaining budget will be used to purchase aircraft.

Aircraft will be purchased to fulfill any missions that could not be planned due to lack of aircraft. This occurs in the order specified by the mission planner.

When attempting to fulfill an order for a mission, the purchase will be attempted at the airfield in range if the target, with parking available, closest to the mission target.

Aircraft are selected to fit the unfulfilled missions. Liberation maintains a preferred list of aircraft for each mission type as well as a list of all capable aircraft. A random selection will be made from the preferred list first, but if empty or too expensive the capable list will be used.

If no capable aircraft in range can be purchased, the remaining budget will roll over to the next turn.

Changes in DCS Liberation 2.4

Airbases outside the enemy's threat zone will be preferred. This will result in more regular, safer, albeit longer flight plans.

The best aircraft for the job will be purchased, with a random change of making a suboptimal decision to maintain unit variety. The preferences for each task type are defined in https://github.com/dcs-liberation/dcs_liberation/blob/develop/gen/flights/ai_flight_planner_db.py.

(Work in progress) A reserve of aircraft for airbase defense BARCAP and CAS missions will be maintained before aircraft are purchased for other missions. The reserves will remain at the airbase. This ensures that even if every planned flight is destroyed the critical missions can still be deployed on the next turn.

Clone this wiki locally