Here's an updated version of burrow system..
Edges are fixed (apparently they just needed wiggly terrain edges instead of straight null edges). I also added functionality for one more player...
@Kaias: Cloak system looks cool...If I had time I'd use that and finish my stealth ghost map.
EDIT: Forgot to press 'attach this'. See my post further down page for attached attachment....
Post has been edited 1 time(s), last time on Dec 5 2008, 6:11 am by Impeached.
None.
maybe im dumb, how do you guys plan to detect when the zergling is burrowed? o.o you said it warps the zergling when its burrowed right? O_O
None.
Place a Neutral Zergling in an out-of-play area of the map, constantly Center a location which is the same size as a Zergling on the player-controlled (eg. non-Neutral) Zergling and constantly Move the neutral ling to the location. If Neutral Brings Exactly One Zerg Zergling to the location, then the ling is burrowed.
None.
Hmm that'd slow the zling down would it not?
None.
No... The Neutral ling can't Move unless the player-controlled ling is burrowed, so how would it affect the ling at all?
None.
can someone explain to me how impeached triggers work on his map. i looked at them for like 40 minutes and i dont get it at all
None.
Only person who could do that is Impeached, they confused the hell out of me too. MOAR COMMENTING PLZ!
None.
hmm.. i thought if their is area surrounding the ling and the location no matter what size the neutral ling will be moved and be on the other grid o_o
None.
No, if you Move a unit to a location, it will only move if there is space /in/ the location.
None.
Hmm that'd slow the zling down would it not?
It would only slow it down if the neutral zergling was burrowed, and if it was burrowed then the system wouldn't work at all. The zergling is moved back to its original position after detection within the same loop.
can someone explain to me how impeached triggers work on his map. i looked at them for like 40 minutes and i dont get it at all
Quote from name:TassadarZeratul
Only person who could do that is Impeached, they confused the hell out of me too. MOAR COMMENTING PLZ!
He uses a mobile grid.
None.
I know it's a mobile grid, anything that uses Devourers like that has to be. I was confused as to exactly what each individual trigger did.
None.
K remembered to press the 'attach this' button this time...
As to the general logic of my triggers:
Each time player moves out of a 1x1 location on side A, 9 devourers are created. They keep being removed one at a time (adding to a DC each time one is removed) until the player's ling and devourer are at the same spot. Then the 1x1 location is centered on the tile with the ling & dev together.
After this happens, on side B I create another 9 devourers at a 1x1 location (which was, at the start, at the same spot relative to side A). I subtract one from the DC I used in Side A devourer removal, then remove one devourer, until the DC is 0. After this, I move the 1x1 location on side B to a devourer on side B. Then I remove all devourers.
This happens every trigger cycle, with 8 copies of the remove-devourer-search triggers so that it won't take possibly 8 whole trigger cycles for the triggers to find where the player's ling went.
Now that you have a location following the ling on both sides, the rest is pie. Detect when the ling is burrowed, and move him to the location on the other side.
If you want to stop the ling being teleported onto unwalkable area, first try to move a neutral ling to a 1px by 1px location on the other side in the center of the 1x1 location that is the ling's location. If the ling gets to the 1px by 1px location, the area is clear and burrow works. If not, area is not cleared and burrow doesn't work.
Hope that clears things up...
Oh, and I don't use comments because I liberally use the text editor. I did comment a small bit and named the DCs for your viewing pleasure, though.
Attachments:
None.
Done with 1 location (2 if you count anywhere). also works for players 1-7.
Attachments:
None.
Great idea, this topic really got my creative juices flowing.
There's no reason it has to be triggered by burrowing though. You could have factory spell system and one of the spells being a light world/dark world shift.
None.
what i thought of when i read this was; super mario brothers
there are certain entrances to caves, underground pipes etc.
you can put a beacon or somthing down and when you burrow there it transports you to the underground part of supermario.
and you can enter at different locations depending or not you decide to pass by a pipe
and just like in super mario, you cant go back up the pipe until you get to the exit pipe
None.