mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
ground intercept mission
This commit is contained in:
43
__init__.py
43
__init__.py
@@ -35,19 +35,38 @@ theater.senaki.base.aa = {
|
||||
AirDefence.AAA_ZU_23_on_Ural_375: 2,
|
||||
}
|
||||
|
||||
"""
|
||||
op = game.mission.CaptureOperation(m, m.country("USA"), m.country("Russia"), theater.senaki, theater.batumi, {A_10C: 2}, {F_15C: 2}, {Armor.MBT_M1A2_Abrams: 4}, {Su_27: 4}, {Armor.MBT_T_55: 4}, {})
|
||||
op.generate()
|
||||
"""
|
||||
op = game.mission.CaptureOperation(
|
||||
mission=m,
|
||||
attacker=m.country("USA"),
|
||||
defender=m.country("Russia"),
|
||||
from_cp=theater.senaki,
|
||||
to_cp=theater.batumi,
|
||||
cas={A_10C: 2},
|
||||
escort={F_15C: 2},
|
||||
attack={Armor.MBT_M1A2_Abrams: 4},
|
||||
intercept={Su_27: 4},
|
||||
defense={Armor.MBT_T_55: 4},
|
||||
aa={AirDefence.AAA_ZU_23_Insurgent_on_Ural_375: 3})
|
||||
|
||||
op = game.mission.InterceptOperation(m,
|
||||
m.country("USA"),
|
||||
m.country("Russia"),
|
||||
theater.batumi,
|
||||
m.terrain.batumi(),
|
||||
escort={Su_27: 2},
|
||||
transport={An_26B: 2},
|
||||
interceptors={M_2000C: 2})
|
||||
op = game.mission.InterceptOperation(
|
||||
mission=m,
|
||||
attacker=m.country("USA"),
|
||||
defender=m.country("Russia"),
|
||||
destination=theater.batumi,
|
||||
destination_port=m.terrain.batumi(),
|
||||
escort={Su_27: 2},
|
||||
transport={An_26B: 2},
|
||||
interceptors={M_2000C: 2}
|
||||
)
|
||||
|
||||
op = game.mission.GroundInterceptOperation(
|
||||
mission=m,
|
||||
attacker=m.country("USA"),
|
||||
defender=m.country("Russia"),
|
||||
position=m.terrain.batumi().position,
|
||||
target={Unarmed.Transport_ZIL_4331: 10},
|
||||
strikegroup={A_10C: 2}
|
||||
)
|
||||
op.generate()
|
||||
|
||||
if not os.path.exists("./build"):
|
||||
|
||||
Reference in New Issue
Block a user