Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Detection of masses of units, Like in Galactic Gunnerz

Creator: Dungeon-Master
Time: Jul 25 2008, 11:00 pm

Post #1     Dungeon-Master Jul 25 2008, 11:00 pm

[Avatar]
 offline contact
I would like to know how do you do to detect lots of units, like in galactic gunnerz, i wish to make units go to a ''target'' unit and die if not moving, i do not want the units to always move to the location where the aim unit is, question of realism...

Can y'all help me? thx!
This post was edited 1 time, last edit by Dungeon-Master: Jul 25 2008, 11:53 pm.
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

Post #2     Falkoner Jul 25 2008, 11:55 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
In Galactic Gunnerz, he has burrowed units following the units you fire, and every trigger loop or so, he runs through the units, and reassigns the zerglings to a wraith, he just runs a single location through all of them, and gives 1 away, then centers it on the next one, then when he's all done, he gives them all back to the original player.
Top

Post #3     Dungeon-Master Jul 26 2008, 12:20 am

[Avatar]
 offline contact
Hmmm yea... I do not understand the zergling assigned to wraith part, if he uses 1 location, how can he do it? I do not clearly understand...
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

Post #4     Falkoner Jul 26 2008, 12:24 am

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Basically, the zerglings are assigned to a wraith, and if the location moves over a wraith, that has a zergling directly under it, that usually means that the wraith did not move, and then he blows it up, when he runs through and moves the zerglings back under, he simply runs through with a location large enough to cover the maximum distance they could have moved, and moves one zergling in that area to the wraith.

The main idea is that he can give the wraiths to another player, so he centers the location on one, does everything he needs to, gives it to another player, then centers it on the next one, until he has gone through all the wraiths, then he gives them all back to the original player, and the cycle starts over.
Top

Post #5     Dungeon-Master Jul 26 2008, 12:43 am

[Avatar]
 offline contact
Huh... sorry, i must not be verry receptive today... could you exprime this in triggers? I tryed but just can't understand... how can the zergling not be detected if it moves right on the locatioN?
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

Post #6     Kaias Jul 26 2008, 12:51 am

[Avatar]
Thats not going to happen
 offline contact
Quote from Dungeon-Master
Huh... sorry, i must not be verry receptive today... could you exprime this in triggers? I tryed but just can't understand... how can the zergling not be detected if it moves right on the locatioN?
The zergling isn't moved all the time. Probably once every detection loop.
AKA he gives the wraith or whatever, time enough to move away.
Then he detects-
If its there, kill it.
If not, move the linging back in place again.

Understand?
Top

Post #7     Dungeon-Master Jul 26 2008, 12:53 am

[Avatar]
 offline contact
Ok, but, won't this require a location for each wraith?

(If it does, i don't care, i can do with)
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

Post #8     Kaias Jul 26 2008, 12:57 am

[Avatar]
Thats not going to happen
 offline contact
Quote from Dungeon-Master
Ok, but, won't this require a location for each wraith?

(If it does, i don't care, i can do with)
No. See, the idea is that you center on a wraith, do the detection, then give him to a different player.
Then you do it again, but this time, since the wraith is owned by a different player, it will detect a different one. And so forth until every wraith has gone through it's detection.

You pretty much repeat the trigger a bunch and then when your done, give the wraith's back to the original owner.
Top

Post #9     Dungeon-Master Jul 26 2008, 1:09 am

[Avatar]
 offline contact
O ya, i did not understood because i forgot the hypers was making triggers run 11.8 time in a sec, i though it was going to be too slow... well thanks!
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

Post #10     Falkoner Jul 26 2008, 6:26 am

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Well, no Tuxlar copies the triggers a bunch of times so it all happens in a single trigger loop, you just have to make sure you make bring/command update properly when you do that though.
Top

Post #11     Clokr_ Jul 26 2008, 2:19 pm

[Avatar]
Omg got a title!
 offline contact
Quote from Falkoner
Well, no Tuxlar copies the triggers a bunch of times so it all happens in a single trigger loop, you just have to make sure you make bring/command update properly when you do that though.

http://en.wikipedia.org/wiki/Loop_unwinding :P
_______________
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? :P (yeah it is broken, I know it :/)

Top

Post #12     Dungeon-Master Aug 4 2008, 4:06 pm

[Avatar]
 offline contact
Quote from Falkoner
Well, no Tuxlar copies the triggers a bunch of times so it all happens in a single trigger loop, you just have to make sure you make bring/command update properly when you do that though.

If i understand well, i just need to make the tigger and copy it, as with the hypers?
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

Post #13     Falkoner Aug 4 2008, 5:43 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Depends, you have to write the trigger properly to make it work when copied, you have to consider things like bring and command updating, and conditions of other triggers being met, but yeah, as long as the trigger is set up right, you can just copy it.
Top

Post #14     Dungeon-Master Aug 6 2008, 6:06 pm

[Avatar]
 offline contact
I guess this answers my questions!
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top
0 members in this topic: None
+ 0 guest(s)


[08:03 am]
[Echo]:] -- Bush is a smart guy.
[07:47 am]
O)MasterJohnny -- Bush is sorry about the economic crisis :D
[07:11 am]
rockz -- Bio>civil
[07:05 am]
[Echo]:] -- Did I mention civils sucks?
[06:58 am]
[Echo]:] -- especially the texan civils, because they only barn raise
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions