From c08ddb61b32e081dcabcb697eb094cd81890eafc Mon Sep 17 00:00:00 2001 From: Bryan Quigley Date: Tue, 22 Aug 2023 17:22:12 -0700 Subject: [PATCH] Better Naval AI I noticed even on a naval only map, the naval AI doesn't necessarily beat a Normal AI. This makes it much more likely that it will. - Drop number of ore refineries and ore trucks. As Naval AI is mostly suited for islands I haven't found a map that really needs as many as the other AIs. - Reduce number of ground based base defenses - and delay Tesla coil a lot. - Reduce number of migs as yaks more useful if they just get blown up. - Add Flak trucks and v2s for base defense for Soviet - Add Jeep and Arty for base defense for Allied - Add delay for building ore truck so now chance of building one first from War Factory - A service depot is not useful for this AI except for building an MCV so delay it a lot. Tested with Ukraine and Germany and can consistently beat normal on island map. --- mods/ra/rules/ai.yaml | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/mods/ra/rules/ai.yaml b/mods/ra/rules/ai.yaml index 5e231f9791..56d5226fc8 100644 --- a/mods/ra/rules/ai.yaml +++ b/mods/ra/rules/ai.yaml @@ -234,7 +234,7 @@ Player: BaseBuilderBotModule@naval: RequiresCondition: enable-naval-ai MinimumExcessPower: 60 - MaximumExcessPower: 200 + MaximumExcessPower: 400 ExcessPowerIncrement: 40 ExcessPowerIncreaseThreshold: 4 ConstructionYardTypes: fact @@ -247,7 +247,7 @@ Player: SiloTypes: silo DefenseTypes: hbox,pbox,gun,ftur,tsla,agun,sam BuildingLimits: - proc: 4 + proc: 3 dome: 1 barr: 1 tent: 1 @@ -261,26 +261,28 @@ Player: stek: 1 fix: 1 BuildingFractions: - proc: 30 + proc: 25 dome: 1 weap: 1 - hpad: 20 - afld: 20 - afld.ukraine: 20 + hpad: 15 + afld: 15 + afld.ukraine: 15 atek: 1 stek: 1 spen: 1 syrd: 1 fix: 1 - pbox: 12 - gun: 12 - ftur: 12 - tsla: 12 + pbox: 2 + gun: 2 + ftur: 2 + tsla: 1 agun: 5 sam: 5 mslo: 1 BuildingDelays: dome: 3000 + fix: 20000 + tsla: 21000 BuildingRepairBotModule: RequiresCondition: enable-rush-ai || enable-normal-ai || enable-turtle-ai || enable-naval-ai SquadManagerBotModule@rush: @@ -435,14 +437,24 @@ Player: RequiresCondition: enable-naval-ai UnitsToBuild: harv: 1 + ftrk: 40 + arty: 40 + v2rl: 40 + jeep: 40 heli: 30 mh60: 30 - mig: 30 - yak: 30 + mig: 15 + yak: 60 ss: 10 msub: 30 dd: 30 ca: 20 pt: 10 UnitLimits: - harv: 8 + harv: 4 + ftrk: 3 + arty: 1 + v2rl: 1 + jeep: 1 + UnitDelays: + harv: 10000