Files
dcs_liberation/resources/units/aircraft/Tu-95MS.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

23 lines
1.0 KiB
YAML

description:
"The Tupolev Tu-95 (Russian: \u0422\u0443\u043F\u043E\u043B\u0435\u0432\
\ \u0422\u0443-95; NATO reporting name: \"Bear\") is a large, four-engine turboprop-powered\
\ strategic bomber and missile platform. First flown in 1952, the Tu-95 entered\
\ service with the Long-Range Aviation of the Soviet Air Forces in 1956 and is expected\
\ to serve the Russian Aerospace Forces until at least 2040. A development of the\
\ bomber for maritime patrol is designated Tu-142, while a passenger airliner derivative\
\ was called Tu-114. The aircraft has four Kuznetsov NK-12 engines with contra-rotating\
\ propellers. It is the only propeller-powered strategic bomber still in operational\
\ use today. The Tu-95 is one of the loudest military aircraft, particularly because\
\ the tips of the propeller blades move faster than the speed of sound"
introduced: 1981
manufacturer: Tupolev
origin: USSR/Russia
price: 35
role: Strategic Bomber
variants:
Tu-95MS Bear-H: {}
tasks:
DEAD: 190
Strike: 670
hit_points: 60