View Full Version : stupid question?
Annixx
05-05-2005, 1:37 PM
Hey..
I'm working on a UMS map where it's set out much like melee, with 4 human users against a number of computer controlled ones.
Problem comes in that I'm a little stuck as to how to get each race - protoss, terran and zerg - to use the right AI - if I use just the terran AI, Zerg and Protoss placed teams don't do anything other than mine minerals...
Any ideas? probably a really idiot question but I searched the forums and couldnt find anything...
cheers
Kingscrab
05-05-2005, 2:29 PM
Hey..
I'm working on a UMS map where it's set out much like melee, with 4 human users against a number of computer controlled ones.
Problem comes in that I'm a little stuck as to how to get each race - protoss, terran and zerg - to use the right AI - if I use just the terran AI, Zerg and Protoss placed teams don't do anything other than mine minerals...
Any ideas? probably a really idiot question but I searched the forums and couldnt find anything...
cheers
You need a seperate trigger specific to each race.
Example:
Make a location box for P2 (we'll say) that covers the Protos Nexus.
Call it Nexus
Set the trigger then.
Check P2 first...
ALWAYS
- Run AI Script
(from pop-down menu choose "Protos Expansion Insane" for example)
AT LOCATION
- Nexus
For Terran, run "Terran Expansion Insane" script, and so on... There are a ton of different scripts in the pop-down menu depending what you want the AI to do. They script race should match the unit of course. You can't run a Terran AI script on top of a Hatchery for example. Does that help? I don't think i missed anything... :)
- Kingscrab
Annixx
05-05-2005, 2:57 PM
ah... ok cheers :) yeah - I was wondering if there was any way to do it for RANDOM race for the PC control but if there isn't, yeah, I'll do it that way :) thanks for your help!
Kingscrab
05-05-2005, 3:24 PM
Good question. THAT, i do not know... You could for a melee map probably, but i don't know how you would run the AI script. I just always use Insane since i find that one to be more aggressive.
BSTRhino
05-05-2005, 4:37 PM
Yes, you can. You just need to use conditions, and create one trigger for each of the races.
Player
-(Select all your computer players here)
Conditions
-Command at least 1 Protoss Nexus
Actions
-Run AI Script Protoss Custom Level (or whichever)
Player
-(Select all your computer players here)
Conditions
-Command at least 1 Terran Command Center
Actions
-Run AI Script Terran Custom Level (or whichever)
Player
-(Select all your computer players here)
Conditions
-Command at least 1 Zerg Hatchery
Actions
-Run AI Script Zerg Custom Level (or whichever)
Annixx
05-05-2005, 4:47 PM
thanks again :)
slightly different problem now.. I went with using set places for different races and I just got an immediate "draw" upon starting.... none of the colonies were placed! I have no idea why this is happening >.< any ideas?
*edit* oooh I'll try that... thanks!
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.