Files
dcs_liberation/resources/units/aircraft/P-47D-40.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

48 lines
1.5 KiB
YAML

always_keeps_gun: true
description:
"The P-47 Thunderbolt, nicknamed the Jug, served the United States Army
Air Forces (USAAF) in World War II with distinction. In total 15,636 were built
between 1941 and 1945. France, the United Kingdom, the Soviet Union, Mexico and
Brazil also operated the P-47. It was armed with an impressive eight .50-caliber
machine guns with 425 rounds per gun. In addition the Jug was armed with bombs and
rockets and it excelled in the ground attack role. The P-47 also served in the bomber
escort role before the introduction of the P-51 Mustang which had longer range.
Powered by an R-2800-59 Double Wasp turbocharged radial engine, the aircraft enjoyed
exceptional power and durability. The Jug substantial weight gave it tremendous
dive speed acceleration but the aircraft suffered from quite low Mach limits and
hence the aircraft was equipped with dive flaps to avoid dangerous effects of compressibility.
The bubble canopy of the D version of the P-47 provided excellent all round visibility."
introduced: 1944
manufacturer: Republic
origin: USA
price: 6
role: Fighter-Bomber
gunfighter: true
variants:
P-47D-40 Thunderbolt: {}
Thunderbolt Mk.II (Late): {}
radios:
intra_flight: SCR522
inter_flight: SCR522
channels:
type: SCR-522
namer: SCR-522
kneeboard_units: "imperial"
# default_overrides:
# WaterTankContents: 1
tasks:
BAI: 140
BARCAP: 10
CAS: 140
DEAD: 110
Escort: 10
Fighter sweep: 10
Intercept: 10
OCA/Aircraft: 140
OCA/Runway: 100
Strike: 100
TARCAP: 10
hit_points: 24