Garry's Mod

Garry's Mod

593 ratings
Universal Bullet Penetration
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
Content Descriptors: General Mature Content, Frequent Violence or Gore
File Size
Posted
Updated
6.316 KB
17 May, 2023 @ 1:01pm
25 May, 2023 @ 7:02am
6 Change Notes ( view )

Subscribe to download
Universal Bullet Penetration

Description
A small addon that adds CS:GO-esque bullet penetration to existing weapons.

Also available on Github[github.com]

Features
  • Supports (almost) every weapon
  • More damage = more penetration
  • Different surfaces have different densities and different results
  • Damage decreases as bullets travel through objects

Please keep in mind that this is a very quick-and-dirty addon and I haven't tested support for the more complex weapon bases like TFA or ArcCW. It might work, it might not, only one way to find out.

Convars
These options can be changed through the spawnmenu in the options tab.
  • ubp_enabled - Enables or disables the addon entirely
  • ubp_penetration_multiplier - A multiplier for how hard a bullet penetrates through materials
  • ubp_damage_multiplier - A multiplier for how much damage is lost after penetration
  • ubp_shotguns - Whether penetration applies to shotguns (or any other weapons that fire more than one shot at a time, might be buggy due to some workarounds that had to be applied because source)]
  • ubp_alive - Whether bullets can penetrate through living things (players and NPC's)

Compatibility
Some weapon bases either ship with their own penetration system or are incompatible out of the box. The convars below let you disable the addon for those bases, developers can do this themselves as well by setting UBPDisable = true on their weapon either in the SWEP table or before firing their bullets.
70 Comments
Arsentabis© 3 Jul @ 5:16pm 
doesnt work even with hl2 guns
BλERREY 13 Jun @ 11:13am 
theres only 2 differences with NextKurome76TheSoldier's UBP and TankNut's UBP mod.
-a Bullet Hole after penetrating a wall (small detail)
-NPCs can Penetrate Walls
Jack MeHoff 28 May @ 1:07am 
Basically with ArcCW guns it can penetrate through one metal object (tested with Gmod metal pallet) but cant penetrate more than one no matter if the gun is AP,Overpressured,Deep rifled etc attachments which is not realistic at all and makes this mod not work properly with ArcCW guns!
(I know he said he hasnt tested but since i did... basically it doesnt work with complex weapon bases like ArcCW).
as of 2025 this doesnt work
washer28 4 May @ 8:32am 
@portable fridge this is for hl2 weapons, that have small dmg
PORTABLE FRIDGE 28 Feb @ 1:58pm 
this shit shoot though all walls on map
[Mr.Bunny] 16 Feb @ 2:45pm 
DON'T INSTALL IF YOU HAVE A WEAK PC
ant2137 9 Feb @ 8:18am 
this mod breaks vj base
Snowy 12 Dec, 2024 @ 1:48pm 
seems it breaks enhanced blood effects; only creates blood particles when shot with a high damaging weapon such as crossbows or shotgun rmb
I hit jellyfish with hammers 2 Oct, 2024 @ 2:23pm 
@J0-E bro that's pretty fuckin obvious, gmod is an unstable game, don't do game breaking things if you don't wanna break the game