Files
dcs_liberation/resources/units/aircraft/FW-190D9.yaml
zhexu14 5af4e56f30 Add hit points to unit yamls.
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.
2024-01-04 00:49:33 -08:00

37 lines
1.2 KiB
YAML

always_keeps_gun: true
description:
"The Focke-Wulf Fw 190 is widely regarded as Germany's best fighter aircraft\
\ of World War II. Its appearance in the skies over France in August 1941 was a\
\ rude shock to the Allies, as it was clearly superior to any other plane. For nearly\
\ a year, the Fw 190 was the unmatched champion of the air war in Europe. The Fw\
\ 190 had speed and high altitude performance as its two great assets.\n\nThe development\
\ of advanced allied fighters resulted in the Fw 190 D\u20139 variant which first\
\ saw service in September 1944. This variant had a larger nose that housed a more\
\ powerful Junkers Jumo engine that produced 2,100 hp with the MW-50 boost system.\
\ The D-9 was designed for high altitude aerial combat and is a worthy adversary\
\ to the P-51D Mustang."
introduced: 1944
manufacturer: Focke-Wulf
origin: Germany
price: 5
role: Fighter
gunfighter: true
variants:
Fw 190 D-9 Dora: {}
kneeboard_units: "metric"
# default_overrides:
# FW_MW50TankContents: 1
tasks:
BAI: 40
BARCAP: 50
CAS: 40
DEAD: 10
Escort: 50
Fighter sweep: 50
Intercept: 50
OCA/Aircraft: 40
OCA/Runway: 10
Strike: 10
TARCAP: 50
hit_points: 18