From 8ba833777cf9eb8500dd18a08a69dea537c044fc Mon Sep 17 00:00:00 2001 From: reaperrr Date: Fri, 17 Jun 2016 00:24:10 +0200 Subject: [PATCH] Make AI deploy MCVs in the vincinity of existing construction yards While the general idea of AIs building distant secondary bases might be tempting, in reality the AI would way too often send the MCV close to some enemy base, wasting the cash and potentially increased build speed/additional build queue. Deploying MCVs close to the existing base ensures that the AI will actually have some benefit from building an MCV. --- OpenRA.Mods.Common/AI/HackyAI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/AI/HackyAI.cs b/OpenRA.Mods.Common/AI/HackyAI.cs index 1ce6dc446b..b1c4b91d84 100644 --- a/OpenRA.Mods.Common/AI/HackyAI.cs +++ b/OpenRA.Mods.Common/AI/HackyAI.cs @@ -829,7 +829,7 @@ namespace OpenRA.Mods.Common.AI continue; var factType = mcv.Info.TraitInfo().IntoActor; - var desiredLocation = ChooseBuildLocation(factType, false, BuildingType.Building); + var desiredLocation = ChooseBuildLocation(factType, true, BuildingType.Building); if (desiredLocation == null) continue;