Allying Comps with Humans

Jeremy

Member!
Joined
Jan 4, 2003
Messages
27
Reaction score
0
Location
USA
Website
Visit site
I want to have 1 computer player that is allied with the humans. I had the comp set to neutral but then the comp wont attack enemies. I cant put a comp in the same force as humans. Is there some way to do this?
 

TrongaMonga

Grumpy Old Grandpa
Joined
Dec 28, 2002
Messages
10,126
Reaction score
41
Location
Portugal
set a trigger to ally ingame (i think there is one)
 

Crookedfoot

Premium Member
Joined
Aug 6, 2002
Messages
1,077
Reaction score
0
Location
Middle of Nowhere
Website
www.battleforums.com
As TrongaMonga said, there is a trigger for it.

"Set Alliance Status"

Be sure to set it up for yourself, and your friendly comp to be each others ally, to save accidental killings. Adding a shared vision trigger is a nice tidbit also.

And be sure to set the enemy comps and the friendly comps to enemy, or they won't go after each other.

You don't necessarily have to make a trigger to set the enemy comp as your enemy, that is an automatic given in StarCraft.

The down side to a map like this...

Unlike in a Top and Bottom game, the friendly comp may fight along your side, and not fight you, but he will have no reason to come to your aid if things get bad for you. He has is own agenda, and your health is not it.

I attached an example game I made, before the Top and Bottom setting came out. All of the appropriate triggeres are there to see.
 

Vindexus

Member!
Joined
Jan 2, 2003
Messages
99
Reaction score
0
Website
Visit site
i tried to use that in one of my maps and it didn't work. Don't know why, it just didn't. I had two people in one force. Both human. But when somebody didn't fill in the human slot, it turned computer on me. So i made a "Set Alliance" trigger. That didn't work. Maybe you need to have them in different forces or something. I don't know. Just thought that the more info you have, the better.
 

Jeremy

Member!
Joined
Jan 4, 2003
Messages
27
Reaction score
0
Location
USA
Website
Visit site
It works now. I have to set the comp to like player 1, player 2 (etc) and for player 1, player 2 (etc) to like the comp.
 

NewPosts

New threads

Top