AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Bullets Go Through All Walls (https://forums.alliedmods.net/showthread.php?t=19238)

usarmy 04-23-2014 17:13

Re: Bullets Go Through All Walls
 
Its Not Working - Please Help me!

TFCDRDEATH 01-13-2018 17:26

Re: Bullets Go Through All Walls
 
can you make this for TFC?


Quote:

Originally Posted by GHW_Chronic (Post 163887)
  • 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 <meters>
    • 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)                         *** *************************************************************** ***************************************************************/



All times are GMT -4. The time now is 14:30.

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