mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
This PR: - Introduces a new member of UnitType, hit_points, which is an abstract representation of the durability of a unit, and loads it in from the YAML files in the various subclasses (Ship, Ground etc). - Adds scripts for populating/updating the unit YAML files with hit point data from DCS. This script also gets the data for static objects, but I'll leave the plugging in of static object data into Liberation for another PR. - Updates the unit YAML files by running the above scripts. I did toy with the idea of adding this data to the unit definitions in pydcs via an export from DCS, but it would be a more involved change, since the current pydcs export script runs in the Hooks Lua environment in DCS and AFAICT the hit points (via Unit.getLife()) is run in the mission scripting environment.
38 lines
1.3 KiB
YAML
38 lines
1.3 KiB
YAML
always_keeps_gun: true
|
|
description:
|
|
The BF 109 series was, along with the Focke-Wulf Fw 190, the backbone of the
|
|
Luftwaffe's fighter force. The Bf 109 first saw operational service in 1937
|
|
during the Spanish Civil War and was still in service at the dawn of the jet
|
|
age at the end of World War II in 1945. The final production version of the Bf
|
|
109 was the K series or Kurfürst, introduced in late 1944, powered by the DB
|
|
605D engine with up to 2,000 PS (1,973 HP). Though externally akin to the late
|
|
production Bf 109G series, a large number of internal changes and aerodynamic
|
|
improvements were incorporated that improved its effectiveness and remedied
|
|
flaws, keeping it competitive with the latest Allied and Soviet fighters. The
|
|
Bf 109's outstanding rate of climb was superior to many Allied adversaries
|
|
including the P-51D Mustang, Spitfire Mk. XIV and Hawker Tempest Mk. V.
|
|
introduced: 1944
|
|
manufacturer: Messerschmitt
|
|
price: 4
|
|
role: Fighter
|
|
gunfighter: true
|
|
variants:
|
|
"Bf 109 K-4 Kurfürst": {}
|
|
kneeboard_units: "metric"
|
|
# default_overrides:
|
|
# Flare_Gun: 1
|
|
# MW50TankContents: 1
|
|
tasks:
|
|
BAI: 50
|
|
BARCAP: 60
|
|
CAS: 50
|
|
DEAD: 20
|
|
Escort: 60
|
|
Fighter sweep: 60
|
|
Intercept: 60
|
|
OCA/Aircraft: 50
|
|
OCA/Runway: 20
|
|
Strike: 20
|
|
TARCAP: 60
|
|
hit_points: 18
|