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.
34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
description:
|
|
"The Sukhoi Su-34 (Russian: \u0421\u0443\u0445\u043E\u0439 \u0421\u0443\
|
|
-34; NATO reporting name: Fullback) is a Soviet-origin Russian twin-engine, twin-seat,\
|
|
\ all-weather supersonic medium-range fighter-bomber/strike aircraft. It first flew\
|
|
\ in 1990, intended for the Soviet Air Forces, and it entered service in 2014 with\
|
|
\ the Russian Air Force. Based on the Sukhoi Su-27 Flanker air superiority fighter,\
|
|
\ the Su-34 has an armored cockpit for side-by-side seating of its two-person crew.\
|
|
\ The Su-34 is designed primarily for tactical deployment against ground and naval\
|
|
\ targets (tactical bombing/attack/interdiction roles, including against small and\
|
|
\ mobile targets) on solo and group missions in daytime and at night, under favourable\
|
|
\ and adverse weather conditions and in a hostile environment with counter-fire\
|
|
\ and electronic Warfare (EW) counter-measures deployed, as well as for aerial reconnaissance.\
|
|
\ The Su-34 will eventually replace the Su-24 tactical strike fighter and the Tu-22M3\
|
|
\ long-distance bomber."
|
|
introduced: 2014
|
|
manufacturer: Sukhoi
|
|
origin: USSR/Russia
|
|
price: 26
|
|
role: Fighter-Bomber/Strike Fighter
|
|
max_range: 300
|
|
variants:
|
|
Su-34 Fullback: {}
|
|
tasks:
|
|
Anti-ship: 100
|
|
BAI: 800
|
|
CAS: 800
|
|
DEAD: 310
|
|
OCA/Aircraft: 800
|
|
OCA/Runway: 470
|
|
SEAD: 30
|
|
SEAD Escort: 30
|
|
Strike: 470
|
|
hit_points: 24
|