[AI Contest] Mimic AI
Mimic AI by Callex
My entry for the sc2mapster AI competition!
Mimic actively records your build order and army composition as you play, which can then be saved into Mimic's memory for later use. Mimic will then try to emulate your playstyle in subsequent games!
- Mimic can play as Protoss, Zerg and Terran
- Mimic actively scouts, and cannot attack what it can't see
- Up to 12 players can be controlled by Mimic simultaneously
- The AI can be easily transferred into other melee maps
- Mimic can store up to 30 build orders simultaneously
Playing - By default, Mimic starts with no build or attack orders. If this is your first game against Mimic; build and expand as much as you please. Attack the existing enemy base, and type -save before defeating the opponent. Once the profile is saved, restart the game and Mimic will now know how to build and attack with your race! Alternatively, you can download the MimicAIData.sc2bank file and place it into the Starcraft II Beta\Banks folder. This contains 9 basic profiles to get you started.
Editing - You can change several basic settings within the AI Initialization trigger: 'Gather Rate' determines the mineral yield of the AI. Setting this to 2 will make the AI gather minerals twice as fast, and you can use this to alter the difficulty. Similarly, 'AI Omnipotence' can be toggled on to remove the scouting mechanic; this effectively allows the AI to see the entire map. If you want to choose which players are controlled by the AI, simply add them to the 'AI Players' player group.
Copying - Mimic can be copied into any melee map:
- Open the trigger editor
- Copy the 'Mimic' folder
- Open the destination map
- Paste the 'Mimic' folder into the destination map.
- Click on the 'Melee Initialization' trigger of the destination map, and delete the 'Set Default Melee Options' and 'Start Melee AI' functions.
- On the top toolbar, navigate to 'Map -> Player properties'
- Make all the desired AI players computer controlled
Tournament Mode - You can now battle different Mimic AI's against eachother using the following steps:
- Copy upto four AI data banks into the 'Banks' folder.
- Rename the files: 'MimicPlayer1.sc2bank', 'MimicPlayer2.sc2bank' etc
- Make the first four players computer controlled, or neutral if you want the slot to be empty. (In map -> player properties)
- Set Tournament Mode = true in the AI Initialization trigger.
- As a spectator in slot 5, choose the profiles for each AI. (The map numbers them as they are saved, so typing "-profile 1" will load the first build order saved to the player's bank.)
- Watch your AI's compete against eachother!
If anyone has an AI data bank they would like to upload for everyone else to try out, PM me!