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.
31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
always_keeps_gun: true
|
|
description:
|
|
The Junkers Ju 88 is a German World War II Luftwaffe twin-engined multirole
|
|
combat aircraft. Junkers Aircraft and Motor Works (JFM) designed the plane in the
|
|
mid-1930s as a so-called Schnellbomber ('fast bomber') that would be too fast for
|
|
fighters of its era to intercept. It suffered from technical problems during its
|
|
development and early operational periods but became one of the most versatile combat
|
|
aircraft of the war. Like a number of other Luftwaffe bombers, it served as a bomber,
|
|
dive bomber, night fighter, torpedo bomber, reconnaissance aircraft, heavy fighter
|
|
and at the end of the war, as a flying bomb. Despite a protracted development, it
|
|
became one of the Luftwaffe's most important aircraft. The assembly line ran constantly
|
|
from 1936 to 1945 and more than 15,000 Ju 88s were built in dozens of variants,
|
|
more than any other twin-engine German aircraft of the period. Throughout production
|
|
the basic structure of the aircraft remained unchanged.
|
|
introduced: 1940
|
|
manufacturer: Junkers
|
|
origin: Germany
|
|
price: 14
|
|
role: Tactical/Torpedo Bomber
|
|
variants:
|
|
Ju 88 A-4: {}
|
|
tasks:
|
|
Anti-ship: 30
|
|
BAI: 150
|
|
CAS: 150
|
|
DEAD: 160
|
|
OCA/Aircraft: 150
|
|
OCA/Runway: 130
|
|
Strike: 130
|
|
hit_points: 18
|