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

55 lines
1.3 KiB
YAML

description:
The F-15 has often been labeled as the greatest U.S. fighter aircraft from the
1970s until the early 21st century. The F-15E is a multirole fighter and
exceeds in CAS operations. It served worldwide without suffering any confirmed
losses.
introduced: 1988
manufacturer: McDonnell Douglas
origin: USA
price: 24
role: Multirole Strike Fighter
max_range: 300
use_f15e_waypoint_names: true
variants:
F-15E Strike Eagle (Suite 4+): {}
radios:
intra_flight: AN/ARC-210
inter_flight: AN/ARC-164
channels:
type: common
# Radio 1 is the UHF AN/ARC-164, and Radio 2 is the V/UHF AN/ARC-210. We
# only ever allocate UHF for inter-flight, so we'd prefer to use radio 2 for
# intra-flight, but as is often the case the flight's frequency will be
# assigned to radio 1 channel 1 no matter what we do.
intra_flight_radio_index: 1
inter_flight_radio_index: 2
tasks:
BAI: 760
BARCAP: 240
CAS: 760
DEAD: 260
Escort: 240
Fighter sweep: 240
Intercept: 240
OCA/Aircraft: 760
OCA/Runway: 630
Strike: 640
TARCAP: 240
laser_codes:
- property:
id: Sta2LaserCode
digits: 3
- property:
id: LCFTLaserCode
digits: 3
- property:
id: Sta5LaserCode
digits: 3
- property:
id: RCFTLaserCode
digits: 3
- property:
id: Sta8LaserCode
digits: 3
hit_points: 18