headless_hatman?

Discussion in 'Mapping Questions & Discussion' started by sniprpenguin, Oct 28, 2010.

  1. sniprpenguin

    sniprpenguin L6: Sharp Member

    Messages:
    266
    Positive Ratings:
    126
    Has anyone figured out if he's hard-coded into the map, or something we can put into our own maps?

    Due to how complex he works, I thought for sure he's a new entity, but I can't find anything as to how to place him if he is. I was doubly-sure of this when I found his model in the bots folder.

    However, trying to use the console command "give headless_hatman" (Thanks Nerdboy) on any other map seems to not work, which leads me to think it's hard-coded.

    Any suggestions? Ideas? Proof of either?
     
  2. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Dunno, too busy trying to see if I can actually manage to be the one who kills him and gets something. ;)
     
  3. Geit

    aa Geit 💜 I probably broke it 💜

    Messages:
    597
    Positive Ratings:
    1,115
    He will not spawn on other maps, although I didn't test if that was because the other maps didn't have tf_logic_holiday
     
    • Thanks Thanks x 1
  4. sniprpenguin

    sniprpenguin L6: Sharp Member

    Messages:
    266
    Positive Ratings:
    126
    Hmmm... there be a NAV file for cp_manor_event.

    A clue? Maybe. If only GCFScape could extract things properly. That seems all too convenient...

    EDIT: tf_logic_holiday? I'll try it out.

    EDIT2: No in the .fgd, so I wouldn't know what to do with it. :s
     
    Last edited: Oct 28, 2010
  5. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Well, I've found out ways to crash srcds...
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    The nav file is clearly there for him to navigate with, after all he is running on bot code. (and I believe gifts also use the nav file to determine valid places to spawn)
     
  7. sniprpenguin

    sniprpenguin L6: Sharp Member

    Messages:
    266
    Positive Ratings:
    126
    After looking at the decompiled .vmf, courtesy of Trini8ed (SP?), it's hard-coded. Nothing in the vmf would even suggest a boss.

    EDIT: Unless I'm sorely mistaken. There's still hope!
     
  8. Trini8ed

    Trini8ed L1: Registered

    Messages:
    28
    Positive Ratings:
    7
    Well their goes the idea of npc's in my zelda map :/
     
  9. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    At last! Got my "Gored" achievement.

    • There's a 30-second shortcut, but I'm not sure if it's a good idea to spread it around. Anyway, you can only get the rare "haunted metal" once since it is tied to the achievement.
    • You must person who delivers the final killing blow before he starts to scream in pain and disintegrate, and it must be a melee strike.
    • Is GCFScape erroring out when trying to extract things from the GCFs for anybody else? (I fear it might mean PackBSP is also in trouble.)
     
    Last edited: Oct 28, 2010
  10. gamemaster1996

    gamemaster1996 L13: Stunning Member

    Messages:
    1,065
    Positive Ratings:
    131
    The headless horsman beats killing saxton hale by a long shot :)

    Also maybe valves intentionally stopped gcfscape from working so we cant figure out ways to manipulate the horseless headless horseman?
     
  11. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    43
    The horsemann is a bot, he won't work without a nav script.
     
  12. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    that unfortunate, if I added the horsemann to my new map, it would help the map out soooo much.
     
  13. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Not at all. Multiple times I have seen multiple people get the achievement and metal, which means it's not the killing blow. (this includes the time I got mine, two others did as well that kill)
     
  14. Thomaseng

    Thomaseng L1: Registered

    Messages:
    3
    Positive Ratings:
    3
    To create it in-game you have to use the command: ent_create headless_hatman (Sv_cheats 1, requires .nav file fo the map)

    Is there any way to use ent_create in the hammer?
     
    • Thanks Thanks x 1
  15. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    To get a nav script for a map, wouldn't you just need to type "nav_generate" and then use the above code to get him?
     
  16. Thomaseng

    Thomaseng L1: Registered

    Messages:
    3
    Positive Ratings:
    3
    You can use an entity_spawn_point and entity_spawn_manager combo and use "headless_hatman" in the "Entity to spawn" field.
     
    • Thanks Thanks x 2
  17. gamemaster1996

    gamemaster1996 L13: Stunning Member

    Messages:
    1,065
    Positive Ratings:
    131
    Wouldn't it just be the same as last years ghost but replacing his navigational stuff with the horsemans bot stuff?
     
  18. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Absolutely not. The ghost was merely a func_tracktrain with parented entities, the HHH is a full-fledged AI-driven bot.
     
  19. Elec0

    Elec0 L1: Registered

    Messages:
    15
    Positive Ratings:
    3

    This works perfectly. And you can get the achievements and everything with it. I also put the holiday entity, which probably made the achievements possible, but I don't know exactly.
     
  20. Redemption

    Redemption L1: Registered

    Messages:
    11
    Positive Ratings:
    1
    Does this work with the halloween "gift" too?

    if so , what is it's name to add in the entity_spawn_point and entity_spawn_manager ?
     
    Last edited: Oct 29, 2010