Hi to you all,
I am relative new to the starcraft map editor (almost never use it). Thing is, I would like to play the map Friends '98 together with a good friend of mine against AI.
As most of you likely know it's a 2vs2vs2vs map. If we use 'use map settings' then only human players are allowed. we basically want to do the melee type, only we need to get placed together, and we need AI in the game. I have tried in the editor with player settings to change human to computer. Thing is when I start the map on melee settings, there's no AI in the game at all.
My question to you all is, is there a way to change the map settings in such a way that we can play melee style 2(human allied offcourse) vs 2(ai) vs 2(ai) vs 2(ai)?
If the map is allready available correctly modded would you please provide me with a link?
None.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
I think this should be moved to map making assistance.
for an AI in Use Map Settings (UMS) you need:
1. a base for the AI (e.g: CC + SCVs)
2. the right race setting according to his owned buildings (e.g.: a Terran AI won't like to use Zerg Buildings)
3. location on their Main Building
4. a trigger like:
Owner:
- Ai Player (e.g. Player 8)
Conditions:
- Always
Actions:
- Modify ressources for current player: Add 50 Minerals
- run ai script "#RACE# Expansion Custom Level" at Location over his Main Building
the AI should work properly now.
you can modify the alliances with the "set alliance status" action, too.
you can enable vision with a player, too (run ai script "turn ON shared vision with player #"). But it's easier for you to put all computer teams into each force, if you want a 2vs2vs2vs2.
e.g.: force1 = 2 humans
force2 = 2 comps
force3 = same
force4 = same
So the answer to your first question is: Yes, you can.
Wooot, thank you very much! This is great help.
Only problem I am running into is the following action
- run ai script "#RACE# Expansion Custom Level" at Location over his Main Building <----- It just gives 'anywhere' as the only location. Is that ok? I think this is causing that they only gather minerals they way I tested it now
And should I also remove the other triggers or don't they conflict?
At the forces option I have removed the 'random start location' option since I gave them all a start base and drones etc. (is this also correct?)
Post has been edited 1 time(s), last time on Jul 2 2008, 3:48 pm by Phunkee.
None.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
2. the right race setting according to his owned buildings (e.g.: a Terran AI won't like to use Zerg Buildings)
3. location on their Main Building
- run ai script "#RACE# Expansion Custom Level" at Location over his Main Building <----- It just gives 'anywhere' as the only location. Is that ok? I think this is causing that they only gather minerals they way I tested it now
about 2: You also have to set the race settings in the Map Description Screen (ScmDraft) accordingly. It must be the same as the buildings you place and the ai you execute in the trigger section. A Protoss computer player with Terran AI won't even use Terran buildings (just mine).
about 3: You must create the location over the main building in the location layer on the main screen. Then you can select the newly created location.
And should I also remove the other triggers or don't they conflict?
What other triggers? It depends on what they do. If there's triggers like execute ai script xy then you should remove it. If its triggers like give 500 minerals for 50 kills then dont remove it.

At the forces option I have removed the 'random start location' option since I gave them all a start base and drones etc. (is this also correct?)
This is correct and absolutely necessary.
Wauw, Nuderaider, your tip on .3 really made it. It works perfectly, just played one with my friend.
Is it me, or are some AI player 'braindead'? Sometimes I play vs AI, and then they are really incredibly slow. A bunch of drones, and some buildings, but they are not really active. Is that some sort of AI bug? Or just faulty by design with al due respect to Blizz offcourse! (imo they make the best games)
None.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
I think thats some ai bug as it also happens in melee games
HEhe. That explains. I put TT vs ZZ vs PP vs me and my friend on the map. Only 1 of each team really attacked and was 'alive'
None.
HEhe. That explains. I put TT vs ZZ vs PP vs me and my friend on the map. Only 1 of each team really attacked and was 'alive'
Hm, you might have something wrong. Are you sure you're executing 1 AI script for each player (not team) and at the right place?
?????

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
which ai scripts did you chose?
for a melee behaviour you need the ones with custom level. If you use other the ai may do nothing or could be really slow.
Hm, you might have something wrong. Are you sure you're executing 1 AI script for each player (not team) and at the right place?
As far as I know I gave them all an own script allocation with the correct race, custom level at the right created location.
which ai scripts did you chose?
for a melee behaviour you need the ones with custom level. If you use other the ai may do nothing or could be really slow.
All races have the own belonging 'custom' script..
I will double check those 2 things when I get home from work.
The game was nice though even in total 3 AI players where braindead. We got quite a pounding on our defence. We basically 'cheated' a bit since we were both Protoss and we both captured a terran SCV doubling our army size
None.
Well, I have checked it all. It all seems to be OK. I will just have to settle with the map the way it is now.
Thanks eveybody for the assistance!
None.