Creator:
okeeeTime: Jun 20 2008, 10:27 am
Post #1
okeee
Jun 20 2008, 10:27 am
![[Avatar]](/images/avatars/6.gif)
|
I'd like to use shared vision only at a specific location, so I used
[i]always run shared vision for player 2 at location x [/i]
But then, there is shared vision with all units of player 2.
Also, I'd like the computer player to make a whole new base as expansions, similar to their main base. The problem with the AI scripts is that whenever the main base is destroyed, they won't rebuild a completely new base. And I prefer several main bases from 1 player. So is this possible, without creating a whole new AI script? (that seems too difficult). preferrably some method combined with any AI script.
I'd like to use shared vision only at a specific location, so I used always run shared vision for player 2 at location x
But then, there is shared vision with all units of player 2.
Also, I'd like the computer player to make a whole new base as expansions, similar to their main base. The problem with the AI scripts is that whenever the main base is destroyed, they won't rebuild a completely new base. And I prefer several main bases from 1 player. So is this possible, without creating a whole new AI script? (that seems too difficult). preferrably some method combined with any AI script.
|

Post #2
Kenoli
Jun 20 2008, 1:45 pm
![[Avatar]](/uploads/avatar/854.png)
|
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).
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).
|

Post #3
Clokr_
Jun 20 2008, 2:01 pm
![[Avatar]](/uploads/avatar/26.jpg)
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.
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? (yeah it is broken, I know it :/)
|

Post #4
Kaias
Jun 20 2008, 2:12 pm
![[Avatar]](/uploads/avatar/2864.gif)
Thats not going to happen
|
Maybe keep main base as 'value this area higher'. I don't really know much about the AI scripts that don't involve specific actions. Trying out a few different ones would probably be your best bet.
Maybe keep main base as 'value this area higher'. I don't really know much about the AI scripts that don't involve specific actions. Trying out a few different ones would probably be your best bet.
|

Post #5
okeee
Jun 21 2008, 11:54 am
![[Avatar]](/images/avatars/6.gif)
|
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
[i]always
run AI script insane at location x
run AI script insane at location y[/i]
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.
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.
|

Post #6
Kenoli
Jun 22 2008, 12:04 am
![[Avatar]](/uploads/avatar/854.png)
|
As far as I know, running a melee script will overwrite any other melee script that might currently be running.
As far as I know, running a melee script will overwrite any other melee script that might currently be running.
|

Post #7
Clokr_
Jun 22 2008, 2:19 pm
![[Avatar]](/uploads/avatar/26.jpg)
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.
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? (yeah it is broken, I know it :/)
|

Post #8
okeee
Jun 22 2008, 3:45 pm
![[Avatar]](/images/avatars/6.gif)
|
Ive tried both methods, but it seems that it doesnt work. in both cases, they will only gather minerals, so when building another base a few minutes later does not work as well. Or maybe i did something wrong with the triggers? and all players start with about 10000 ore and gas.
Ive tried both methods, but it seems that it doesnt work. in both cases, they will only gather minerals, so when building another base a few minutes later does not work as well. Or maybe i did something wrong with the triggers? and all players start with about 10000 ore and gas.
|

Post #9
Clokr_
Jun 22 2008, 4:45 pm
![[Avatar]](/uploads/avatar/26.jpg)
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.
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? (yeah it is broken, I know it :/)
|

Login to report
0 members in this topic: None
+ 0 guest(s)
You must log in to shout.