AI thinks forever
Moderators: Order of Battle Moderators, The Artistocrats
AI thinks forever
Please help! Developing Korsun 44, a large scenario with some AI acceptable thinking delays but close to completion, having run through it several times. Did some fine tuning and suddenly the AI on first turn thinks forever. Double checked all triggers, AI commands etc but cannot get back to a workable version. Tried scenario again with #orbitalcommand and got immediate AI response. Any suggestions as to what the problem might be?
-
- Lieutenant-General - Karl-Gerat 040
- Posts: 3700
- Joined: Mon Nov 27, 2017 10:24 pm
Re: AI thinks forever
Either you'd have to be veeeery lucky to find someone who encountered the same problem and knows the answer by chance...
...or....
... I'd suggest you better post the scen here so somebody can take a look...
...or....
... I'd suggest you better post the scen here so somebody can take a look...
-
- Field Marshal - Elefant
- Posts: 5865
- Joined: Mon Aug 15, 2011 12:48 pm
- Location: the land of freedom
Re: AI thinks forever
No problem like this in the AI Setup ?
Re: AI thinks forever
Many thanks Bru. Smaller teams solved the problem!
-
- Field Marshal - Elefant
- Posts: 5865
- Joined: Mon Aug 15, 2011 12:48 pm
- Location: the land of freedom
Re: AI thinks forever
Which is the maximal number of units by AI team ?
Re: AI thinks forever
Gabe, AI thinking problem has returned.The maximum number units/AI team = 7
Have put scenario in Dropbox.
Link is:- https://www.dropbox.com/s/khwvnmcgrjded ... 4.zip?dl=0
Please have a look it. Many thanks
Have put scenario in Dropbox.
Link is:- https://www.dropbox.com/s/khwvnmcgrjded ... 4.zip?dl=0
Please have a look it. Many thanks
-
- Lieutenant-General - Karl-Gerat 040
- Posts: 3700
- Joined: Mon Nov 27, 2017 10:24 pm
Re: AI thinks forever
Actually there seems to be nothing "wrong" with the scen as such. First thing I did was just to play it
Yeah, very long AI thinking times, but it played okay and without errors (I get it's WIP and not all triggers/events are set up yet).
My first guess would be it's just a large map with many units and it takes time to calculate. It's a really good layout with many tactics and approaches possible. But same goes for the AI, many possibilities to consider... I think the OoB-AI wasn't designed to handle such large maps and you brought it to it's knees.
- There's a road crossing inside a river north-west of "Korsun". That's a "no-no" (Erik)
It's seems to be more of an optimization issue and I don't have much experience with that. Maybe some of the other modders could give you some more hints...
But I'm gonna take a look in the edior now, maybe I'll spot something nevertheless...
Yeah, very long AI thinking times, but it played okay and without errors (I get it's WIP and not all triggers/events are set up yet).
My first guess would be it's just a large map with many units and it takes time to calculate. It's a really good layout with many tactics and approaches possible. But same goes for the AI, many possibilities to consider... I think the OoB-AI wasn't designed to handle such large maps and you brought it to it's knees.
- There's a road crossing inside a river north-west of "Korsun". That's a "no-no" (Erik)
It's seems to be more of an optimization issue and I don't have much experience with that. Maybe some of the other modders could give you some more hints...
But I'm gonna take a look in the edior now, maybe I'll spot something nevertheless...
-
- Lieutenant-General - Karl-Gerat 040
- Posts: 3700
- Joined: Mon Nov 27, 2017 10:24 pm
Re: AI thinks forever
I've tried combining the AI teams into 6 total (1 static, 1 air, 4 move-to-hex). It sped up things at first, but even with most triggers deactivated, after the majority of our forces made visual contact, the thinking times went up through the roof again, like before.
If you're interested in some reading material, you can try this: AI-Team Tests
Sorry, don't know what else to do...
If you're interested in some reading material, you can try this: AI-Team Tests
Sorry, don't know what else to do...
Re: AI thinks forever
I seem to be getting the same AI thinking forever problem again. Quite flumexed! Below is a table comparing two of my scenarios. The first is Takimnobo 46, my first major Oob scenario, a hypothetical Allied invasion of two Japanese islands. The second is my latest scenario Celles 44, the southern section of the Battle of the Bulge. As one can see Takimnobo is much bigger on all factors. As I thought at first it might be my computer running slow more recently I ran them again sucessively with the Oob latest version. Takimnobo still runs well with very few delays whereas Celles grinds to a halt (thinking forever) on turn 13. All 11 of the triggers are simple, counting vps, checking hex ownership and a couple of spawns which work ok and half of the AI teams are on Static defence. Unit density is probably similar in both scenarios. Its an intriguing problem but probably not solvable.
Scenario--------Turns-----Map size------------Terrain---------Player units---------AI units--------AI teams------Num of triggers
Takimnobo 46---- 30 ----80 x 100----------Mostly Sea------------100---------------159--------------30----------------16
Celles 44----------30-----68 x 36--------------All Land--------------51----------------79--------------12----------------11
Scenario--------Turns-----Map size------------Terrain---------Player units---------AI units--------AI teams------Num of triggers
Takimnobo 46---- 30 ----80 x 100----------Mostly Sea------------100---------------159--------------30----------------16
Celles 44----------30-----68 x 36--------------All Land--------------51----------------79--------------12----------------11