1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  3. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  4. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Advanced Melee AI

Submitted by Strategy Master
This bundle is marked as approved. It works and satisfies the submission rules.
This tool originates from here

Source code now available at: SMUnlimited/AMAI

AMAI is a mod/tool for Warcraft III: Reign of Chaos and The Frozen Throne made to improve the computer AI of the game in many possible ways.

AMAI will make it easier to edit the War3 AI, harder to beat and more fun.

The goal is to make a human like opponent or ally that both react on events and tries to insult you by chat taunts while playing in a more human like way.

  • Personality Profiles: Each AI opponent has a set profile which modifies how it reacts or plays the game. Some can be real chickens and never dare to attack you while others will rush you down.
  • Dynamic Strategies: Constantly monitors the current situation of the game and always try to pick the best suited strategy to counter the enemy forces.
    • The computers will pick from all strategies depending on what kind of units the enemy has, how long the game has been going and what favorite units the current profile has.
  • Enhanced Micromanagement Control
    • To help keep as many units as possible alive by fleeing by town portal, zeppelin or foot.
    • This includes better use of items and healing items.
    • Makes the enemy force suffer as much as possible by focusing fire on the most vulnerable enemy units first if they are in range.
    • Will buy neutral heroes and units.
    • Can occasionally attempt tower rushes and militia/ancient expansions.
  • Enhanced Team Play
    • Coordinates with allies what it will be attacking or will join allies in attacking a target.
    • Human players have access to the Commander, letting you give commands.
    • Asks for aid if running out resources.
  • Surrenders : Based on profiles some AI's will give up when it detects its losing, while others will fight to the death.
  • Chat Support
    • AMAI will taunt enemy players, and share its build strategy with team players.
    • Includes Support for 10 different languages.
  • Easy to use Strategy and Profile editor.
    • Supports an unlimited amount of your own profiles.
    • Supports an unlimited amount of your own strategies.
    • Auto Building feature for example: a AMAI computer only needs to know that it shall build a hero and 15 footmen. It will automatically build all needed buildings, workers and farms in order to get this as fast as possible.


V3.0 - Requirements
1.32+ Warcraft 3

How to play
AMAI release comes with the standard AI scripts pre-built for you.

It is suggested to create a subfolder in your "maps" folder like "maps\AMAI" and copy the maps you intend to use AMAI with there. For Warcraft 1.30 onwards you need to use Casc Storages - Main page to extract a copy of official maps.

Run InstallTFTtoMap from a commandline, to install AMAI to maps e.g InstallTFTToMap.bat "C:\mymap.w3m"

Advanced Melee AI is made to be used on 'melee' maps only so please don't try to use it on custom maps (e.g towerdefence), it will make no difference on such maps.

Note: If you want to use the old AMAI.exe to install AMAI to maps you must have run MPQEditor htsize "C:\mymap.w3m" 64 from a commandline to garuantee the AI will be installed correctly.

If you have perl installed you can use InstallTFTtoDir.pl "C:\Documents\Warcraft III\Maps\AMAI" to install AMAI to all maps in a directory and subdirectories.

After installing AMAI on your map just start Warcraft3: RoC or TFT and play the map against and/or with computers to make use of AMAI.

V2.54
The original 10 year old version that supports 1.24 - 1.29 warcraft.
The download for 2.54 is the developer edition intended for developers to use.
For everyday use the player edition is alternatively available to download here


NOTE: The old 2.5.4 zip is now password protected because Google Chrome is flagging it as malicious software. The password is amai. Note some of the dlls are flagged as virus generic false positives in 2020 due to there age, but they are false positives



Keywords:
Artificial Intelligence, AI
Contents

Advanced Melee AI 2.54 (Binary)

AMAI 3.0.0 (Binary)

AMAI 2.6.0 (Binary)

Reviews
Moderator
AMAI is very, very good. Much better than any Blizzard AI. I love it. ==Update - 25/08/12== It has recently come to our attention that some antivirus softwares like Norton detect a virus in this, however, we can assure you that it is a false...
  1. AMAI is very, very good. Much better than any Blizzard AI. I love it.
    ==Update - 25/08/12==
    It has recently come to our attention that some antivirus softwares like Norton detect a virus in this, however, we can assure you that it is a false detection and that this tool is virus-free.
    ~The Hive Staff
     
  2. Craka_J

    Craka_J

    Joined:
    Mar 25, 2004
    Messages:
    4,933
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Does this work also with Campaigns as well?
     
  3. Although you have a little clue on the good strats as you have hardly watched thousands of pro replays, I agree this can be useful only from the point that any imporvement on dumb computers is nice, it would be better if you consulted with someone who is aware of the best strats and add it in the prog. However, who still plays vs PCs anyway? They choose either bnet or some servers to play with people , not computers... and I guess this isn;t made for RPGs to be harder and for melee, thast why I say all this for the melee poinr.
     
  4. Strategy Master

    Strategy Master

    Joined:
    May 26, 2004
    Messages:
    23
    Resources:
    1
    Tools:
    1
    Resources:
    1
    @3.26ly: Best strats are all from a certain point of view. The current strategies are a combination of what makes AMAI work to its fullest (and this aint no small improvement). You can't just put a pro strategy in as AI cannot use the strategy effectivly. The current strategies are the best trade off. If you dont like the built in ones you can make your own.

    @Craka_J: Its built for melee but you can modify for mods or campaigns with some work of course. Of course certain game styles are a no no with amai eg DOTA or tower defense etc. But then you have lots of other things at your supposal that easily sort those out.
     
  5. Ricky

    Ricky

    Joined:
    May 6, 2007
    Messages:
    17
    Resources:
    0
    Resources:
    0
    It isnt working for me. I have extracted the files correctly but i says i am missing blizzard.j but when i looked in the file were i extreacted it from blizzard.j wasnt there. Help me please.
     
  6. Ricky

    Ricky

    Joined:
    May 6, 2007
    Messages:
    17
    Resources:
    0
    Resources:
    0
    please help me i really want this. It doesnt wok for me it say's i dont have the file blizzard.j but when i look in were i extracted it from blizzard.j ist there either please help.
     
  7. Ricky

    Ricky

    Joined:
    May 6, 2007
    Messages:
    17
    Resources:
    0
    Resources:
    0
    It doesnt work for me although i really want it it says i dont have the file blizzard.j i extracted it right but it doesnt work i looked in the files were i extracted it from and that doesnt have blizzard.j either?
     
  8. Strategy Master

    Strategy Master

    Joined:
    May 26, 2004
    Messages:
    23
    Resources:
    1
    Tools:
    1
    Resources:
    1
    @Ricky: You need Perl. ah blast thats not written in the description.

    You have to download Perl
    http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl then you can run the AMAIstrategymanager and compile the ai's.

    If you dont want to do that go to
    http://users.ecs.soton.ac.uk/~lph105/AMAI/?page=download
    and download one of the easier to use editions instead of the developer.
     
  9. Ricky

    Ricky

    Joined:
    May 6, 2007
    Messages:
    17
    Resources:
    0
    Resources:
    0
    Its now saying i need 1stpage.exe and i have perl now.
     
  10. Strategy Master

    Strategy Master

    Joined:
    May 26, 2004
    Messages:
    23
    Resources:
    1
    Tools:
    1
    Resources:
    1
    I dont know what 1stpage.exe is so i can't help you i'm afraid. If you downloaded perl correctly it should have worked.
     
  11. Gift_o_Chaos

    Gift_o_Chaos

    Joined:
    Jun 19, 2007
    Messages:
    53
    Resources:
    2
    Skins:
    1
    Maps:
    1
    Resources:
    2
    Where do you put the program if it matters.
     
  12. WTF Person

    WTF Person

    Joined:
    Aug 4, 2007
    Messages:
    1
    Resources:
    0
    Resources:
    0
    out of -100 of 10 i would rate it a -100
     
  13. VicHardy

    VicHardy

    Joined:
    Aug 14, 2007
    Messages:
    10
    Resources:
    0
    Resources:
    0
    can somebody explain why the map isn't work after i install the AI on it?
     
  14. ace992

    ace992

    Joined:
    Sep 26, 2007
    Messages:
    115
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    dose not work
     
  15. dofys

    dofys

    Joined:
    Apr 12, 2007
    Messages:
    157
    Resources:
    0
    Resources:
    0
    Works for me. Have you guys not even try out it's tools one by one to get the hang of things?
     
  16. Master334

    Master334

    Joined:
    May 3, 2008
    Messages:
    228
    Resources:
    0
    Resources:
    0
    dude my rpg could use this: (orc) GET EM (human) HOLD THEM OFF (orc) FUCK YOUR HOLDING WAYS(human) SHUT UP
     
  17. Master334

    Master334

    Joined:
    May 3, 2008
    Messages:
    228
    Resources:
    0
    Resources:
    0
    on a more wtf? note.... WHAT THE FUCK IS THE PROGRAM TO OPEN IT
     
  18. nexus196

    nexus196

    Joined:
    May 31, 2008
    Messages:
    90
    Resources:
    0
    Resources:
    0
    is there an thread with all the custom ai's that have bein uploaded? just wondering
     
  19. Sergeant Ray

    Sergeant Ray

    Joined:
    Aug 12, 2008
    Messages:
    345
    Resources:
    0
    Resources:
    0
    User Opinion: Is this even worth my time? Sounds like it would make melee more interesting. BTW careful Ricky, don't dbl post