Files
dcs_liberation/resources/units/aircraft/F-117A.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

24 lines
1.1 KiB
YAML

description:
The Lockheed F-117 Nighthawk is a semi-retired American single-seat,
twin-engine stealth attack aircraft that was developed by Lockheed's secretive Skunk
Works division and operated by the United States Air Force (USAF). It was the first
operational aircraft to be designed around stealth technology. The F-117 was widely
publicized for its role in the Persian Gulf War of 1991. Although it was commonly
referred to as the 'Stealth Fighter', it was strictly a ground-attack aircraft.
F-117s took part in the conflict in Yugoslavia, where one was shot down and another
damaged by surface-to-air missiles (SAM) in 1999. The U.S. Air Force retired the
F-117 in April 2008, primarily due to the fielding of the F-22 Raptor. Despite the
type's retirement, a portion of the fleet has been kept in airworthy condition,
and Nighthawks have been observed flying in 2020.
introduced: 1983
manufacturer: Lockheed
origin: USA
price: 35
role: Stealth Attack
variants:
F-117A Nighthawk: {}
tasks:
Strike: 710
has_built_in_target_pod: true
hit_points: 20