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.
27 lines
952 B
YAML
27 lines
952 B
YAML
description:
|
|
The Rockwell B-1 Lancer is a supersonic variable-sweep wing, heavy bomber
|
|
used by the United States Air Force. It is commonly called the 'Bone' (from 'B-One').It
|
|
is one of three strategic bombers in the U.S. Air Force fleet as of 2021, the other
|
|
two being the B-2 Spirit and the B-52 Stratofortress. It first served in combat
|
|
during Operation Desert Fox in 1998 and again during the NATO action in Kosovo the
|
|
following year. The B-1B has supported U.S. and NATO military forces in Afghanistan
|
|
and Iraq. The Air Force had 62 B-1Bs in service as of 2016. The Northrop Grumman
|
|
B-21 Raider is to begin replacing the B-1B after 2025; all B-1s are planned to be
|
|
retired by 2036.
|
|
introduced: 1986
|
|
manufacturer: Rockwell
|
|
origin: USA
|
|
price: 45
|
|
role: Supersonic Strategic Bomber
|
|
max_range: 2000
|
|
variants:
|
|
B-1B Lancer: {}
|
|
tasks:
|
|
BAI: 670
|
|
CAS: 670
|
|
DEAD: 220
|
|
OCA/Aircraft: 670
|
|
OCA/Runway: 670
|
|
Strike: 700
|
|
hit_points: 60
|