Burrowed Units
Jan 24 2010, 10:11 pm
By: o_o (TheGatePro) ~_~  

Jan 24 2010, 10:11 pm o_o (TheGatePro) ~_~ Post #1



Ok, I've seen missions with 20 by 12 rooms where there were burrowed units by the exits and the enter areas. I don't understand how these things work, can someone please explain.

EDIT: Sorry, I was trying to say that I wanted to understand how to move from room to room, and I didn't get why they used burrowed units, and what the purpose of it was.

Post has been edited 1 time(s), last time on Jan 24 2010, 10:38 pm by the gatepro.



None.

Jan 24 2010, 10:13 pm stickynote Post #2



What exactly do you not know how to do?



None.

Jan 24 2010, 10:30 pm CecilSunkure Post #3



Are you asking how they allow you to move from room to room?

Well there are multiple ways to do this with burrowed units. Basically, the burrowed units act as somewhere to center locations onto. When a player runs over a certain amount (assuming you have a location constantly centering on the player) you can detect when they are near a room's exit by the types of units that are under the player and near the exits. From here, you can center another larger location onto the burrowed units at the player's location, and this larger one should be large enough to cover the burrowed units in the next room. You can use this to then center a location onto the units in the next room, and move the player there. When doing this, you'll need to be giving the burrowed units to different players, so that you can make sure that your locations center on the units you need them to.



None.

Jan 24 2010, 10:45 pm o_o (TheGatePro) ~_~ Post #4



Quote from CecilSunkure
Are you asking how they allow you to move from room to room?

Well there are multiple ways to do this with burrowed units. Basically, the burrowed units act as somewhere to center locations onto. When a player runs over a certain amount (assuming you have a location constantly centering on the player) you can detect when they are near a room's exit by the types of units that are under the player and near the exits. From here, you can center another larger location onto the burrowed units at the player's location, and this larger one should be large enough to cover the burrowed units in the next room. You can use this to then center a location onto the units in the next room, and move the player there. When doing this, you'll need to be giving the burrowed units to different players, so that you can make sure that your locations center on the units you need them to.

Can you make a trigger because I don't really understand what you just said.



None.

Jan 24 2010, 11:52 pm Lanthanide Post #5



Cecil's explanation seems to be written from a perspective of re-using locations as much as possible.

If you don't care about re-using locations, a simple explanation as follows:

Many terrain areas are placed on the map. Each area contains a burrowed zergling owned by P8 at 'entrance' to the area, burrowed drone for P8 at 'exit' from that same area. Each area contains a location that encompases the whole area, called "area <number>".

Cond: Always (this trigger occurs at the start of the game, and is not preserved)
Action: Set deaths for "area #" to 1 for P1

Cond: Always
Action: Center location "player" on P1 men at anywhere. "player" is a smallish location, probably 32x32 in size.
Preserve trigger

Cond: P8 brings 1 drone to location "player"
P1 deaths for "area #" is exactly 1
Action: Set deaths for "area #" to 2 for P1
Center location "player" on zerg zergling at "area 2"
Move men for P1 at "area 1" to "player"

Repeat the above triggers for all of your areas and increment the values as appropriate. So when a player gets to the drone at the exit to an area, they will be moved to the entrance of the next area. This simple design doesn't allow for a player to backtrack between rooms - if you added a trigger to detect when the player stepped on a zergling in area 2 and sent it back to area 1, then as soon as you spawned at the entrance point in area 2 (on top of the zergling), you would be sent back to room 1. There are ways to get around this with a little thought and consideration to how the trigger conditions work.



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: Roy, Moose