Hi, i'm trying to make an allied map (shared choke) for me and my friend to play against some comps. However, I can't figure out how to turn on the comp's AI. What do I do?
Printable View
Hi, i'm trying to make an allied map (shared choke) for me and my friend to play against some comps. However, I can't figure out how to turn on the comp's AI. What do I do?
Oh, maps... good days good days.
Just don't assign triggers or ai's to the computers and play the map in melee mode.
So here's what I figured out. I can set the computer to "Always" be "Insane AI" at "Anywhere". But when I went to go check on them, only two of their workers were mining, while the other two just stood there. Doesn't seem all that insane to me.
Oh now I see...
First, get your ally and the computers into different factions. Set up the starting locations.
Set a trigger to execute a designed AI (get a combination of 3 different AIs, 1 for each race) on the computers with a condition timer of always. If that doesn't work, get a timer to countdown (either score timer or in game timer). When setting up timer conditions try to use more of a "less than or equal" than equal, else it might not work.
AIs also work different from expansion to original SC.
Yea, that's what I did. I set the Terran AI, Zerg AI, and Protoss AI to Insane, Always. But when I went to go check on them in the early game, two of their workers were idle, while the other two gathered minerals.
Weird...? =\
mmmm... Ok you might need to set some more triggers...
Try setting a town AI for the computers in their starting points by setting two locations.
I think my problem was that I set them to "insane" hoping that would make them difficult. I read somewhere else that I should set them to "custom" which just assumes that it is a melee situation. While "insane" assumes that they have their town build for them and they just have to defend it, replace destroyed buildings, and whatnot.
Here's my source. Found it at the bottom.
http://www.creepcolony.com/staredit1.shtml
Nevermind. There's still a problem. After they deliver their first patch of minerals, two of them stop.
you playing melee?
Oh! You can uncheck random start location, play melee, and you'll spawn with your ally? I think that's it!
Nope. Didn't work.
Easy fixes for both problems. :)
First, the comp AI. You can, as blade said, just play in Melee mode, but this would not allow your start location setup to work properly.
To fix:
1) Create a location by using the "location" brush type over each comp's start location marker. Each comp must have its own. Make sure the location you create with the location tool is large enough for the comp to have ample building room.
2) Use trigger "run ai at location X for player #", select a comp, ai, and matching location. Repeat for additional comps.
3) Set your start locations for your human players.
This should do it. :)
Extras: you can use additional AI triggers to set comps in this fashion to be allied with each other, yourself, or FFA. :)
GLHF!!
IIRC, you must use "Run AI script at location", with the "expansion custom level AI". I'm not sure if you can use anywhere. I think that you must select the area that the computer can use for the main base, and set the AI to run there.
The issue is likely because of how you have the triggers set up.
I'm really no good at explaining things, so I'll give you an example...
PLAYER
- Player 3*
CONDITIONS
- Always
ACTIONS
- Execute AI script 'Expansion Terran Campaign Insane' at 'Location'***
*You need to have the player number, doing all players screws it up.
**You need to have an individual trigger for each player that's going to use this. So just make that again and set it for Player 4 (or whatever).
***I'm not sure if you can use Anywhere or not, but I always make sure the location is over the area the computer will be using the AI.
Hope this helps, I had the same issue a long time ago when I started map-making.
one more important thing that wasn't suggested here is to give the computer an insane amount of minerals and gas because if they are on 0 they will be pretty much Idle...
you need to use a trigger to change that...if I remember correctly it's the modify resources trigger..
~Xeo