mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
This limit is determined by the number of buildings that belong to Ammo Depots at the front line's connected Control Point. The limit increases for every surviving building at ammo depot objectives. There is a lower limit to the number of units that will spawn, so that if there are no surviving ammo depot buildings at a control point, there will still be some ground conflict.
64 lines
1.1 KiB
Python
64 lines
1.1 KiB
Python
import inspect
|
|
import dcs
|
|
|
|
DEFAULT_AVAILABLE_BUILDINGS = [
|
|
"fuel",
|
|
"comms",
|
|
"oil",
|
|
"ware",
|
|
"farp",
|
|
"power",
|
|
"derrick",
|
|
]
|
|
|
|
WW2_FREE = ["fuel", "ware", "fob"]
|
|
WW2_GERMANY_BUILDINGS = [
|
|
"fuel",
|
|
"ww2bunker",
|
|
"ww2bunker",
|
|
"ww2bunker",
|
|
"allycamp",
|
|
"allycamp",
|
|
]
|
|
WW2_ALLIES_BUILDINGS = [
|
|
"fuel",
|
|
"allycamp",
|
|
"allycamp",
|
|
"allycamp",
|
|
"allycamp",
|
|
"allycamp",
|
|
]
|
|
|
|
FORTIFICATION_BUILDINGS = [
|
|
"Siegfried Line",
|
|
"Concertina wire",
|
|
"Concertina Wire",
|
|
"Czech hedgehogs 1",
|
|
"Czech hedgehogs 2",
|
|
"Dragonteeth 1",
|
|
"Dragonteeth 2",
|
|
"Dragonteeth 3",
|
|
"Dragonteeth 4",
|
|
"Dragonteeth 5",
|
|
"Haystack 1",
|
|
"Haystack 2",
|
|
"Haystack 3",
|
|
"Haystack 4",
|
|
"Hemmkurvenvenhindernis",
|
|
"Log posts 1",
|
|
"Log posts 2",
|
|
"Log posts 3",
|
|
"Log ramps 1",
|
|
"Log ramps 2",
|
|
"Log ramps 3",
|
|
"Belgian Gate",
|
|
"Container white",
|
|
]
|
|
|
|
FORTIFICATION_UNITS = [
|
|
c for c in vars(dcs.vehicles.Fortification).values() if inspect.isclass(c)
|
|
]
|
|
FORTIFICATION_UNITS_ID = [
|
|
c.id for c in vars(dcs.vehicles.Fortification).values() if inspect.isclass(c)
|
|
]
|