Adding npcs in deathmatch?
Post Reply
Quote
Re: Adding npcs in deathmatch?
Posted by Baf2099 on Wed Jan 5th at 9:37pm 2005


I am currently working on a map in which i have a large pool of water under a bridge. i want to make the water basically a deathtrap so i would like to add certain npcs such as the ichthyosaur and the leeches to hurt anyone who falls in. can this be done for half life 2 deathmatch and how would i go about making them actually attack people who fall in.





Quote
Re: Adding npcs in deathmatch?
Posted by rs6 on Thu Jan 6th at 2:02am 2005


try the entity trigger_waterydeath I found it in Hammer while looking through all the entities. According to the help in hammer it spawns leeches around the player and does damage until they die. Im not sure if this works in HL2DM though

or

you can try trigger_hurt




Quote
Re: Adding npcs in deathmatch?
Posted by DrGlass on Thu Jan 6th at 6:20am 2005


I dont think you can add npc's into multi player maps, even though they are in the entity list.




Quote
Re: Adding npcs in deathmatch?
Posted by Nickelplate on Thu Jan 6th at 6:47am 2005


you can add the NPC's as a prop_static or Prop_dynamic then set thier default animation to somethng that makes it look like they are moving around. Other than that, no NPC in DM.

[addsig]



Quote
Re: Adding npcs in deathmatch?
Posted by Leperous on Thu Jan 6th at 11:59am 2005


Some npc_ entities may still appear in deathmatch levels that you test on your PC, but I have a feeling that servers run with monsters turned off. Which means you can use a point_servercommand entity to turn them on again with the relevant command



Quote
Re: Adding npcs in deathmatch?
Posted by Baf2099 on Thu Jan 6th at 9:20pm 2005


I tried out the watery death entity and amazingly it works. Its so funny when people fall in the water and are freaking out trying to look for a way out before they are eaten alive. anyway i still have yet to get the npcs to "work" in hl2 dm. i can see them but they do not move or do anything for that matter. i do see the one server entity suggested to turn "on" monsters but i dont know what input or output i would put in, in order to actually enable them. if anybody knows how to enable them with the server entity or another way of adding WORKING npcs that would be great.




Post Reply