Page 1 of 1

S.L.A.M. NPC

Posted: Wed Oct 29, 2008 1:27 am
by shiftey
How would I set up a trip mine in Hammer? I see that the grenade is an npc_grenade_frag, but I can't figure out what a set up SLAM would be.

Posted: Wed Oct 29, 2008 2:38 am
by fug4life
I think, unfortunately, a slam (prop_dynamic) with a env_beam and and a trigger once with an env_exsplosion. Your have to create a nodraw func_brush so the beam has a start and end entity, i.e the prop_dyn and the func_brush.

I believe it's the only way.

Edit: lol isn't the npc_grenade_frag abit like an env_shooter, i.e its for an imaginary combine who is throwing nades at you from behind a wall

Posted: Wed Oct 29, 2008 4:27 am
by shiftey
Ok, I got it working. Still needs some work though.

Posted: Wed Oct 29, 2008 6:01 am
by DaMaN
npc_tripmine

Posted: Wed Oct 29, 2008 1:41 pm
by shiftey
Maybe its not in the fgd. Its not showing up.

Posted: Wed Oct 29, 2008 6:53 pm
by DaMaN
Ah, no, it's not in the fdg. Go into game and say "give npc_tripmine" and you'll get a pleasant surprise.