Garry's Mod

Garry's Mod

NPC Prop Attacking & Breaching
118 条留言
FACE 11 月 14 日 上午 12:56 
Good boy
w.black57  [作者] 11 月 13 日 下午 7:08 
@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 11 月 9 日 上午 9:40 
Точнее NPC_TraceTimer, простите, ошибся
Ganzik 11 月 9 日 上午 9:39 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
FACE 11 月 8 日 上午 10:50 
A really good update would be to add an option to whitelist which NPC's have this ability
Andywinslow 10 月 14 日 下午 8:33 
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 10 月 8 日 上午 5:49 
can you add an option to make it only work with zombies???
pleb 9 月 29 日 上午 8:23 
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 9 月 26 日 下午 9:04 
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
baccabab 9 月 26 日 上午 9:30 
Ok
w.black57  [作者] 9 月 26 日 上午 9:25 
@baccabab

I've had more complaints attempting to do that. That was my first iteration and it really didn't work out properly. As of now this is the best setup i could do. You can decide to disable wblnhp_detectonlystaticprops to make them any prop in their way.
baccabab 9 月 26 日 上午 9:09 
Btw is it possible to just make that so they will breach only if something in their way? I mean they are just trying to find props for now, but u can make that so they will attack props if its on their way only. I mean if npc is walking, but something dont let him to go, he check if this is a prop_door_rotatiing or prop_physics and attack?
baccabab 9 月 24 日 上午 8:31 
ok
w.black57  [作者] 9 月 24 日 上午 7:29 
I forgot to edit the desc
w.black57  [作者] 9 月 24 日 上午 7:29 
@baccabab

wblnhp_detectdoors

Is already present
baccabab 9 月 24 日 上午 7:24 
It would be nice if u will add console command "wblnhp_attackdoors"
baccabab 9 月 24 日 上午 7:22 
wblnhp_detectonlystaticprops 1*
baccabab 9 月 24 日 上午 7:22 
This mod makes npcs just attack every props and doors. They dont react to enemies or anything else. I also used this command wblnhp_enablehatepropbreaching 1
So now they are attacking doors.
baccabab 9 月 24 日 上午 1:16 
They dont react to the anything else
w.black57  [作者] 9 月 10 日 下午 2:28 
@Gorigo

Ill see if I have time to check it out.
Gorigo 9 月 10 日 上午 10:46 
sadly they dont attack glass on some maps they want to go through (like breakable glass with ai nodes so after glass breaks npc can actually go through) like this map https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3535570381&searchtext=cloak
Cpt Zaku ᴰᵘᵏᵉ 9 月 3 日 上午 4:38 
This is just what I needed, if there's anything I wished could've been added is a setting to allow which NPCs can attack props, I was confused as to why Rebels were shooting cover. It'd be cool if you could choose who does attack props and who don't.
w.black57  [作者] 8 月 16 日 下午 5:59 
@Guy

No problem! Added in the FAQ for others too. :happyfaye:
Guy 8 月 16 日 下午 4:56 
OH thx
w.black57  [作者] 8 月 16 日 下午 4:22 
If you dont have simple prop damage:

Theyll keep attacking the prop. And since it never breaks, theyll never stop attacking it
w.black57  [作者] 8 月 16 日 下午 4:21 
@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 8 月 16 日 下午 3:56 
is there one that goes with destructible prop replacement?
w.black57  [作者] 8 月 16 日 下午 3:52 
Yep
Guy 8 月 16 日 下午 1:32 
does it need simple prop damage?
lmejia626 7 月 28 日 下午 5:00 
i cant get it to work
ColdCristal 7 月 6 日 上午 7:30 
best mod ty
Notispadiko 6 月 28 日 上午 5:41 
btw cool mod dude, keep it up :steamthumbsup:
w.black57  [作者] 6 月 26 日 下午 5:51 
@V1

As stated in the description, this is my best effort to do the behavior. I wouldn't mind if someone else would upload a better version where they don't attack loose props. :sadfaye:
bertyzy 6 月 26 日 下午 5:39 
This mod makes all the npcs attack props for no ♥♥♥♥♥♥♥ reason. Even tho if its not in their way. If its possible to go around it, they wont. They will hit the prop till it breaks.
w.black57  [作者] 6 月 19 日 上午 1:53 
@Notispadiko

INPC does alot of scripts on the npcs, in theory it might just end up them not attacking the prop at all due to overriding "commands" on the npcs.

so I'd say its not recommended, but feel free to try! :HappyElle:
Notispadiko 6 月 19 日 上午 12:19 
hey, will it work with ai mods for zombies, combines, ect ? like INPC
Evil Pongon Developer 6 月 11 日 上午 1:26 
yoooo peak
LarryDoodle 5 月 27 日 下午 8:50 
Sooooo.. The zombies attack ANY prop but if its like the metal fence-gate thingy it doesnt break?? yeah??
w.black57  [作者] 5 月 21 日 下午 2:16 
Yes
Bob. 5 月 21 日 上午 10:53 
can this work on doors too?
渚と汐 5 月 20 日 下午 3:58 
How did the corpse turn into a skeleton
w.black57  [作者] 5 月 17 日 下午 7:27 
@Chez

My mod just gives AI to the npcs, you can mix it with mods that affect the props. the Simple Prop Damage is just that so props have health and npcs can destroy it. If not installed it they will keep attacking it forever.

So to answer your question, probably it will work. Try it out! :happyfaye:
Cheesey 5 月 17 日 下午 7:18 
will this work with this? It seems like a great alternative to the prop damage. https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1364802216&searchtext=explosion+prop+unweld
Snekenjoyer6 5 月 12 日 上午 12:07 
is it an option to make it so that only zombies attack props?
w.black57  [作者] 4 月 22 日 下午 5:33 
@yakov

It will probably work since my mod just provides the AI. Not how props are destructible.
Just simply disable simple prop damage - Ultimate Destruction and enable that mod you are referring to. Although i can't gurantee it will work :slimehungry:
Farbott 4 月 7 日 下午 6:52 
♥♥♥♥ yourself

One thing I've noticed is they'll have problems with props in gaps in them sometimes, the big metal shelves (or short bedframes) can be a bit troubling for them to try and lock onto to get it out of the way
Hatshepherd 4 月 7 日 上午 7:20 
fartbott
Farbott 4 月 7 日 上午 7:18 
swag