VHP Query
Dec 27 2012, 7:33 pm
By: Oh_Man  

Dec 27 2012, 7:33 pm Oh_Man Post #1

Find Me On Discord (Brood War UMS Community & Staredit Network)

I remember seeing in a map a while ago, tested with a bunch of SENNERS, I believe for a contest - a zombie map which used vhp infested kerrigans.

What I mean is, you shoot a infested, it dies, but is immediately replaced with another infested kerrigan in the except same spot, and a gunshot WAV plays. After X amount of shots it is dead dead and won't 'come back'.
What was amazing about this is that there were a large number of infested kerrigans (I think perhaps close to 50 or more), they were all the same unit and same player. How was unique vhp being tracked for each of these units???

I didn't think such a thing was possible.

Does anyone know how it is done?

Yours sincerely,
OhManymous.




Dec 27 2012, 8:06 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Here's an idea: move X amount of burrowed units under each Kerrigan, and each time she dies, remove a burrowed unit and create a new Kerrigan at that location. When the burrowed units run out, she won't respawn. You would cycle through the burrowed units by Give Player (giving the burrowed units, not Kerrigan), and when there is a burrowed unit group with no Kerrigan, create a Kerrigan at the location and remove a burrowed unit.

I don't know if this is how what you were thinking of worked, but it sounds pretty stupid, so I doubt it. But the above would recreate the scenario you're describing.




Dec 27 2012, 8:13 pm Chia-Tyrant Post #3



Is this the map you're talking about?

I think that he uses separate locations for each kerrigan (do I need to elaborate on this?). The map is protected, so I can't really tell. Alternatively, you can always use burrowed units under them as Roy mentioned.



None.

Dec 27 2012, 8:18 pm Dem0n Post #4

ᕕ( ᐛ )ᕗ

Quote from Roy
Here's an idea: move X amount of burrowed units under each Kerrigan, and each time she dies, remove a burrowed unit and create a new Kerrigan at that location. When the burrowed units run out, she won't respawn. You would cycle through the burrowed units by Give Player (giving the burrowed units, not Kerrigan), and when there is a burrowed unit group with no Kerrigan, create a Kerrigan at the location and remove a burrowed unit.

I don't know if this is how what you were thinking of worked, but it sounds pretty stupid, so I doubt it. But the above would recreate the scenario you're describing.
Yeah, I was thinking that they were using burrowed units to track which kerrigans were still alive, but this would slow them down, so unless a slow was intentional, it'd be incredibly inefficient.




Dec 27 2012, 8:48 pm Jack Post #5

>be faceless void >mfw I have no face

Are you completely sure that there is no giving of units to other players at all? That is, when the kerrigans enter a "range" location they get given to another player so that it's easier to track them? I know how to do it with two players but not with one, for a large amount of units that respawn.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Dec 27 2012, 8:56 pm Oh_Man Post #6

Find Me On Discord (Brood War UMS Community & Staredit Network)

Yer that's the one Chia. Yep he's using 49 locations in total.

Only around 20 of them are tiny, which I think must be the ones for the zombies.
However the Infested Kerrigans are being slowed as well, which may indicate burrowed units after all.

It's possible Jack. There are two computers one yellow one white both in the same force. However I never saw the unit flicker white. Unless it is happening very quickly.

So does anyone know how the general concept of this works?




Dec 27 2012, 9:11 pm Roy Post #7

An artist's depiction of an Extended Unit Death

Quote from Oh_Man
However the Infested Kerrigans are being slowed as well, which may indicate burrowed units after all.

[...]

So does anyone know how the general concept of this works?
Trigger
Players
  • Player 8
  • Conditions
  • Player 9 commands exactly 0 Zerg Drone
  • Actions
  • Give all Zerg Drone owned by Player 10 at Anywhere to Player 9
  • Move location CHECKER on Zerg Drone owned by Player 9 at Anywhere
  • Preserve Trigger
  • Trigger
    Players
  • Player 8
  • Conditions
  • Player 9 brings at least 1 Zerg Drone to CHECKER
  • Player 8 brings exactly 0 Infested Kerrigan at CHECKER
  • Actions
  • Remove 1 Zerg Drone for Player 9 at CHECKER
  • Create 1 Infested Kerrigan at CHECKER for Player 8
  • Preserve Trigger
  • Trigger
    Players
  • Player 8
  • Conditions
  • Always
  • Actions
  • Give all Zerg Drone owned by Player 9 at CHECKER to Player 10
  • Move location CHECKER on Zerg Drone owned by Player 9 at Anywhere
  • Preserve Trigger


  • That's about how I'd get about to doing it with one location. I assume the author used an LID system for his zombies instead of cycling, though.




    Dec 27 2012, 10:10 pm rockz Post #8

    ᴄʜᴇᴇsᴇ ɪᴛ!

    You can detect when a unit dies by using bring and command, but it only works 50% of the time. It could be that zombies had a 50% mortality rate after being shot.



    "Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

    Dec 28 2012, 2:45 am Leeroy_Jenkins Post #9



    Quote from Oh_Man
    I remember seeing in a map a while ago, tested with a bunch of SENNERS, I believe for a contest - a zombie map which used vhp infested kerrigans.

    What I mean is, you shoot a infested, it dies, but is immediately replaced with another infested kerrigan in the except same spot, and a gunshot WAV plays. After X amount of shots it is dead dead and won't 'come back'.
    What was amazing about this is that there were a large number of infested kerrigans (I think perhaps close to 50 or more), they were all the same unit and same player. How was unique vhp being tracked for each of these units???

    I didn't think such a thing was possible.

    Does anyone know how it is done?

    Yours sincerely,
    OhManymous.

    Well, you use a 1x1 pixel location for each kerrigan that keeps centering on the kerrigan. That is how you keep track of the location/death of each individual kerrigan. I'm sure you can figure out the rest :P (this won't work for units that are too fast, they might outrun the location)

    If location amounts are a problem, go with Roy's method. I've never seen that idea before. Brilliant.



    None.

    Dec 28 2012, 12:56 pm rockz Post #10

    ᴄʜᴇᴇsᴇ ɪᴛ!

    kerrigan and ghosts can outrun a 1x1 pixel location moving left unless my math is off.



    "Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

    Dec 28 2012, 6:55 pm Roy Post #11

    An artist's depiction of an Extended Unit Death

    Right, but the Kerrigans are also slowed by the move unit effect (as Oh_Man mentioned a few posts up), which should fix that issue, should it not?




    Dec 28 2012, 7:01 pm Oh_Man Post #12

    Find Me On Discord (Brood War UMS Community & Staredit Network)

    Well this is very cool it fixes that really annoying thing where units can only have 1 health so the gunshot plays. Now you can have gunshots for doing damage too, not just death, and maybe for monsters you can also add death WAVs for when they actually die die.

    A cool zombie map could be made with this plus Psionic Storm's ambient sound effects system.
    Something like... PARK LIFE... oh wait Sam abandoned it.




    Dec 28 2012, 7:03 pm Roy Post #13

    An artist's depiction of an Extended Unit Death

    Using EUDs, you could just detect when the player's unit's attack cooldown is greater than 0 to play the WAV sound. EUDGen will create the EUD for this.

    Or really, any form of VHP can do what you describe. That's kind of the point of VHP: you can control exactly what to do for any amount of life changes for a unit. A traditional VHP system would kill a burrowed unit per hit, which you could detect easily.




    Dec 28 2012, 7:04 pm Oh_Man Post #14

    Find Me On Discord (Brood War UMS Community & Staredit Network)

    Don't EUDs have horrific multiplayer issues though.




    Dec 28 2012, 7:06 pm Roy Post #15

    An artist's depiction of an Extended Unit Death

    Only for Mac users (which can be fixed with determination). See Section 5 of http://www.staredit.net/topic/14226/.

    For this scenario (playing a WAV), the only thing that would happen is that Mac users wouldn't hear the WAVs unless you set up the EUDs for them as well. EUDGen doesn't generate Mac triggers as of yet. Nobody would actually drop from the game.

    Edit: For clarity, you're using a global EUD condition (checking a unit property) and a local action (playing a WAV). This is the safest EUD combination possible, and it is an impossibility to desynchronize anyone, regardless of their OS.

    Post has been edited 1 time(s), last time on Dec 28 2012, 7:17 pm by Roy.




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [06:51 pm]
    Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
    [06:50 pm]
    NudeRaider -- Vrael
    Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
    sounds like moisture control is often a pressing concern in your city
    [06:50 pm]
    Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
    [06:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [06:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    [06:48 pm]
    Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
    [06:47 pm]
    Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
    [06:45 pm]
    NudeRaider -- Vrael
    Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
    beats me, but I'd make sure to pick the epitome of excellence and nothing less.
    [06:41 pm]
    Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
    [06:38 pm]
    Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
    Please log in to shout.


    Members Online: Roy