Can´t get this to work...

  • Thread starter Thread starter Vamp
  • Start date Start date
V

Vamp

Guest
Im trying to get zombies to actually hunt me down and kill me. Ive tried with all kinds of flags on and off (using npc_zombie), nodes etc, but he wont attack me.

So, how exactly do you make NPC attack other players in HL2DM?

Note: My map is about survinig zombies, if that helps (if yo have an idea that is).

Thanks.
 
Here is what I did for having Striders actually walk around the map and stomp on people (yet I can't get them to actually fire anything):

I created an ai_relationships entity next to the zombies. Subject would be npc_strider (in your case, npc_zombie) and the target is player.

Now, what you have to do is get some sort of breakable item, like a prop_physics box or something. In the outputs tab in the object properties, make a new thing that has OnBreak, ApplyRelationship to npc_zombie. Either put the box next to the player and have the player break it, or have the box free fall from 100 ft in the air (this is what I did, and I made sure it was out of the player's view so it looks completely transparant). Bingo, the AI should work in HL2DM.
 
Merc248 said:
Now, what you have to do is get some sort of breakable item, like a prop_physics box or something. In the outputs tab in the object properties, make a new thing that has OnBreak, ApplyRelationship to npc_zombie. Either put the box next to the player and have the player break it, or have the box free fall from 100 ft in the air (this is what I did, and I made sure it was out of the player's view so it looks completely transparant). Bingo, the AI should work in HL2DM.

haha.. that's what i call a cool walkaround.. *g*
why don't u just trigger the event with.. erm.. a trigger? :D
(never made a sp-map for hl2.. just mp.. so i don't know exactly what i am talking about.. but it SHOULD work with a trigger... hehe)
 
Merc248 said:
Here is what I did for having Striders actually walk around the map and stomp on people (yet I can't get them to actually fire anything):

I created an ai_relationships entity next to the zombies. Subject would be npc_strider (in your case, npc_zombie) and the target is player.

Now, what you have to do is get some sort of breakable item, like a prop_physics box or something. In the outputs tab in the object properties, make a new thing that has OnBreak, ApplyRelationship to npc_zombie. Either put the box next to the player and have the player break it, or have the box free fall from 100 ft in the air (this is what I did, and I made sure it was out of the player's view so it looks completely transparant). Bingo, the AI should work in HL2DM.

Thanks, ill try that.

But still, is there noone who has got them to actual attack players. I want my zombies to hunt the players down :D
 
Back
Top