Garry's Mod

Garry's Mod

571 ratings
NPC Prop Attacking & Breaching
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
40.218 KB
Mar 22 @ 12:35am
Nov 15 @ 4:15pm
12 Change Notes ( view )

Subscribe to download
NPC Prop Attacking & Breaching

In 2 collections by w.black57
WeMods
28 items
Pseudo-Zombie Survival PvE
13 items
Description
Update as of 08/30/2025

- Improved prop detection
- added new console command wblnhp_detectonlystaticprops (1 by default), in which it detects only welded and frozen props.
- They are now more aggressive in attacking props so I suggest keeping wblnhp_detectonlystaticprops to 1.
- The new console command will now prevent npcs from randomly attacking loose props

*****************************************************************************

You think freezing props around you will keep you safe from npcs? Think again!

About the Mod
A Simple mod that will make npcs attack props (until it is destroyed) if it is in their way of their actual target. So barricading against npcs can actually be a thing! (Zombie Survival experience in Sandbox :3). Uses Simple Prop Damage - Ultimate Destruction and Destructable Doors

Features
- NPCs will detect props in their way and shoot it, if it is in their way. (If they don't have any other path to you)
- Should work on most HL2 Basic NPCs not just zombies
- Barricade by freezing, weld, nail props and see them try to breach through!
- Should work on doors
- Specific NPC can be Whitelisted/Blacklisted to be affected by the mod
- Config can be accessed at Spawnmenu -> Options -> WeTools -> NPC Prop Attack Options

Does it really need simple prop damage/breakable doors mod?
- Yes and No
- My Mod simply tells npcs to attack the props, and if props dont break it will make them attack it forever.
- So yes if you want all props to break and not make the npc attack a single prop forever.
- And No if by default the props theyll be attacking is already destructible. Or if you want them to play soccer with an indestructible prop, I wouldnt stop you hehe.

Does it work with Combine, Resistance, Antlions too?
- Yes should work on them too, other npc bases might not work but i might add compatibility

Why are they attacking loose props?
- I highly suggest keeping wblnhp_detectonlystaticprops to 1 so they will only target frozen/welded props.
- unless you want them to attack the lose props for fun

Highly Recommended with NPC No Collide Each Other!


Other Recommended Mods
Zombie Survival Weapons & Melee for Sandbox (Highly recommended, the barricade system is fun to play with!)
Barricade SWEP
Sandbox Notoriety | Wanted System
Sandbox Weapon Shop and Money System
Simple Horde Mode for Sandbox
NPC Attack Point
And maybe try spawning in other people's duplicates and stay inside. Now you can really test if they're dupes are actually a safe shelter. :P


Like and Favorite if you loved it! ^w^



Check out my other mods!

Donation would be appreciated for my work ^_^

Credits:
xyzzy - Simple Prop Damage - Ultimate Destruction
Exhor - Destructable Doors
ChatGPT - Mod Developing assistant


Have fun Surviving the fights!

tags: prop_physics, breach, attack, hate, survival, barricade, fortify, fortress, duplicate, dupe, zs, zombie survival

119 Comments
FACE Nov 14 @ 12:56am 
Good boy
w.black57  [author] Nov 13 @ 7:08pm 
@FACE
@Andywinslow
@Remnλnt

I have updated the mod to have whitelisting/blacklisting of NPCs in the config
Access it in Spawnmenu -> Options -> Wetools -> NPc Prop attack options

Enjoy :happyfaye:
Ganzik Nov 9 @ 9:40am 
Точнее NPC_TraceTimer, простите, ошибся
Ganzik Nov 9 @ 9:39am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
FACE Nov 8 @ 10:50am 
A really good update would be to add an option to whitelist which NPC's have this ability
Andywinslow Oct 14 @ 8:33pm 
Question, How to make the hl2 rebels npc to not attack prop. am trying to do a zombie survival for sandbox and they keep shooting the prop the only ones i want to attack the prop this the zombies?
Remnλnt Oct 8 @ 5:49am 
can you add an option to make it only work with zombies???
The Cat Sep 29 @ 8:23am 
excuse me metrocop please stop shooting the stupid box and shoot me, please? i mean... i knew the hl2 NPC's are stupid but i didn't think they were THIS dumb.
hntrrandal Sep 26 @ 9:04pm 
i used a stealth mod to hide from the combine around the never lose hope hospital and there was a mass shooting inside because of some galss panel