Load LocalMP bot pools from mission custom rules
The 2.61.0.37 client reads customRules/customBots into its bot settings. Send the existing matchmaking pools and both country lists through that block. Verified both coalitions in an isolated Ground Realistic battle.
This commit is contained in:
1 parent
a634a59976
commit
bfb97de6c7
1 file changed
+3
-1
@@ -69,7 +69,9 @@ export function battleMissionSettings(plan: BattleLaunchPlan, scores: Readonly<R
|
||||
setParam(ranks, 'min', integer(plan.minMrank));
|
||||
setParam(ranks, 'max', integer(plan.maxMrank));
|
||||
}
|
||||
settings.blocks.push(customBotsBlock(plan));
|
||||
// The 2.61.0.37 mission loader copies customRules at 0x126db82 and reads customBots
|
||||
// from that block at 0x126f074.
|
||||
ensureBlock(settings, 'customRules').blocks.push(customBotsBlock(plan));
|
||||
return settings;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user