I've been recently playing around with the editor and trying to make a simple AI that would do stuff for me.. I read a bunch of tutorials/watched a few videos and they all make it look so easy.. However when i try to make my own bullies that make stuff and add conditions under which they should be created.. I'm trying to make something basic like build a supply depot when the scv count reaches 10.. but it didnt work.. trying all kinds of ways but obviously i am missing something.. Could someone who has a bit more knowledge check and see what am I missing.. Adding some screenshots so you can check out the triggers
Didn't try the unit groups but the wait for the conditions worked.. but now i need to find a smoother way of doing it rather than having a wait timer before each condition. Thanks!
Bullies are not really intended to be used like that... They are meant for scripted bases that you want the AI to preserve.
How the melee AI does it is with a global think loop that fires every few seconds. In there it does something like "if workers < 10, order AI to train worker". Every so often it flushes all order queues (not orders that are in progress) and issues new ones based on the current state.
In SC2 melee a good AI should constantly be training SCVs. If a base is full then it should make more expansions. It should only stop training SCVs when it has a very large number and is near supply maximum.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everyone..
I've been recently playing around with the editor and trying to make a simple AI that would do stuff for me.. I read a bunch of tutorials/watched a few videos and they all make it look so easy.. However when i try to make my own bullies that make stuff and add conditions under which they should be created.. I'm trying to make something basic like build a supply depot when the scv count reaches 10.. but it didnt work.. trying all kinds of ways but obviously i am missing something.. Could someone who has a bit more knowledge check and see what am I missing.. Adding some screenshots so you can check out the triggers
ss 1: http://i.imgur.com/62V9Sf2.jpg?1 ss 2: http://i.imgur.com/JKE9eC5.jpg?1 ss 3: http://i.imgur.com/zH0m6KC.jpg?1 ss 4: http://i.imgur.com/A3WXqc8.jpg?1
I tried all sorts of different ways of making the conditions, these are just the latest I'm testing at the the time the screenshots were made.
If anyone could help that would be awesome!
Regards,
Vakuu
@datLoLorian: Go
Didn't try the unit groups but the wait for the conditions worked.. but now i need to find a smoother way of doing it rather than having a wait timer before each condition. Thanks!
Bullies are not really intended to be used like that... They are meant for scripted bases that you want the AI to preserve.
How the melee AI does it is with a global think loop that fires every few seconds. In there it does something like "if workers < 10, order AI to train worker". Every so often it flushes all order queues (not orders that are in progress) and issues new ones based on the current state.
In SC2 melee a good AI should constantly be training SCVs. If a base is full then it should make more expansions. It should only stop training SCVs when it has a very large number and is near supply maximum.