mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
new options, landmaps, mission settings generation update & frontlike smokes generation
This commit is contained in:
BIN
resources/cau_terrain.miz
Normal file
BIN
resources/cau_terrain.miz
Normal file
Binary file not shown.
BIN
resources/caulandmap.p
Normal file
BIN
resources/caulandmap.p
Normal file
Binary file not shown.
14
resources/generate_landmap.py
Normal file
14
resources/generate_landmap.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import pickle
|
||||
|
||||
from dcs.mission import Mission
|
||||
from dcs.terrain import PersianGulf
|
||||
|
||||
m = Mission()
|
||||
m.load_file("./gulf_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:
|
||||
pickle.dump(landmap, f)
|
||||
BIN
resources/gulf_terrain.miz
Normal file
BIN
resources/gulf_terrain.miz
Normal file
Binary file not shown.
BIN
resources/gulflandmap.p
Normal file
BIN
resources/gulflandmap.p
Normal file
Binary file not shown.
BIN
resources/nevada.gif
Normal file
BIN
resources/nevada.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 117 KiB |
BIN
resources/persiangulf.gif
Normal file
BIN
resources/persiangulf.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
Reference in New Issue
Block a user