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

45 lines
1.4 KiB
YAML

carrier_capable: true
description:
'The Su-33 has been the backbone of Russian aircraft carrier aviation
since the late 1990s and is an all-weather fighter capable of engaging both air
and surface targets. Based on the powerful Su-27 "Flanker", the Su-33 is a navalized
version suited for operations aboard the Admiral Kuznetsov aircraft carrier. Changes
to the Su-33 include strengthened landing gear, folding wings, more powerful engines,
and the very visible canards.
The Su-33 is equipped with a powerful pulse doppler radar and an Infrared Search
and Track (IRST) for engaging aerial targets with a wide range of radar- and infrared-guided
missiles and its internal cannon. For air-to-surface attack, the Su-33 can be armed
with many types of unguided bombs, rockets, and cluster munitions.
Despite its large size, the Su-33 is very capable in a dogfight when combined with
its integral helmet-mounted sight and off-boresight missiles.'
introduced: 1998
manufacturer: Sukhoi
origin: USSR/Russia
price: 22
role: Carrier-based Multirole Fighter
max_range: 300
variants:
J-15 Flanker X-2:
introduced: 2013
manufacturer: Shenyang
origin: China
role: Carrier-based Multirole Fighter
Su-33 Flanker-D: {}
kneeboard_units: "metric"
tasks:
BAI: 590
BARCAP: 510
CAS: 590
Escort: 510
Fighter sweep: 510
Intercept: 510
OCA/Aircraft: 590
OCA/Runway: 460
Strike: 460
TARCAP: 510
hit_points: 20