Files
dcs_liberation/resources/units/aircraft/M-2000C.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

52 lines
1.4 KiB
YAML

description:
The M-2000C is a multi-role, French-designed, 4th generation fighter.
It was designed in the 1970s as a lightweight fighter and in excess of 600 M-2000C
aircraft have been built. The M2000C is a single-engine fighter will a low-set delta
wing with no horizontal tail. It has excellent maneuverability given its relaxed
stability and fly-by-wire flight control system. The M2000C also includes a multi-mode
RDI radar that is capable tracking and engaging targets at beyond visual ranges.
In addition to engaging other aircraft with cannon and missiles, the M2000C can
also engage ground targets with cannon, rockets and bombs.
introduced: 1983
manufacturer: Dassault
origin: France
price: 17
role: Multirole Fighter
max_range: 400
variants:
Mirage 2000C: {}
radios:
intra_flight: TRT ERA 7200 UHF
inter_flight: TRT ERA 7000 V/UHF
channels:
type: common
namer: mirage
intra_flight_radio_index: 2
inter_flight_radio_index: 1
# default_overrides:
# DisableVTBExport: false
# EnableTAF: true
# ForceINSRules: false
# GunBurst: 1
# InitHotDrift: 0
# LaserCode1: 8
# LaserCode10: 8
# LaserCode100: 6
# LoadNVGCase: false
# NoDDMSensor: true
# ReadyALCM: true
# RocketBurst: 6
# WpBullseye: 0
tasks:
BAI: 350
BARCAP: 230
CAS: 350
Escort: 230
Fighter sweep: 230
Intercept: 230
OCA/Aircraft: 350
OCA/Runway: 320
Strike: 320
TARCAP: 230
hit_points: 18