Skip to content

Commit

Permalink
fix soviet AI
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwieth committed Sep 8, 2024
1 parent 1012015 commit 21213a9
Show file tree
Hide file tree
Showing 14 changed files with 941 additions and 877 deletions.
349 changes: 5 additions & 344 deletions mods/ca/rules/ai/brutal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,181 +15,23 @@ Player:
RequiresCondition: enable-brutal-ai || enable-vhard-ai
BuildingQueues: Building, Commander_Tree
MinimumExcessPower: 50
MaximumExcessPower: 350
MaximumExcessPower: 500
ExcessPowerIncrement: 10
ExcessPowerIncreaseThreshold: 1
PlaceDefenseTowardsEnemyChance: 75
ConstructionYardTypes: fact,afac,sfac,chcommand,fact.nukular,afac.nukular,sfac.nukular,chcommand.nukular
RefineryTypes: proc,proc.td,proc.scrin,chsupply
RefineryTypes: proc,proc.td,proc.scrin,chsupply,soviet_refinery
PowerTypes: powr,apwr,nuke,nuk2,tpwr,reac,rea2,chpower,chpower2
BarracksTypes: barr,tent,hand,pyle,port,chsyrd,chbarracks
VehiclesFactoryTypes: weap,airs,weap.td,wsph,chweap
ProductionTypes: barr,tent,hand,pyle,port,airs,weap,weap.td,wsph,afld,afld.gdi,afld.allies,chairport,hpad,hpad.td,grav,chbarracks,chairport,chweap
NavalProductionTypes: spen,syrd,spen.nod,syrd.gdi,chsyrd
SiloTypes: silo,silo.td,silo.scrin
AntiAirTypes: sam, nsam, agun, cram, shar, chgatling
MaxBaseRadius: 26
BuildingDelays:
kenn: 2800
dome: 4500
hq: 4500
nerv: 4500
chcommand.radar: 4500
syrd: 6000
spen: 6000
syrd.gdi: 6000
spen.nod: 6000
chsyrd: 6000
afld: 6375
afld.gdi: 6375
afld.allies: 6375
chairport: 6375
grav: 6375
hpad: 6375
hpad.td: 6375
atek: 6375
gtek: 6375
stek: 6375
tmpl: 6375
scrt: 6375
chpropaganda: 6375
bio.nod: 8000
miss.gdi: 8000
indp: 8000
orep: 8000
sign: 8000
chinternetcenter: 8000
mslo: 8000
mslo.nod: 8000
weat: 8000
eye: 8000
rift: 8000
chsilo: 8000
BuildingLimits:
barr: 20
tent: 20
pyle: 20
hand: 20
port: 20
chbarracks: 20
kenn: 1
dome: 1
hq: 1
nerv: 1
chcommand.radar: 1
weap: 20
weap.td: 20
chweap: 20
wsph: 20
airs: 20
hpad: 10
hpad.td: 10
afld: 10
afld.gdi: 10
afld.allies: 10
grav: 20
chairport: 20
atek: 1
stek: 1
gtek: 1
tmpl: 1
scrt: 1
chpropaganda: 1
fix: 1
rep: 1
srep: 1
spen: 2
syrd: 2
spen.nod: 2
syrd.gdi: 2
MaxBaseRadius: 30
BuildingFractions:
proc: 30
proc.td: 30
proc.scrin: 30
chsupply: 30
hand: 3
pyle: 3
barr: 3
tent: 3
port: 3
chbarracks: 3
kenn: 1
weap: 5
weap.td: 5
chweap: 5
airs: 5
wsph: 5
pbox: 7
hbox: 7
gtwr: 7
gun: 7
gun.td: 7
chgatling: 7
chbunker.ai: 7
ptur: 7
scol: 9
tsla: 9
obli: 8
ltur: 10
ftur: 10
ttur: 10
grand_cannon: 7
atwr: 10
stwr: 8
pris: 8
agun: 9
cram: 9
sam: 9
nsam: 9
shar: 9
gap: 1
atek: 1
stek: 1
chpropaganda: 1
silo: 1
silo.td: 1
silo.scrin: 1
fix: 1
dome: 10
chcommand.radar: 10
tmpl: 1
gtek: 1
scrt: 1
rep: 1
srep: 1
hq: 10
nerv: 10
afld: 2
afld.gdi: 2
afld.allies: 2
chairport: 2
grav: 2
mslo: 1
iron: 1
pdox: 1
sgen: 1
mani: 1
eye: 1
weat: 1
mslo.nod: 1
chsilo: 1
rift: 1
indp: 1
bio.nod: 1
miss.gdi: 1
orep: 1
sign: 1
patr: 1
hpad: 2
hpad.td: 2
spen: 1
syrd: 1
spen.nod: 1
syrd.gdi: 1
chsyrd: 1
bombard.strat: 1
seek.strat: 1
hold.strat: 1
#upgrades
commander_tree.advanced_infantry_training: 30
UnitBuilderBotModuleCA@brutal-vhard:
RequiresCondition: enable-brutal-ai || enable-vhard-ai
IdleBaseUnitsMaximum: 50
Expand All @@ -198,146 +40,7 @@ Player:
MaintainAirSuperiority: true
AirToAirUnits: heli, yak, mig, orca, apch, scrn, venm, stmr, enrv, a10.upg, harr, chmig.aa
AirThreatUnits: heli, yak, mig, orca, apch, scrn, venm, stmr, enrv, a10.upg, harr, pac, deva, kiro, mshp, chmig, chmig.aa
UnitIntervals:
mshp: 7500
mcv: 3000
amcv: 3000
smcv: 3000
harv: 2250
harv.td: 2250
harv.scrin: 2250
harv.chrono: 2250
rmbo: 2250
e7: 2250
mast: 2250
yuri: 2250
bori: 2250
UnitsToBuild:
conscript: 65
light_infantry: 65
e2: 25
rpg_soldier: 40
rocket_infantry: 40
flamethrower: 15
e6: 5
adept: 65
mercenary: 65
n2: 25
rocket_mercenary: 40
rocket_trooper: 40
n4: 15
n5: 15
n6: 5
stormtrooper: 65
rocket_cyborg: 40
s1: 65
s2: 40
s3: 40
s4: 15
s6: 5
rmbc: 15
mort: 15
medi: 3
mech: 3
dog: 2
sab: 2
shok: 15
e8: 15
snip: 15
jjet: 15
obelisk_trooper: 15
rmbo: 15
e7: 15
bori: 15
mast: 15
apc: 20
intl: 10
jeep: 30
apc2: 20
vulc: 10
hmmv: 30
btr: 20
gunw: 20
bggy: 30
arty: 20
howi: 20
ptnk: 20
pcan: 20
v2rl: 20
katy: 20
msam: 25
mlrs: 20
spec: 20
hsam: 25
ruin: 20
1tnk: 70
ifv.ai: 70
2tnk: 45
tnkd: 45
rtnk: 4
heavy_tank: 70
heavy_tank.tesla: 70
heavy_tank.pdl: 70
apoc: 40
apoc.drozd: 40
apoc.drozd.pdl: 40
kims_wheel: 70
t-34: 70
peoples_tank: 70
peoples_tank.speaker: 70
peoples_tank.speaker.pdl: 70
isu: 40
isu.cluster: 40
isu.cluster.pdl: 40
devil_tank: 70
chem_sprayer: 70
chem_sprayer.metal_acid: 70
chem_sprayer.metal_acid.range: 70
source_of_pollution: 40
source_of_pollution.chem_spray: 40
source_of_pollution.chem_spray.pdl: 40
tpod: 40
rptp: 40
ltnk: 40
mtnk: 70
mtnk.drone: 70
seek: 40
lace: 40
devo: 45
channeler: 45
bike: 30
Mammoth: 40
Mammoth.ion: 40
v3rl: 10
titn: 40
jugg: 10
cryo: 10
cdrn: 3
ctnk: 3
chpr: 3
batf.ai: 10
wtnk: 3
ttnk: 25
stnk: 15
ftnk: 15
corr: 15
stcr: 25
hind: 5
heli: 5
apch: 5
venm: 5
orca: 5
orca_bomber: 3
scrn: 5
rah: 3
mig: 3
suk: 3
harr: 3
yak: 2
disr: 10
kiro: 2
a10: 5
auro: 5
ss: 1
msub: 1
dd: 1
Expand All @@ -350,25 +53,7 @@ Player:
isub: 1
sb: 1
seas: 1
stmr: 5
deva: 3
pac: 3
UnitLimits:
dog: 2
sab: 2
cdrn: 1
apc: 2
apc2: 2
intl: 3
vulc: 2
hmmv: 2
bggy: 2
jeep: 2
e6: 1
n6: 1
s6: 1
mech: 1
medi: 1
msub: 4
ca: 4
isub: 4
Expand All @@ -381,10 +66,6 @@ Player:
ss2: 10
sb: 10
seas: 10
harv: 8
har2: 8
harv.scrin: 8
harv.chrono: 8
SquadManagerBotModuleCA@brutal-vhard:
RequiresCondition: enable-brutal-ai || enable-vhard-ai
MinimumAttackForceDelay: 25
Expand All @@ -401,23 +82,3 @@ Player:
ProtectionScanRadius: 12
AirToAirPriority: 65
BigAirThreats: pac, deva, kiro, mshp
AirSquadTargetTypes:
heli: Aircraft, Vehicle
nhaw: Infantry
hind: Infantry, Building, Aircraft
yak: Building, Infantry
mig: Aircraft, Vehicle, Defense
suk: Vehicle, Defense
suk.conc: Building
kiro: Building
orca: Aircraft, Vehicle
orca_bomber: Vehicle, Defense
a10: Infantry, Building, Aircraft
apch: Infantry, Building
venm: Infantry, Aircraft
rah: Infantry, Building, Aircraft
harr: Infantry, Building, Aircraft
scrn: Aircraft, Vehicle, Defense
stmr: Aircraft, Infantry, Building
enrv: Aircraft, Vehicle, Defense
mshp: Building
Loading

0 comments on commit 21213a9

Please sign in to comment.