AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   AMX Wall Maker (https://forums.alliedmods.net/showthread.php?t=11294)

KaOs 03-14-2005 21:30

AMX Wall Maker
 
3 Attachment(s)
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)
##
##
##########################################################################*/


#eclipse 03-14-2005 22:01

wow this is great can't wait for the next version so they can face different ways great job

ScubaSteve3465 03-14-2005 22:10

ok just found a bug after the wall creates it disappears and turns invisible people cant go through it but its invisible and that makes it gay please fix it

v3x 03-14-2005 22:33

Yay, more walls!! :)

apophis 03-14-2005 22:52

I think the entity limit of HL is a lot lower than 9,999.

ScubaSteve3465 03-15-2005 07:09

Quote:

ok just found a bug after the wall creates it disappears and turns invisible people cant go through it but its invisible and that makes it gay please fix it
Anybody want to look at this?

KaOs 03-15-2005 12:18

Can you provide more details.. such as WHEN does it go invis? what system are you running? modules? plugins? etc.

BTW, the entity limit I haven't tested out, but my SCRIPT supports up to 9,999 walls

ScubaSteve3465 03-15-2005 13:31

i really dont no to much im kinda of a noob with all that enitity talk and shit but after it goes solid it disappears and u can see people on the other side of it you can see the map and everything right through it but u cant server players and it turns invisible. Its windows also i believe and the plugins im running are



admin_clexec.amxx
amx_ejl_cmdlistgenerator.amxx
glow_menu.amx
;amx_badaim.amxx
loadingsound.amxx
admin_allinone.amxx
admin_alltalk.amxx
ejl_timebomb.amxx
amx_ejl_dice.amxx debug
amx_ejl_spacedude_ninjarope.amxx
weaponarena.amxx
automatic_knife_duel.amxx
amx_ejl_easyspeech.amxx
;psychosound.amx
;csdm_mod.amxx
vehiclekills.amxx
amxx_piss.amxx
;amx_ejl_jetpack.amxx
monstermapcfgmaker.amxx
monster_spawner.amxx
plugin_blatt_monster.amx
pingkicker.amxx
;timer16.amxx
;changeskin.amxx
zombie.amxx
adminlisten.amxx
;flare.amxx
;amx_wall.amxx
;goomba.amx
amx_ejl_nukem.amxx

KaOs 03-15-2005 17:13

ok, disable all your EXTRA plugins except mine then try it

The Best POW 03-17-2005 19:21

nice plugin ill tell you if i get the same error tomorrow


All times are GMT -4. The time now is 09:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.