Posted: Thu Feb 24, 2011 11:53 pm Post subject:
Time to end all my AI problems
Well I'm sure most of you have heard that I have AI problems.
Problem #1=Bases
They do not build their base correctly most of the time. They only build all Building Prerequisites and a few defenses. A correct base has superweapons, a few other defenses (GDI only builds additional defenses when acting correctly due to the WallTower problem)
So a correct GDI base has:Upgrade Center, Research Facility(advanced tech center), and more defenses.
So a correct Nod base has:Temple of Nod, Missile Silo, Stealth Generator, Tiberium Waste Facility, Nod Core, and more defenses.
I ended up discovering myself that they seem to build a base correctly when they start near water. It occured to me when I saw they all build bases correctly on Narrow River, and ^Rampastein's map Swampflower. Then I tested it on a custom map, placed water next to the starting posistions and the problem was fixed.
How can I make it so they always build correctly?
Guess:There are simply too many custom buildings.
Problem #2=Taskforces
They won't send their taskforces. (Most of the time) I raised them, lowered them, all kinds of differences.
Update:They only send the light infantry taskforces. I tried raising buildspeed but that didn't work.
Guess:I just can't get those damn TeamDelays right.
I came to this thread because I wanted to know more about A.I. myself. But, since you seem to be having trouble I'll tell you what I know. You mentioned "custom buildings", there are triggers that the A.I. use to determine what to attack. The trigger can be a vehicle as well as a building.
The TeamDelays and AIHateDelays are awfully high, even for Tiberian Sun's standards. The defense team counts are kinda high so on higher difficulty levels, before the AI does a damn thing, it will achieve the minimum required defense teams. If there aren't enough TeamTypes with IsBaseDefense=yes set, the AI will never achieve the minimum teams and thus, never attack. I would lower MinimumAIDefensiveTeams to 1,1,1, then see what happens. _________________ KGR | AT
AZUR
Discord: theastronomer1836
Steam QUICK_EDIT
Well actually, I've already pretty much solved the taskforces completely. I lowered the team delays and did my second change to lowering the number of units per taskforce. The highest is actually only 10 units now. (For vehicles) But obviously the highest is light infantry with 20 on AI 2. The game is very balanced and because the team delays are 5000 now(still kind of high I know) for all AI levels, they usually send double. Sometimes they don't attack for a while then they will just bombard me with a total of four different taskforces.
But I still haven't solved the Base problem. They just have to start next to water. QUICK_EDIT
Problems solved.
Problem #1=I figured this out myself. You see, there were naval buildings that have AIBuildThis=yes but there was no water within 1 cell adjacent to their base. And I figured out that the naval buildings were the first things they would build after the tech center but there was no water around so they wouldn't build them and in turn, no other tech. (Superweapons for example) And that's why they needed to be near water to work.
Problem #2=Well the TeamDelays still aren't quite fixed up. (Changed again) But they won't send the first taskforce they build, that's all. After that I get murdered by a difficult, but definately fair AI.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum