mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add Forrestal support, use in US 1975.
https://github.com/dcs-liberation/dcs_liberation/issues/1657
This commit is contained in:
parent
822d737f65
commit
46bf952562
@ -1,4 +1,5 @@
|
|||||||
from dcs.ships import (
|
from dcs.ships import (
|
||||||
|
Forrestal,
|
||||||
PIOTR,
|
PIOTR,
|
||||||
MOSCOW,
|
MOSCOW,
|
||||||
VINSON,
|
VINSON,
|
||||||
@ -85,24 +86,25 @@ UNITS_WITH_RADAR = {
|
|||||||
AirDefence.FuMG_401,
|
AirDefence.FuMG_401,
|
||||||
AirDefence.FuSe_65,
|
AirDefence.FuSe_65,
|
||||||
# Ships
|
# Ships
|
||||||
VINSON,
|
|
||||||
PERRY,
|
|
||||||
TICONDEROG,
|
|
||||||
ALBATROS,
|
ALBATROS,
|
||||||
KUZNECOW,
|
|
||||||
MOLNIYA,
|
|
||||||
MOSCOW,
|
|
||||||
NEUSTRASH,
|
|
||||||
PIOTR,
|
|
||||||
REZKY,
|
|
||||||
CV_1143_5,
|
|
||||||
Stennis,
|
|
||||||
CVN_71,
|
CVN_71,
|
||||||
CVN_72,
|
CVN_72,
|
||||||
CVN_73,
|
CVN_73,
|
||||||
USS_Arleigh_Burke_IIa,
|
CV_1143_5,
|
||||||
|
Forrestal,
|
||||||
|
KUZNECOW,
|
||||||
LHA_Tarawa,
|
LHA_Tarawa,
|
||||||
|
MOLNIYA,
|
||||||
|
MOSCOW,
|
||||||
|
NEUSTRASH,
|
||||||
|
PERRY,
|
||||||
|
PIOTR,
|
||||||
|
REZKY,
|
||||||
|
Stennis,
|
||||||
|
TICONDEROG,
|
||||||
Type_052B,
|
Type_052B,
|
||||||
Type_054A,
|
|
||||||
Type_052C,
|
Type_052C,
|
||||||
|
Type_054A,
|
||||||
|
USS_Arleigh_Burke_IIa,
|
||||||
|
VINSON,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,6 +25,7 @@ from typing import (
|
|||||||
|
|
||||||
from dcs.mapping import Point
|
from dcs.mapping import Point
|
||||||
from dcs.ships import (
|
from dcs.ships import (
|
||||||
|
Forrestal,
|
||||||
Stennis,
|
Stennis,
|
||||||
KUZNECOW,
|
KUZNECOW,
|
||||||
LHA_Tarawa,
|
LHA_Tarawa,
|
||||||
@ -521,6 +522,7 @@ class ControlPoint(MissionTarget, ABC):
|
|||||||
for group in g.groups:
|
for group in g.groups:
|
||||||
for u in group.units:
|
for u in group.units:
|
||||||
if db.unit_type_from_name(u.type) in [
|
if db.unit_type_from_name(u.type) in [
|
||||||
|
Forrestal,
|
||||||
Stennis,
|
Stennis,
|
||||||
KUZNECOW,
|
KUZNECOW,
|
||||||
]:
|
]:
|
||||||
@ -1005,6 +1007,7 @@ class NavalControlPoint(ControlPoint, ABC):
|
|||||||
for group in self.find_main_tgo().groups:
|
for group in self.find_main_tgo().groups:
|
||||||
for u in group.units:
|
for u in group.units:
|
||||||
if db.unit_type_from_name(u.type) in [
|
if db.unit_type_from_name(u.type) in [
|
||||||
|
Forrestal,
|
||||||
Stennis,
|
Stennis,
|
||||||
LHA_Tarawa,
|
LHA_Tarawa,
|
||||||
KUZNECOW,
|
KUZNECOW,
|
||||||
|
|||||||
@ -3,9 +3,7 @@
|
|||||||
"name": "USA 1975",
|
"name": "USA 1975",
|
||||||
"authors": "Khopa",
|
"authors": "Khopa",
|
||||||
"description": "<p>US army in the 70s at the end of the war in Vietnam.</p>",
|
"description": "<p>US army in the 70s at the end of the war in Vietnam.</p>",
|
||||||
"locales": [
|
"locales": ["en_US"],
|
||||||
"en_US"
|
|
||||||
],
|
|
||||||
"aircrafts": [
|
"aircrafts": [
|
||||||
"B-52H Stratofortress",
|
"B-52H Stratofortress",
|
||||||
"C-130",
|
"C-130",
|
||||||
@ -17,41 +15,27 @@
|
|||||||
"S-3B Viking",
|
"S-3B Viking",
|
||||||
"UH-1H Iroquois"
|
"UH-1H Iroquois"
|
||||||
],
|
],
|
||||||
"awacs": [
|
"awacs": ["E-2C Hawkeye"],
|
||||||
"E-2C Hawkeye"
|
"tankers": ["KC-130", "KC-135 Stratotanker"],
|
||||||
],
|
|
||||||
"tankers": [
|
|
||||||
"KC-130",
|
|
||||||
"KC-135 Stratotanker"
|
|
||||||
],
|
|
||||||
"frontline_units": [
|
"frontline_units": [
|
||||||
"M113",
|
"M113",
|
||||||
"M163 Vulcan Air Defense System",
|
"M163 Vulcan Air Defense System",
|
||||||
"M48 Chaparral",
|
"M48 Chaparral",
|
||||||
"M60A3 \"Patton\""
|
"M60A3 \"Patton\""
|
||||||
],
|
],
|
||||||
"artillery_units": [
|
"artillery_units": ["M109A6 Paladin"],
|
||||||
"M109A6 Paladin"
|
"logistics_units": ["Truck M818 6x6"],
|
||||||
],
|
"infantry_units": ["Infantry M249", "Infantry M4"],
|
||||||
"logistics_units": [
|
|
||||||
"Truck M818 6x6"
|
|
||||||
],
|
|
||||||
"infantry_units": [
|
|
||||||
"Infantry M249",
|
|
||||||
"Infantry M4"
|
|
||||||
],
|
|
||||||
"air_defenses": [
|
"air_defenses": [
|
||||||
"ChaparralGenerator",
|
"ChaparralGenerator",
|
||||||
"EarlyColdWarFlakGenerator",
|
"EarlyColdWarFlakGenerator",
|
||||||
"HawkGenerator",
|
"HawkGenerator",
|
||||||
"VulcanGenerator"
|
"VulcanGenerator"
|
||||||
],
|
],
|
||||||
"ewrs": [
|
"ewrs": ["HawkEwrGenerator"],
|
||||||
"HawkEwrGenerator"
|
"aircraft_carrier": ["Forrestal"],
|
||||||
],
|
"carrier_names": ["CVN-59 Forrestal"],
|
||||||
"navy_generators": [
|
"navy_generators": ["OliverHazardPerryGroupGenerator"],
|
||||||
"OliverHazardPerryGroupGenerator"
|
|
||||||
],
|
|
||||||
"requirements": {},
|
"requirements": {},
|
||||||
"doctrine": "coldwar"
|
"doctrine": "coldwar"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user