AI question

Status
Not open for further replies.
Level 4
Joined
Oct 13, 2009
Messages
43
so i made AI with "AI editor" where AI has no town center and no workers only barracks, troop production and hero (gold to them added by periodic trigger) but my AI doesent work at all, what can be problem?
 
Level 15
Joined
Aug 7, 2013
Messages
1,342
I wish I could help. Perhaps because the AI is expecting to have a town hall / workers, and since it doesn't it won't do anything?

A solution would be to do your AI in the triggers, especially if you want it to just build units and mass them somewhere.
 
Level 4
Joined
Oct 13, 2009
Messages
43
I wish I could help. Perhaps because the AI is expecting to have a town hall / workers, and since it doesn't it won't do anything?

A solution would be to do your AI in the triggers, especially if you want it to just build units and mass them somewhere.


i have dungeon like map, where ai must be smart... well, atleast like in normal game, run around map, kill neutrals, get items, and so on. you sure its Town center problem? maybe if i make my barrack a town centet, it will work? maybe peasant and gold gathering is not needed?
 
Level 15
Joined
Aug 7, 2013
Messages
1,342
I can't really say unfortunately as I haven't used the AI editor before.

Try searching for tutorials on it or wait for someone more experienced to come here.

Until then you could try different combinations and see if any of those makes the AI do your desired behavior.
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
The AI Editor is meant for melee-style AI. It will not run without a building that is classified as a Town Hall (done through the Object Editor). They do not need workers for resource collection.

If they build but do not attack, it's due to poor attack conditions or a lack of attack groups with proper units listed. Without the .wai file, neither Gismo359 or myself can elaborate on what the problem is.

If you want an example of a working AI (from the AI editor), download my map Erebus and open it in WE, then export and of the .wai files & open them in the editor. The build conditions are used only to keep the AI from getting stuck (I can elaborate if you want).

It may also be a problem if the units listed require research or food that the AI cannot build.

Finally, you need to use a trigger to tell the AI-Player to run your script for said player. Can you post your map or .wai files (or link if already posted)?

//\\o0//\\
 
Status
Not open for further replies.
Top