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.
This commit is contained in:
Bryan Quigley
2023-08-22 17:22:12 -07:00
committed by Gustas
parent fb55f2824e
commit c08ddb61b3

View File

@@ -234,7 +234,7 @@ Player:
BaseBuilderBotModule@naval: BaseBuilderBotModule@naval:
RequiresCondition: enable-naval-ai RequiresCondition: enable-naval-ai
MinimumExcessPower: 60 MinimumExcessPower: 60
MaximumExcessPower: 200 MaximumExcessPower: 400
ExcessPowerIncrement: 40 ExcessPowerIncrement: 40
ExcessPowerIncreaseThreshold: 4 ExcessPowerIncreaseThreshold: 4
ConstructionYardTypes: fact ConstructionYardTypes: fact
@@ -247,7 +247,7 @@ Player:
SiloTypes: silo SiloTypes: silo
DefenseTypes: hbox,pbox,gun,ftur,tsla,agun,sam DefenseTypes: hbox,pbox,gun,ftur,tsla,agun,sam
BuildingLimits: BuildingLimits:
proc: 4 proc: 3
dome: 1 dome: 1
barr: 1 barr: 1
tent: 1 tent: 1
@@ -261,26 +261,28 @@ Player:
stek: 1 stek: 1
fix: 1 fix: 1
BuildingFractions: BuildingFractions:
proc: 30 proc: 25
dome: 1 dome: 1
weap: 1 weap: 1
hpad: 20 hpad: 15
afld: 20 afld: 15
afld.ukraine: 20 afld.ukraine: 15
atek: 1 atek: 1
stek: 1 stek: 1
spen: 1 spen: 1
syrd: 1 syrd: 1
fix: 1 fix: 1
pbox: 12 pbox: 2
gun: 12 gun: 2
ftur: 12 ftur: 2
tsla: 12 tsla: 1
agun: 5 agun: 5
sam: 5 sam: 5
mslo: 1 mslo: 1
BuildingDelays: BuildingDelays:
dome: 3000 dome: 3000
fix: 20000
tsla: 21000
BuildingRepairBotModule: BuildingRepairBotModule:
RequiresCondition: enable-rush-ai || enable-normal-ai || enable-turtle-ai || enable-naval-ai RequiresCondition: enable-rush-ai || enable-normal-ai || enable-turtle-ai || enable-naval-ai
SquadManagerBotModule@rush: SquadManagerBotModule@rush:
@@ -435,14 +437,24 @@ Player:
RequiresCondition: enable-naval-ai RequiresCondition: enable-naval-ai
UnitsToBuild: UnitsToBuild:
harv: 1 harv: 1
ftrk: 40
arty: 40
v2rl: 40
jeep: 40
heli: 30 heli: 30
mh60: 30 mh60: 30
mig: 30 mig: 15
yak: 30 yak: 60
ss: 10 ss: 10
msub: 30 msub: 30
dd: 30 dd: 30
ca: 20 ca: 20
pt: 10 pt: 10
UnitLimits: UnitLimits:
harv: 8 harv: 4
ftrk: 3
arty: 1
v2rl: 1
jeep: 1
UnitDelays:
harv: 10000