mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
intercept mission
This commit is contained in:
committed by
Vasyl Horbachenko
parent
a61f487196
commit
781ddce09d
17
__init__.py
17
__init__.py
@@ -35,7 +35,22 @@ theater.senaki.base.aa = {
|
||||
AirDefence.AAA_ZU_23_on_Ural_375: 2,
|
||||
}
|
||||
|
||||
op = game.mission.CaptureOperation.playerless(m, theater.kutaisi, theater.senaki)
|
||||
"""
|
||||
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.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.generate()
|
||||
|
||||
if not os.path.exists("./build"):
|
||||
os.mkdir("./build")
|
||||
|
||||
m.save("build/output.miz")
|
||||
|
||||
Reference in New Issue
Block a user