Restricting Weapons or No-Shoot room?

Discussion in 'Mapping Questions & Discussion' started by Porkchop, Apr 8, 2009.

  1. Porkchop

    Porkchop L1: Registered

    Messages:
    42
    Positive Ratings:
    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.
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    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.
     
  3. Porkchop

    Porkchop L1: Registered

    Messages:
    42
    Positive Ratings:
    11
    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
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    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.
     
    • Thanks Thanks x 1
  5. Porkchop

    Porkchop L1: Registered

    Messages:
    42
    Positive Ratings:
    11
    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.
     
  6. What Is Schwa

    What Is Schwa L6: Sharp Member

    Messages:
    375
    Positive Ratings:
    220
    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 =/
     
  7. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    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?)
     
    • Thanks Thanks x 1