Bullets go through all walls

This plugin allows players to deal damage through any wall. This was created so that you can shoot through the walls that you think that you should be able to shoot through. There are commands to change CVARs that detemine whether you can shoot through walls, shoot through walls with pistols, and how far a person can shoot through a wall.

Commands:
amx_wallbullets_toggle - Toggles Bullets Through All Walls Plugin
amx_wallbullets_distance - Change Distance Bullets Can Go Through Walls
amx_wallbullets_pistols - Pistols Can Shoot Through Wall < 0=No 1=Yes >

CVARs:
extensionson
Toggles plugin on/off (1=on 0=off) (Default: 1)
extensions_pistols_on
Pistols can shoot through walls (1=yes 0=no) (Default:0)
max_bullet_distance
Distance bullet travels in units. (meters*32 = units) (Default: 800)

Code:
/**************************************************************
* *
* Below are a couple of charts and notices to explain some *
* factors about this plugin. *
* *
***************************************************************/


/**************************************************************
*****************Damage Through Walls Table********************
***************************************************************
*|-----------------------------------------------------------|*
*| |*HeadShot*|*Body Shot*|*Arm Shot*|*Leg Shot*|*
*|--------------|----------|-----------|----------|----------|*
*|Heavy Weapons | 90 | 70 | 45 | 30 |*
*|--------------|----------|-----------|----------|----------|*
*|Rifles | 60 | 50 | 30 | 20 |*
*|--------------|----------|-----------|----------|----------|*
*|Pistols | 30 | 25 | 15 | 10 |*
*|-----------------------------------------------------------|*
***************************************************************
***************************************************************
* NOTICE: Damage Through Walls Is Less Than Normal Damage *****
********* Because Realistically Shooting Through A Wall *****
********* Causes A Bullet To Lose Momentum. *****
***************************************************************
***************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
***************************************************************
********************Rifle Catagories***************************
***************************************************************
*|--------------|------------------------|*********************
*|Heavy Weapons | AWP |*********************
*|--------------| M249 (Machine Gun) |*********************
*| | SG550 (CT Auto-Sniper) |*********************
*| | G3SG1 (T Auto-Sniper |*********************
*|--------------|------------------------|*********************
*|Rifles | SCOUT |*********************
*|--------------| XM1014 (Auto-Shotgun) |*********************
*| | MAC10 |*********************
*| | AUG |*********************
*| | UMP45 |*********************
*| | GALIL |*********************
*| | FAMAS |*********************
*| | MP5NAVY |*********************
*| | M3 (Pump-Shotgun) |*********************
*| | M4A1 |*********************
*| | AK47 |*********************
*| | TMP |*********************
*| | DEAGLE |*********************
*|--------------|------------------------|*********************
*|Pistols | P90 |*********************
*|--------------| ELITE |*********************
*| | FIVESEVEN |*********************
*| | USP |*********************
*| | GLOCK18 |*********************
*| | P228 |*********************
*|---------------------------------------|*********************
***************************************************************
***************************************************************
* NOTICE: The Deagle Is Under Rifles Section Because Of How ***
********* Much Damage The Deagle Does. However, If Pistols ***
********* Damage CVAR Is Off, It Will Not Deal Any Damage ***
********* Through Walls (Unless It Hits A Person Normally ***
********* Through A Shootable Wall) ***
***************************************************************
***************************************************************/
DOWNLOAD NOW

Get Plugin or Get Source (GHW_Wall_Bullets.sma - 3575 views - 22.9 KB)

No comments

Not a single link is allowed to submit in comment :o