mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Updated the Caucasus landmap (#28)
It is now also suitable for campaigns set in the forested regions of Caucasus. There are corridors for ground forces from Apsheronsk to Tuapse and from Maykop to Sochi. Also, the hilly area around Ambrolauri can now be used in campaigns as well.
This commit is contained in:
parent
f5c7935993
commit
bc674edb3a
Binary file not shown.
Binary file not shown.
@ -52,17 +52,13 @@ def main() -> None:
|
||||
for plane_group in m.country("USA").plane_group:
|
||||
zone = [(x.position.x, x.position.y) for x in plane_group.points]
|
||||
|
||||
if terrain == "cau" and inclusion_zones:
|
||||
# legacy
|
||||
exclusion_zones.append(Polygon(zone))
|
||||
poly = Polygon(zone)
|
||||
if not poly.is_valid:
|
||||
raise RuntimeError(f"{plane_group} is invalid")
|
||||
if plane_group.units[0].type == "F-15C":
|
||||
exclusion_zones.append(poly)
|
||||
else:
|
||||
poly = Polygon(zone)
|
||||
if not poly.is_valid:
|
||||
raise RuntimeError(f"{plane_group} is invalid")
|
||||
if plane_group.units[0].type == "F-15C":
|
||||
exclusion_zones.append(poly)
|
||||
else:
|
||||
inclusion_zones.append(poly)
|
||||
inclusion_zones.append(poly)
|
||||
|
||||
for ship_group in m.country("USA").ship_group:
|
||||
zone = [(x.position.x, x.position.y) for x in ship_group.points]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user