naval interceptions fixed; unit placement fixes

This commit is contained in:
Vasyl Horbachenko
2018-06-19 03:11:01 +03:00
parent e2dbaa100f
commit 78ab7cadd4
24 changed files with 342 additions and 177 deletions

Binary file not shown.

View File

@@ -4,11 +4,11 @@ from dcs.mission import Mission
from dcs.terrain import PersianGulf
m = Mission()
m.load_file("./gulf_terrain.miz")
m.load_file("tools/cau_terrain.miz")
landmap = []
for plane_group in m.country("USA").plane_group:
landmap.append([(x.position.x, x.position.y) for x in plane_group.points])
with open("gulflandmap.p", "wb") as f:
with open("./caulandmap.p", "wb") as f:
pickle.dump(landmap, f)