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

57 lines
2.0 KiB
YAML

description:
"JF-17 is a single seat, single engine, multirole light fighter that\
\ was joint developed by AVIC Chengdu and Pakistan Aeronautical Complex (PAC). The\
\ design phase of JF-17 \"Thunder\" finished at May 31st, 2002, and the maiden flight\
\ was made on August 25th, 2003. The first plane delivered to PAF (Pakistan Air\
\ Force) in 2007. Currently several different blocks of JF-17s are in service in\
\ Pakistan and Myanmar air forces. There are also several countries interested in\
\ purchasing this fighter jet. On February 27th, 2019, \"Thunder\" has withstood\
\ the test of actual combat and helped PAF win an appreciable victory.\n\n\"Thunder\"\
\ is a type of fighter that specifically tailored for PAF. The development plan\
\ of her predecessor can even be traced back to 1985. At first, PAF was only looking\
\ for a fighter that can replace Shenyang J-6 (Chinese version of Mig-19), but they\
\ were not satisfied with Chengdu\u2019s J-7M. After more than 20 years of development,\
\ the final product \"Thunder\" becomes completely different from J-7M.\n\n\"Thunder\"\
\ has a bubble canopy of great view, pretty strake-wing layout and advanced avionics.\
\ KLJ-7 radar provides excellent air to ground capability. WMD-7 targeting pod can\
\ help \"Thunder\" searching for targets in combat."
introduced: 2007
manufacturer: PAC/CAC
origin: Pakistan/China
price: 24
role: Multirole Fighter
variants:
FC-1 Fierce Dragon:
introduced: null
JF-17 Thunder: {}
radios:
intra_flight: R&S M3AR VHF
inter_flight: R&S M3AR UHF
channels:
type: common
# Same naming pattern as the Viper, so just reuse that.
namer: viper
intra_flight_radio_index: 1
inter_flight_radio_index: 1
# default_overrides:
# AARProbe: false
# LaserCode1: 8
# LaserCode10: 8
# LaserCode100: 6
tasks:
Anti-ship: 110
BAI: 700
BARCAP: 440
CAS: 700
DEAD: 460
Escort: 440
Fighter sweep: 440
Intercept: 440
OCA/Aircraft: 700
OCA/Runway: 580
SEAD: 180
SEAD Escort: 180
Strike: 580
TARCAP: 440
hit_points: 18