Current Version: 1.11
Originally created by AssKicR:
http://djeyl.net/forum/index.php?showtopic=23762 (AMX)
http://forums.alliedmods.net/showthread.php?t=843 (AMXX)
See the below for changes/additions --
One major change is that the walls are solid, yes, but they can only be placed in ONE direction! Due to the bug/problem that you cannot change the direction of the bounding box.
Plans for next version (v1.12):
* Option for saving map locations (so walls will reload every time map is loaded)
* Extended ability for the above option, so that you can choose for walls to clear: Every round, Every map change, Never (map specific)
* Wall options -- Choose what wall you want! Brick, Stone, Invisible (boundaries only), laser, etc.
* Wall clearing options -- Do walls explode, get lowered, slowly dissapear, etc. when clearing
* Fix of the hitbox angle bug (if possible)
Commands:
*
amx_wall_create -
Create a wall where you are standing (not solid for 2 seconds)
*
amx_wall_clear -
Clear ALL walls
*
amx_wall_undo -
Clear just the last wall
CVAR's:
*
amx_wall_immunity -
Does the creator of the wall have immunity to it? (0/1) Default: 0
Code:
/*##########################################################################
##
## -- www.SteamTools.net
## ___ ___ ___ __ __ _ __ ___ _ _
## / | / |/ | \ \ / / | | / / / | | | | |
## / /| | / /| /| | \ \/ / | | __ / / / /| | | | | |
## / / | | / / |__/ | | } { | | / | / / / / | | | | | |
## / / | | / / | | / /\ \ | |/ |/ / / / | | | |___ | |___
## /_/ |_| /_/ |_| /_/ \_\ |___/|___/ /_/ |_| |_____| |_____|
##
## |__ |__ o _|_ ___ __ __ o |__, ___
## -- |__) (__| (__(__( | ) | |_, (__/_ | ) ) | | \ (__/_
## |
##
## This fun plugin was originally created by AssKicR over at the AMXMod.net
## forums, and little did I know he ported it to AMXX (link in thread). I decided
## that even though he ported it to AMXX, I should add some features, and did.
## You can now place virtually unlimited walls (up to 9999) and clear all the
## walls at one time, or can you "undo" them and have your last wall cleared.
##
## Feel free to contact me
## via PM or email ([email protected]) if you have any questions
## or comments.
##
## Enjoy!
##
##
## CHANGELOG
##------------------------------------------------------------------------
## Since this is the first version, these changes are from AssKicR's code
## - - -
## 1) You can place up to 9,999 walls at any given time.
## 2) Walls are solid, nobody can walk through them except owner (see cvar)
## 3) You have 2 seconds to run before your wall becomes solid
## 4) Walls no longer explode or do damage, they just disappear
## -- NOTE: This feature may be re-added in future releases
##
##
## INSTALLATION
##------------------------------------------------------------------------
## 1) Unzip (which you may have done already)
## 2) Place 'amx_wall.amxx' in 'cstrike/addons/amxmodx/plugins'
## 3) Add a line in 'configs/plugins.ini' containing 'amx_wall.amxx'
## 4) Put 'wall.mdl' in 'cstrike/models' folder
## 5) Open 'cstrike/server.cfg' and add the cvar listed below
## 6) -- Visit www.SteamTools.net and enjoy your new plugin!
##
##
##
## THE CVARs
##------------------------------------------------------------------------
##
## amx_wall_immunity
## - Does the person that placed the wall have the ability to walk through it?
## + Default is 0 (no)
##
##
##########################################################################*/