Restricting Weapons or No-Shoot room?

Porkchop

L1: Registered
Apr 6, 2009
42
11
This is just for a little map I'm working on, nothing public or special about it, just for a server I play on.

Is there a way to restrict weapons or just prevent shooting/killing in a room where all players are present that doesn't involve cutting them off by a glass window or something.

I've searched around the forums and found one topic on it, and when I tried it, it seemed to work but then the game crashed. I've also tried one tutorial found on FPSBanana but it involves turning sv_cheats on and off and honestly, that's a poor way to go about it as it can get abused tons.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
In a word: no.

Seems you've found the buggy ways to remove all weapons, but it seems to me like you just wanted this in one area? That'd be much harder to accomplish in any reasonable way.
 

Porkchop

L1: Registered
Apr 6, 2009
42
11
In a word: no.

Seems you've found the buggy ways to remove all weapons, but it seems to me like you just wanted this in one area? That'd be much harder to accomplish in any reasonable way.

Ah well, is there a way to apply it to the whole map then? Without any server side adjustments. Perhaps I'm asking for too much :p
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
Well no. The map-wide method is the weapon removal methods you've found. The only other way I could think to do it would be to keep everyone under constant healing, but even then anything that can one-hit would still kill.
 

Porkchop

L1: Registered
Apr 6, 2009
42
11
Well no. The map-wide method is the weapon removal methods you've found. The only other way I could think to do it would be to keep everyone under constant healing, but even then anything that can one-hit would still kill.

Ah well, that is a pretty good method to go about it, but I think I found a solution to what I needed. You can lock this now, thanks for the help.
 

What Is Schwa

L6: Sharp Member
Jan 13, 2008
375
445
I used the entity stripper script in a melee only version of my map and it wasn't exploitable. It does spam the chat a lot though =/
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
No-shoot room:

Make all walls a func_button with the damage activates flag.

OnDamaged -> activator -> SetHealth -1000

Not a perfect method, but it works if you want to use it in a single room, and the players dont know how the anti weapon system works. (bullets stop on hitting a player?)