Trouble spawning the Horseless Headless Horsemann

T

The Asylum

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
 
T

The Asylum

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)
 
T

The Asylum

Ah, apparently there's a .cache file that has to go along with the .bsp file. How in the hell do I make this?
 
T

The Asylum

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...
 
T

The Asylum

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
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
Because your nav is wrong or maybe because he doesn't see anything to attack.
 
T

The Asylum

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.
 

Beetle

L9: Fashionable Member
Aug 17, 2008
627
178
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.