Skip to content

Commit acd1f7e

Browse files
committed
Minor mission fixes.
1 parent 224230f commit acd1f7e

6 files changed

Lines changed: 30 additions & 7 deletions

File tree

mods/ca/missions/coop-campaign/ca17-domination-coop/domination-coop-rules.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ YURI.Clone:
3131
-Encyclopedia:
3232
Tooltip:
3333
Name: Yuri Clone
34+
35+
# Captured buildings provide proxy
36+
^BasicBuilding:
37+
CreateProxyActorForAllies:
38+
RequiresPlayableOwner: False

mods/ca/missions/coop-campaign/ca25-enmity-coop/enmity-coop.lua

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ SetupPlayers = function()
1616
end
1717

1818
AfterWorldLoaded = function()
19+
TransferBaseToPlayer(SinglePlayerPlayer, GetFirstActivePlayer())
1920
if #MissionPlayers > 1 then
20-
local player2Buildings = { Actor109, Actor96, Actor100, Actor294 }
21-
Utils.Do(player2Buildings, function(b)
22-
b.Owner = MissionPlayers[2]
21+
Trigger.AfterDelay(2, function()
22+
local player2Buildings = { Actor109, Actor96, Actor100, Actor294 }
23+
Utils.Do(player2Buildings, function(b)
24+
b.Owner = MissionPlayers[2]
25+
end)
2326
end)
2427
end
2528
end

mods/ca/missions/main-campaign/ca01-crossrip/crossrip-rules.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ PDOX.CROSSRIP:
102102

103103
# Disable tech
104104

105-
OREP:
106-
Inherits@CAMPAIGNDISABLED: ^Disabled
107-
108105
HPAD:
109106
Inherits@CAMPAIGNDISABLED: ^Disabled
110107

mods/ca/rules/custom/campaign-rules.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,10 @@ ISU:
10651065
Buildable:
10661066
Prerequisites: anyradar, ~vehicles.soviet, ~techlevel.medium
10671067

1068+
V3RL:
1069+
Buildable:
1070+
Prerequisites: stek, ~vehicles.soviet, ~techlevel.high
1071+
10681072
deso.upgrade:
10691073
Buildable:
10701074
Prerequisites: ~player.soviet, stek, ~techlevel.high

mods/ca/rules/custom/coop-rules.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,20 @@ OILB:
331331
CashTrickler:
332332
UseResourceStorage: True
333333

334+
HQ.UPG:
335+
CashTrickler@Hacker0:
336+
UseResourceStorage: True
337+
CashTrickler@Hacker1:
338+
UseResourceStorage: True
339+
CashTrickler@Hacker2:
340+
UseResourceStorage: True
341+
CashTrickler@Hacker3:
342+
UseResourceStorage: True
343+
CashTrickler@Hacker4:
344+
UseResourceStorage: True
345+
CashTrickler@Hacker5:
346+
UseResourceStorage: True
347+
334348
^BasicBuilding:
335349
CreateProxyActorForAllies:
336350
ProxyNamePrefix: coop

mods/ca/rules/custom/disable-coalitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ ENFO:
4040

4141
OREP:
4242
Buildable:
43-
Prerequisites: ~structures.allies, atek
43+
Prerequisites: ~structures.allies, atek, ~techlevel.high

0 commit comments

Comments
 (0)