Files
dcs_liberation/resources/units/aircraft/SpitfireLFMkIXCW.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

59 lines
2.3 KiB
YAML

always_keeps_gun: true
description:
'The British Spitfire is one of the most iconic fighter aircraft of World
War II. Most famous for its role in the Battle of Britain, the Spitfire served as
Britain''s primary fighter during the entirety of the war. The Spitfire combines
graceful lines, eye-watering dogfight performance, and heavy firepower in its later
variants.
The Spitfire Mk IX was originally developed as a stopgap measure as a response to
the appearance of the Focke-Wulf FW 190A.
The Spitfire IX is powered by the Merlin 66. This engine produces its best performance
at slightly lower altitudes than the older Merlin 61. Spitfires equipped with this
engine were designated LF Mk IX. This was the most numerous version of the Mk IX,
with 4,010 produced. The majority of Mk IXs of all types used the standard "c" wing,
which would often carry two 20mm cannon and four .303in machine guns.
The Mk IX was a significant improvement on the Mk V. It had a top speed of 409 mph
at 28,000 feet, an increase of 40 miles per hour. Its service ceiling rose from
36,200 feet to 43,000 feet. It could climb at 4,000 feet per minute. In July 1942,
an early Mk IX was flown against a captured Fw 190A, and the two aircraft were discovered
to have very similar capabilities. The RAF had its answer to the Fw 190 problem.
The Mk IX replaced the Mk V from June 1942. It allowed the RAF to go back onto the
offensive in occupied Europe, and resume the "circus", "ramrod" and "rodeo" raids.
Its first combat success came on 30 July 1942, when a Spitfire Mk IX shot down a
Fw 190. Amongst other notable achievements, the Mk IX took part in the highest altitude
combat of the Second World War, when it intercepted a Ju 86R at 43,000 feet over
Southampton on 12 September 1942. On 5 October 1944 Spitfire Mk IXs of 401 Squadron
were the first allied aircraft to shoot down an Me 262 Jet. The Mk IX remained in
service until the end of the war, even after the appearance of the Griffon powered
Mk XIV.'
introduced: 1943
manufacturer: Supermarine
origin: UK
price: 3
role: Fighter
gunfighter: true
variants:
Spitfire LF Mk IX (Clipped Wings): {}
kneeboard_units: "imperial"
tasks:
BAI: 90
BARCAP: 90
CAS: 90
DEAD: 50
Escort: 90
Fighter sweep: 90
Intercept: 90
OCA/Aircraft: 90
OCA/Runway: 50
Strike: 50
TARCAP: 90
hit_points: 18