A way to count Headless Kills?

Discussion in 'Mapping Questions & Discussion' started by DraonhawkXD, May 21, 2015.

  1. DraonhawkXD

    DraonhawkXD L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    I'm planning to make a map that's based on a team killing the most Headless Horsemen;
    Is there a way in hammer to count the total number of headless horseman kills from a team?
    well, at least make the map be victory based on the most player points counted?
     
    Last edited: May 25, 2015
  2. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    Yes. Count the number of times you spawn the horseman, so that whatever triggers him will also add 1 to the counter.
    Use a math_counter. (acutally 2- one for Red one for Blu)
    Put an Output

    [the spawn trigger system] Counter Add 1 (for both teams)

    When the number reaches the set value (the "max" value) trigger the win

    OnHitMax TeanRoundWin SetTeam (the team whose counter ended)
     
    Last edited: May 21, 2015
  3. henke37

    aa henke37

    Messages:
    1,857
    Positive Ratings:
    430
    That only counts the number of times it has been spawned. Not the number of times it has been defeated by a specific team.

    Then again, how do you decide which team defeated it? The last one to hurt it? The one to hurt it the most? The most the last 5 % of its lifespan? What a mess. This is why games don't have shared goals that are awarded only to one team.
     
  4. DraonhawkXD

    DraonhawkXD L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Than split the teams apart and make have to find and fight their own part of the map, I mean Im planning to make a huge map and dupe it, so both teams can race to see how many headless kills they can achieve, but at some points a random player will get teleported to the enemie's world and have to fight/slow down the enemy.
     
  5. henke37

    aa henke37

    Messages:
    1,857
    Positive Ratings:
    430
    I don't know if the HHH supports multiple simultaneous instances. And even if it does, it most certainly does not support the map being split into disconnected areas with players in an area it isn't in.
     
  6. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    I thought he has 2 spawners, filtered for red only and blu only
     
  7. Toomai

    Toomai L3: Member

    Messages:
    129
    Positive Ratings:
    77
    I've seen videos of people spawning a butt-ton of HHHs with the only issue being that they try to kill each other until only one is left. And if he's anything like the normal TFBots, if the path to his target is blocked he'll just run into a corner somewhere that's as close as he can get.
     
  8. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    934
    Positive Ratings:
    901
    The HHH actually prefers to go to controlpoints when nobody is in range. It's also possible to restrict his movement with a special navigation brush. He will try to never leave the brush. And if "IT" is outside the brush, "IT" will no longer be "IT".

    [​IMG]
    Lakeside_event decompile - I made two screenshots for the transparency. The texture does not matter.