Trouble spawning the Horseless Headless Horsemann

Discussion in 'Mapping Questions & Discussion' started by The Asylum, Jun 11, 2011.

  1. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    So it's like this: I'm working on a map that spawns the Horsemann when certain conditions are met. As I understand it, you need three entities: env_entiry_maker, point_template, and headless_hatman. MY setup is as follows:

    env_entity_maker
    Name: maker
    Template to Spawn: hhh_template

    point_template
    Name: hhh_template
    Template1: headless_hatman

    headless_hatman
    targetname: headless_hatman

    Right now I have a trigger brush sending a ForceSpawn input to my env_entity_maker.

    When I try to run the map, TF2 crashes and I get this error:

    37/headless_hatman - headless_hatman: UTIL_SetModel: not precached: models/bots/headless_hatman.mdl

    wtf is this shit
     
  2. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,902
    i thought spawning the HHH was only server side?

    And iirc, you need to put the HHH model somewhere on the map as a prop_dynamic... someone was messing around with it in chat the other day.
     
  3. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    There's maps that I've seen that can spawn the HHH on command (hitting a func_button, for instance), and not on an actual server (like the local one you create when you compile your maps)
     
  4. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Ah, apparently there's a .cache file that has to go along with the .bsp file. How in the hell do I make this?
     
  5. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    alright, i got him to spawn with the setup i was using, but there's a trick to it:

    You have to first run your map without the point entity setup, with the HHH model, the axe model, and all his associated sounds as prop_dynamics and ambient_generics. Only then can you set up the neccessary entities needed to spawn him

    now i just need to figure out how to get him to move...
     
  6. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Alright, got him moving and attacking now by typing nav_generate in console

    Now all he wants to do is run into one corner all the time.

    horsemann, y u no work
     
  7. Lancey

    aa Lancey Currently On: ?????

    Messages:
    3,076
    Positive Ratings:
    1,314
    Because your nav is wrong or maybe because he doesn't see anything to attack.
     
  8. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    I just figured it out. It's because I have control points in my map; the horsemann always wants to run towards them. Since they we'rent accessible in my map, he just kept going to that one corner that was closest to them. So I put the points above my map above the center, and lo and behold, he stayed close to the middle.

    All the other tfbots liked to rush to the middle too. Forcing melee and watching them all run to the middle to stand around take swings at eachother was.... oddly amusing.
     
  9. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Also, in case you haven't figured it out yourself yet. All you need to do to cache them is put them in the map. I don't think an extra file is needed....or at least I don't think you need to make or edit one yourself. I didn't.