Raised This Month: $51 Target: $400
 12% 

Bullets Go Through All Walls


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Geesu (62)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-12-2005 , 00:45   Bullets Go Through All Walls
Reply With Quote #1

  • 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)                         *** *************************************************************** ***************************************************************/
Attached Files
File Type: sma Get Plugin or Get Source (GHW_Wall_Bullets.sma - 7461 views - 22.9 KB)

Last edited by GHW_Chronic; 02-11-2007 at 11:05.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:27.


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