TF2 Weapon Stripping (Help requested)

Galago

L2: Junior Member
Sep 29, 2008
90
5
So, my friend and I are working on a map (arena_boxing), and we need to have restrictions so that players can only use melee weapons. At the moment, we're using the buggy method of a trigger_multiple tied to a point_clientcommand that sets the weapon to slot3 every 0.03 seconds. This doesn't seem to work, and every now and again players won't even be switched back to slot3. Anyway, does the TF2maps community have a better idea/solution?

Thanks,
Galago (and Fry)
 
Jan 31, 2008
555
1,482
I tried making one that did the command:

OnTrigger -> clientcommand -> Command -> use tf_weapon_knife;use tf_weapon_bonesaw etc.

It worked singleplayer. Not sure about multiplayer.
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
DON'T mess with ppl's settings (like hud_fastswitch )
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
I finally bothered to mess around testing some methods last night, and I'm pretty sure there isn't really a good way to do this, the game just wasn't meant for classes to not have their weapons.
 

Galago

L2: Junior Member
Sep 29, 2008
90
5
Well, I guess we'll deal with our hacked-up method. Thanks for the input.
 
T

The Asylum

So far the only (reliable) method since the Medic updateis utilizing sv_cheats. It suceeds in stripping weapons, but with two big problems:

A) It disables achievements

and B) Leaves a VERY tiny window of opportunity while the sv_cheats are still at 1 for players to noclip and other shit.

................ Why isn't it as easy as sending kill inputs anymore? *fumes*