Garry's Mod

Garry's Mod

Crowd Panic
325 Comments
ogrishmane 1 hour ago 
Alright thank you
MADJACK911  [author] 1 hour ago 
Any mods that has to do with npcs, changing their behavior and anything like that, I can't give any precise addons though
ogrishmane 1 hour ago 
what kind of mods usually conflict with it?
MADJACK911  [author] 14 hours ago 
No they also panic when shooting in the air close, I checked so maybe you have something conflicting
ogrishmane 18 hours ago 
They only panic if I shoot a civilian or kill a civilian
MADJACK911  [author] Jul 16 @ 3:11pm 
they do, try another map if it doesn't work
I use Arch, btw Jul 16 @ 2:35pm 
They dont run away, they just scream
MADJACK911  [author] Jul 14 @ 10:14am 
when downloading? if so that's a gmod issue no me :/
бешеный кот Jul 14 @ 9:09am 
failed to parse addon file (wtf)
MADJACK911  [author] Jul 14 @ 3:52am 
alright no problem glad for you man
:{P1}:Skully8600 Jul 14 @ 2:54am 
im gonna be real that mod is pretty bad anyways so i'll glady uninstall it to use this one
MADJACK911  [author] Jul 14 @ 2:41am 
yes because it overrides the default npc's actions
:{P1}:Skully8600 Jul 14 @ 1:37am 
the mod seems to be incompatable with this mod https://steamcommunity.com/sharedfiles/filedetails/?id=1762809088 Enhanced Citizens Replacer Scripts
MADJACK911  [author] Jul 13 @ 3:24pm 
it works give error if not
NR1GAYKILLA Jul 13 @ 3:03pm 
wont work
MADJACK911  [author] Jul 12 @ 6:06am 
Maybe they react to bullets and damage, maybe they do never really tried, if they don't tell me it may be a good idea to add that
я на сваге нах Jul 11 @ 10:35pm 
NPC with this mod reacting to explode?
MADJACK911  [author] Jul 10 @ 4:16am 
Should be fixed
ChillyPigeon742 Jul 9 @ 8:29am 
[Crowd Panic] lua/autorun/crowd_panic.lua:57: attempt to call method 'DropWeapon' (a nil value)
1. triggerPanic - lua/autorun/crowd_panic.lua:57
2. fn - lua/autorun/crowd_panic.lua:140
3. unknown - lua/ulib/shared/hook.lua:109
4. FireBullets - [C]:-1
5. DoProjectileAttack - lua/weapons/arc9_base/sh_shoot.lua:710
6. DoPrimaryAttack - lua/weapons/arc9_base/sh_shoot.lua:516
7. unknown - lua/weapons/arc9_base/sh_shoot.lua:341
MADJACK911  [author] Jul 5 @ 12:21am 
Yes I know and I can't do much about it, they must not grab weapons
progatox355 Jul 4 @ 2:42pm 
when a citizen grab a weapon from the ground make them dont panic pls :steamsad:
MADJACK911  [author] Jul 3 @ 6:12am 
what do you mean make it work for gbombs and hbombs? these are different types of addons
_SiLdI_ Jul 3 @ 3:55am 
why npc when panic run to me?
neutral_gang Jul 2 @ 7:50pm 
could you make it work for like normal explosions and also maybe support for GBombs and Hbombs
MADJACK911  [author] Jun 29 @ 3:32pm 
You want the refugess not to panic? Read the description:
"Don't want refugees to panic? Set the "crowd_panic_refugees" convar to 0."
<color=#d9bc6c>Cruz</color> Jun 29 @ 1:54pm 
I really don't want to make refugees not panic in code. Its a hassle. Please update.
FlexAir Fan Numba Oneeeee!! Jun 23 @ 8:25am 
still a good addon
Tribe Reimanen Jun 22 @ 8:56am 
I dont understand why sometimes the fleeing works and sometimes it just doesnt.
MADJACK911  [author] Jun 18 @ 2:04pm 
Yeah actually I think it's possible, but right now I can't really do much updates but I can assure that in the next week or the week after I'll update this addon to feature this and Potato's gaming idea (maybe)
PK Jun 18 @ 1:06pm 
You should add it so that randomly, some NPCs don't panic and instead try and be brave and get a run to the nearest weapon. (Of course, this should be quite rare as it barely actually happens)
MADJACK911  [author] Jun 9 @ 2:26am 
I could put it directly in this addon but alright, and I'll fix the error hyperborean spainard
Potato Gaming Jun 8 @ 2:50pm 
Make another mod where if an citizen see's another citizen but dead, they will throw up and run away, or just run away.
[Crowd Panic] lua/autorun/crowd_panic.lua:57: attempt to call method 'DropWeapon' (a nil value)
1. triggerPanic - lua/autorun/crowd_panic.lua:57
2. v - lua/autorun/crowd_panic.lua:140
3. unknown - lua/includes/modules/hook.lua:102
4. FireBullets - [C]:-1
5. DoProjectileAttack - lua/weapons/arc9_base/sh_shoot.lua:710
6. DoPrimaryAttack - lua/weapons/arc9_base/sh_shoot.lua:516
7. unknown - lua/weapons/arc9_base/sh_shoot.lua:341


What is this error?
MADJACK911  [author] Jun 2 @ 12:18pm 
I could do this to make then run away but I can only use the default sequences for the npcs, and I think this one is the best for this case
Look, i dont know anything about modding but i suggest you add more voicelines. Make them run the nodegraph AWAY from the hostile instead of random directions.
MADJACK911  [author] May 30 @ 2:36am 
Is there an error? If yes give the error, otherwise try another map or disable conflicting addons because I don't think it's the addon's fault.
fartimpson May 29 @ 6:07pm 
they dont run but they scream
MADJACK911  [author] May 24 @ 1:31pm 
should work on any map tho
MADJACK911  [author] May 24 @ 1:31pm 
it uses the default hl2 npcs sequences, if i recall it's not a navmesh but a nodegraph
Broig_Master May 24 @ 1:23pm 
is there any map requirements for this mod? (ie navmesh or whatever)
MADJACK911  [author] May 23 @ 9:53am 
Done, try setting crowd_panic_sounds to 0 in the console
MADJACK911  [author] May 23 @ 9:50am 
No but I'll add a convar right away
MADJACK911  [author] May 23 @ 9:50am 
you mean so they shut up?
TWITZ May 23 @ 6:31am 
is there a way to make them stop screaming a hundred million times over and over?
I shoot one and they all say "oh no" a billion times
MADJACK911  [author] May 10 @ 2:54am 
yes it's normal it only works on hl2 citizens
HorthyMiklos May 10 @ 2:29am 
only on half life 2 citizens
HorthyMiklos May 10 @ 2:28am 
this mod dosent work for me
MADJACK911  [author] Apr 27 @ 5:03am 
probably works with other npc ai addons but not all
Cube Guy Apr 26 @ 11:02pm 
is this compatible with the other NPC AI mods?
MADJACK911  [author] Apr 20 @ 1:44am 
it's made using chatgpt bruh