Disable the Ptolemaic lighthouse on some maps with a lot of little water spots.
Refs #3174. This was SVN commit r16629.
This commit is contained in:
parent
642500b49e
commit
2b7ba4ff0b
@ -7,6 +7,9 @@
|
||||
"BaseTerrain" : ["temp_grass", "temp_grass_b", "temp_grass_c", "temp_grass_d", "temp_grass_long_b", "temp_grass_clovers_2", "temp_grass_mossy", "temp_grass_plants"],
|
||||
"BaseHeight" : 0,
|
||||
"Preview" : "belgian_uplands.png",
|
||||
"TriggerScripts": [
|
||||
"scripts/disable_ptol_lighthouse.js"
|
||||
],
|
||||
"XXXXXX" : "Optionally define other things here, like we would for a scenario"
|
||||
}
|
||||
}
|
||||
|
BIN
binaries/data/mods/public/maps/scenarios/Belgian_Bog_night.xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/scenarios/Belgian_Bog_night.xml
(Stored with Git LFS)
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
let cmpPlayerManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_PlayerManager);
|
||||
|
||||
for (let i = 1; i < cmpPlayerManager.GetNumPlayers(); ++i)
|
||||
{
|
||||
let cmpPlayer = Engine.QueryInterface(cmpPlayerManager.GetPlayerByID(i), IID_Player);
|
||||
if (cmpPlayer)
|
||||
cmpPlayer.AddDisabledTemplate("structures/ptol_lighthouse");
|
||||
}
|
BIN
binaries/data/mods/public/maps/skirmishes/Belgian Bog (2).xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/skirmishes/Belgian Bog (2).xml
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user