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.
19 lines
863 B
YAML
19 lines
863 B
YAML
class: Tank
|
|
description: The T-54/55 series was the most-produced tank in history. Estimated production
|
|
numbers for the series range from 86,000 to 100,000. They were replaced by the T-62,
|
|
T-64, T-72, T-80 and T-90 tanks in the Soviet and Russian armies, but remain in
|
|
use by up to 50 other armies worldwide, some having received sophisticated retrofitting.
|
|
During the Cold War, Soviet tanks never directly faced their NATO adversaries in
|
|
combat in Europe. However, the T-54/55's first appearance in the West around the
|
|
period of the 1950s (then the beginning of the Cold War) spurred the United Kingdom
|
|
to develop a new tank gun, the Royal Ordnance L7, and the United States to develop
|
|
the M60 Patton.
|
|
introduced: 1963
|
|
manufacturer: Kharkiv/UralVagonZavod
|
|
origin: USSR/Russia
|
|
price: 18
|
|
role: Main Battle Tank
|
|
variants:
|
|
T-55A: {}
|
|
hit_points: 18
|