Garry's Mod

Garry's Mod

509 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
21.656 KB
22 Mar @ 12:35am
29 Aug @ 8:12am
6 Change Notes ( view )

Subscribe to download
NPC Prop Attacking & Breaching

In 1 collection by w.black57
WeMods
19 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 Simple 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 some doors
- Command console: wblnhp_enablehatepropbreaching (1 by default) to enable/disable prop breaching

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
noob_dev2323 - Simple 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

96 Comments
w.black57  [author] 16 Aug @ 5:59pm 
@Guy

No problem! Added in the FAQ for others too. :happyfaye:
Guy 16 Aug @ 4:56pm 
OH thx
w.black57  [author] 16 Aug @ 4:22pm 
If you dont have simple prop damage:

Theyll keep attacking the prop. And since it never breaks, theyll never stop attacking it
w.black57  [author] 16 Aug @ 4:21pm 
@Guy

Actually it is not really needed to have that mod. I just say its needed so npc can actually break the prop. My mod simply tells npc to attack the props. And if the prop is destructible anyways, you dont need the simple prop damage
Guy 16 Aug @ 3:56pm 
is there one that goes with destructible prop replacement?
w.black57  [author] 16 Aug @ 3:52pm 
Yep
Guy 16 Aug @ 1:32pm 
does it need simple prop damage?
lmejia626 28 Jul @ 5:00pm 
i cant get it to work
ColdCristal 6 Jul @ 7:30am 
best mod ty
Notispadiko 28 Jun @ 5:41am 
btw cool mod dude, keep it up :steamthumbsup: