Working with the new objects in DM

Jimbro727

Newbie
Joined
Dec 29, 2004
Messages
72
Reaction score
0
Hey! I'm back.. this is by no means a full tutorial, it's just a small addition to tell you the DOs and DON'Ts involved with the new objects in the DM update.

In the update, we have three new toys: the slam, the stunstick, and the crowbar.

THE SLAM
This is easily my favorite new toy.. especially if you have sv_cheats on :D As you probably all know by now, the slam can be used in two ways: dropping it and using a cool remote to detonate the pack, and placing it on a surface, which creates this laser triggered mine thing. When you throw the charge, and use a remote to detonate it, the actual mine entity is called npc_satchel. When you place the charge and it becomes laser triggered, it's called npc_tripmine.

DOs
You definitely are going to want to spawn rediculous amounts of both the tripmines and satchels, so to do so, you're going to use the give command, followed by either npc_satchel or npc_tripmine. As you may recall from my tutorial, the give command places the entity directly under you, so this is fine for satchels, but you better move fast if you place a tripmine, because it arms in a few seconds. Unfortunately, I don't know how to place the tripmines in any cool positions, when you use the give command, it drops them with the laser facing up.

I'd suggest binding at least "give npc_tripmine", that way you can run and tap whatever you binded it to, to create fields of laser-triggered slams! After you drop an npc_satchel, you can detonate them using the ent_fire command (i forget the command, you can look it up with ent_info), or just use alt-fire on the slam, but in order to get alt fire, you'll have to throw a satchel from your personal stash, when you use the remote, it'll blow up all of the ones you spawned. Since sv_cheats will have to be on for this to work, you can just use "impulse 101" to get yourself 5 slams.

DON'Ts
The reason I tell you to use the give command is because if you use npc_create with either npc_tripmine or npc_satchel, the server will crash. So that's a definite don't! I'd also suggest keeping it relatively cool with the mines, because it's real easy to just drop hundreds of them and create awesome minefields, but the more you put, the laggier the game gets, so don't be one of those idiots who spams entities on a server, that's just not cool.

STUNSTICK
I don't have alot to say about the stunstick.. it's alot of fun to spawn some zombies and bash them to death with the stunstick hehe.. I think it takes 3 wacks to the head to kill an npc_zombie that has 100 hp.

DOs
If you're playing on a map that doesn't give you the stunstick when you spawn, you can get one by using either impulse 101 or give weapon_stunstick.


DON'Ts
Like every weapon, you should never spawn a stunstick using npc_create, it will crash the server, always use the give command. Unlike every other weapon, you cannot spawn an NPC with a weapon_stunstick :frown: Unfortunately, this means that if you had hoped on spawning a bunch of combine police with stunsticks and having them beat down on you.. or 5 on 1 alyx hehe... well.. you can't.. for now :( The way that you would do this would be by issuing the npc_create_equipment weapon_stunstick command, which should spawn every subsequent NPC with a stunstick, but when you try to spawn an NPC, the game crashes :hmph:

CROWBAR
I don't have alot to say about the crowbar.. it's awesome.. but I think it's more degrading to kill someone with a bop on the head from a stunstick than a bash with a crowbar, but that's just me :E I believe that the class name for the crowbar is weapon_crowbar, so if you don't spawn with one, you can use the give command or impulse 101. I haven't tried spawning NPCs with the crowbar, hopefully it will work better than the stunstick... but even if we could get them to spawn, I don't think any of the models would have the proper animations.. so we'd have the same problem as we do with virtually every other gun :x



So that's about it.. I didn't put alot of time into this thing.. it's not really a tutorial.. i mean it to be a slight update to my previous tutorial.. I've been playing with these things since the update, and have found out some cool things and some bad things, so I figured I'd share with the community :cheers:

--Jimbro
 
Back
Top