mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Added mizdata preset locations for the channel map.
This commit is contained in:
parent
1fcceb0901
commit
7a5ce98569
@ -1,7 +1,7 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from dcs import Mission
|
from dcs import Mission, ships
|
||||||
from dcs.vehicles import MissilesSS
|
from dcs.vehicles import MissilesSS
|
||||||
|
|
||||||
from gen.locations.preset_control_point_locations import PresetControlPointLocations
|
from gen.locations.preset_control_point_locations import PresetControlPointLocations
|
||||||
@ -37,7 +37,7 @@ class PresetLocationFinder:
|
|||||||
vehicle_group.name))
|
vehicle_group.name))
|
||||||
|
|
||||||
for ship_group in m.country("USA").ship_group:
|
for ship_group in m.country("USA").ship_group:
|
||||||
if len(ship_group.units) > 0:
|
if len(ship_group.units) > 0 and ship_group.units[0].type == ships.Oliver_Hazzard_Perry_class.id:
|
||||||
offshore_locations.append(PresetLocation(ship_group.position,
|
offshore_locations.append(PresetLocation(ship_group.position,
|
||||||
ship_group.units[0].heading,
|
ship_group.units[0].heading,
|
||||||
ship_group.name))
|
ship_group.name))
|
||||||
|
|||||||
BIN
resources/mizdata/thechannel/Abbeville Drucat.miz
Normal file
BIN
resources/mizdata/thechannel/Abbeville Drucat.miz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/mizdata/thechannel/Merville Calonne.miz
Normal file
BIN
resources/mizdata/thechannel/Merville Calonne.miz
Normal file
Binary file not shown.
BIN
resources/mizdata/thechannel/Saint Omer Longuenesse.miz
Normal file
BIN
resources/mizdata/thechannel/Saint Omer Longuenesse.miz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user