Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How to make AI do what I want?
How to make AI do what I want?
Mar 13 2010, 1:54 pm
By: oOldXman222  

Mar 13 2010, 1:54 pm oOldXman222 Post #1



Hi! I have three questions, please be descriptive.

1. Is there any way to make Computer build this building or unit that I want him to build? If yes how?
2. Is there any way to make him build something when I want? If yes how?
3. Is there any way to make him build something where I want? If yes how?



None.

Mar 13 2010, 3:49 pm ImagoDeo Post #2



Yes to all, but only in a roundabout sort of way. You cannot directly manipulate AIs and tell them what to do. What you CAN do, however, is make your own AI via triggering.

It's a little too complicated to go into detail here, but you should take a look at this for examples. Essentially, you detect certain conditions based on the computer's resources, deaths, etc. and then subtract resources and create a unit based on a death count timer. A greatly simplified version of what laffo16 did in his ZvT map would probably accomplish all three of your goals.



None.

Mar 13 2010, 9:09 pm oOldXman222 Post #3



Thanks!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[08:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
[08:06 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
*Pluto's wraiths
[08:05 am]
NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
[02:18 am]
Oh_Man -- Close enuf
[04:14 pm]
Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
[04:14 pm]
Vrael -- 240*12*2 is 5760, where is the other 240 APM?
[03:44 pm]
Oh_Man -- 1 action is selecting the unit and another action is moving it
[02:58 pm]
Vrael -- 240*12 is 2880, where is the other 3000 APM?
[02:55 pm]
Oh_Man -- another arty stream
Please log in to shout.


Members Online: Roy, Vrael