HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is there a way to command what hero AI Bots use?

12-28-2008, 09:45 AM#1
ericwu101
Hello, I'm a new user to AMAI 2.54, and I want to know if we can tell the computer AIs to build or hire certain heroes, for the heroes are also a part of strategy.


So far, I noticed that there are commands to tell AI to change their unit combos, but I havn't found the ones for heroes.


So, sometimes AIs just come up with the heroes I don't want them to use, which doesn't fit our team's strategy.



Is there a way to do this? If so, how?
02-28-2009, 12:20 PM#2
Strategy Master
the heros.txt file in the TFT/$Race$ declares the base priorities of choosing particular heros and modify based on the enemy races. You can mess around with the values there.

Next profile's have a favorite hero for each race. By default that adds another 10 priority but you can change that value to in the GlobalSettings.txt file.

Next Strategies themselves have a hero priority bonus, making anyone AI starting off with that strategy more likely to use the hero's defined for the first and second heros. Play around with the above and hopefully that will get a desired effect. You could just in the strategies give the particular heroes massive bonuses in the 100's or something to really skew the hero choice to them.
03-15-2009, 10:22 AM#3
ericwu101
OK, i 'm trying to mess around with the values.

Strategy Master, thank you for replying