|
Turning on shared vision is not an "at location" script. It always gives all unit vision from one player to another.
You may be able to persuade a computer player to build similar bases if you restart the AI script when they try to expand, and give their stuff to another player (so they'll rebuild it in the new location). ![]() ![]() ![]() ![]() ![]() ![]() |
|
Omg got a title!
|
I believe that if you execute several AI melee scripts at different locations the player will keep one main base at the place where it was executed. Not sure though.
If it works you could try to execute the AI script whenever the player tries to build an expansion. Maybe placing a loc over each posible expansion. ![]() ![]() ![]() ![]() ![]() ![]() _______________
G T C A A G T C \__________________________ C A G U···/ŻŻŻŻ\ A G T C G A G A T C A G T ··········\____/ T C A G C T C T A G T C A C A G T T C A G /ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Was anyone missing my DNA signature? |
|
I want the computer player to keep attacking, even when their main bases is destroyed. So they have to use an expansion as another main base.
what would happen when these scripts were run: player2 always run AI script insane at location x run AI script insane at location y They would share resources, but wont the scripts interrupt each other? They may not abandon their base at location x when another base at location y is build. ![]() ![]() ![]() ![]() ![]() ![]() |
|
Omg got a title!
|
They do not. Try to run a AI script at a location then 5 minutes later the same AI script at another location. The comp will build 1 building of each kind in each base and the bases will work independently. If you kill one of them the other one will not change its behaviour.
![]() ![]() ![]() ![]() ![]() ![]() _______________
G T C A A G T C \__________________________ C A G U···/ŻŻŻŻ\ A G T C G A G A T C A G T ··········\____/ T C A G C T C T A G T C A C A G T T C A G /ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Was anyone missing my DNA signature? |
|
Omg got a title!
|
I attach the test map that I used. If you leave the computer enough time it'll eventually build a pool, then another hatchery, then a hydralisk den, etc in each base. The only problem is that okee was right, the scripts do interrupt eachother. While one of them is building the hatchery the other ones halt. But if you leave it enough time it'll eventually build everything right.
Attachments:
![]() ![]() ![]() ![]() ![]() ![]() _______________
G T C A A G T C \__________________________ C A G U···/ŻŻŻŻ\ A G T C G A G A T C A G T ··········\____/ T C A G C T C T A G T C A C A G T T C A G /ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Was anyone missing my DNA signature? |