Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detection of masses of units
Detection of masses of units
Jul 25 2008, 11:00 pm
By: Dungeon-Master  

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



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!

Post has been edited 1 time(s), last time on Jul 25 2008, 11:53 pm by Dungeon-Master.



None.

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



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.



None.

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



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...



None.

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



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.



None.

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



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?



None.

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



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?



None.

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



Ok, but, won't this require a location for each wraith?

(If it does, i don't care, i can do with)



None.

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



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.



None.

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



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!



None.

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



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.



None.

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



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



?????

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



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?



None.

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



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.



None.

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



I guess this answers my questions!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Zycorax