mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
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.
28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
description:
|
|
"The Mikoyan MiG-31 (Russian: \u041C\u0438\u043A\u043E\u044F\u043D \u041C\
|
|
\u0438\u0413-31; NATO reporting name: Foxhound) is a supersonic interceptor aircraft\
|
|
\ that was developed for use by the Soviet Air Forces. The aircraft was designed\
|
|
\ by the Mikoyan design bureau as a replacement for the earlier MiG-25 \"Foxbat\"\
|
|
; the MiG-31 is based on and shares design elements with the MiG-25. The MiG-31\
|
|
\ is among the fastest combat jets in the world. It continues to be operated by\
|
|
\ the Russian Air Force and the Kazakhstan Air Force following the end of the Cold\
|
|
\ War and the collapse of the Soviet Union in 1991. The Russian Defence Ministry\
|
|
\ expects the MiG-31 to remain in service until 2030 or beyond and was confirmed\
|
|
\ in 2020 when an announcement was made to extend the service lifetime from 2,500\
|
|
\ to 3,500 hours on the existing airframes."
|
|
introduced: 1981
|
|
manufacturer: Mikoyan
|
|
origin: USSR/Russia
|
|
price: 24
|
|
role: Interceptor
|
|
max_range: 800
|
|
variants:
|
|
MiG-31 Foxhound: {}
|
|
tasks:
|
|
BARCAP: 400
|
|
Escort: 400
|
|
Fighter sweep: 400
|
|
Intercept: 400
|
|
TARCAP: 400
|
|
hit_points: 24
|