Garry's Mod

Garry's Mod

[WIP] iNPC Opti+ (optimised and expanded)
98 Comments
Fizzenberg 25 Jul @ 2:58pm 
new july 23rd update introduces some interesting bugs, like the resistance turret not shooting at combine or shooting their own friendlies (does not happen with inpc disabled). same with the hacked rollermine, but they do target the enemy rebel as intended
4thsword 25 Jul @ 8:40am 
finally find out where that fucking airstrike com from
peanut 18 Jul @ 9:10am 
Chronically Online Drakobloxxer, or you can just disable airstrike chance to 0
DarkVoid 9 Jul @ 11:03pm 
I know you're probably not gonna read this but could you just fucking remove the airstrike or atleast set it to 0 by default
For anyone complaining about the airstrikes, type "inpc_airstrike_chane 0" in the console to disable it.
golf trophy 2 Jul @ 9:50am 
This is not a virus. I just decompiled the gma and skimmed the entire Lua source code and didn't see anything fishy. In fact the code is quite good and well-optimized especially considering this is an iNPC refactor. Outside of lua, there's only a sounds folder which contains the airstrike audio. No materials for jumpscares, no lua for backdoors etc.
Bad Goose 30 Jun @ 6:51pm 
Private profile very sus. Possibilities of mod being a virus 99.5%
Dante 29 Jun @ 11:59pm 
remove the dogshit air strikes
multoman 24 Jun @ 7:08pm 
kinda hoping to have the airstrikes as an individual addon
M.A.S.Y.A. 11 Jun @ 2:26pm 
Does not work
JusticeBoomer 11 Jun @ 12:32pm 
No longer works
Igni et Ferro 6 Jun @ 6:20am 
How can I turn off Airstrikes?
Igni et Ferro 5 Jun @ 11:58am 
How can I turn off Airstrikes?
Zesty FlopBot 25 May @ 5:05am 
when update
TheDesertRoad 23 May @ 8:56pm 
and how do i disable the "add to squad" message?
TheDesertRoad 23 May @ 8:46pm 
is there any way to change a npc faction?
puddles 21 May @ 4:50pm 
My npcs don't patrol at all.
Linked 20 May @ 10:06pm 
Scratch that, the original addon does the strider thing too...
Linked 20 May @ 8:38pm 
And it's just named 'Other'
Linked 20 May @ 8:38pm 
Also, the unknown error has this error code:
AddCSLuaFile: Couldn't find 'weapons/make_mobile/shared.lua'
Linked 20 May @ 8:36pm 
Update again: I used the original iNPC and I don't the random unknown error and no invisible striders spawn anymore.
Linked 20 May @ 8:34pm 
Also, I noticed that there was a constant error where some unknown script would make errors. It didn't give info. However after disabling your addon it went away...
Linked 20 May @ 8:31pm 
I was having an issue where a invisible strider would be somewhere. The way I found out was because rebels starting shooting at the air while yelling striders. (Though it was quite funny seeing them give it their all to fight air). And recently I was disabling addons slowly to see what it was, and it turned out to be this addon which was causing the invisible entity to appear.
Elu 16 May @ 12:32pm 
Airstrikes can be disabled in settings, but I had no idea this addon spawned them. Sure, it's in the description, but I think it should be set to 0 by default because it's just a bit confusing.
CEMA_PRo4_CAT_brick#fixtf 11 May @ 6:41am 
the fuck is air strike:GDHarder:
dude 3 May @ 9:58am 
works with 64 bit branch?
3uz-fe_4.3_V8 30 Apr @ 1:47am 
AddCSLuaFile: Couldn't find 'weapons/make_mobile/shared.lua'

hell nah i had the same error as the other dude aswell
Unusable Consumables 25 Apr @ 12:27pm 
Just go to the INPC tab in Options and click Opti+ then just make the Airstrike Value to Zero.
Pirapea 22 Apr @ 9:10am 
this mod will randomly spawn airstrike, don't use.
Borgar 2 The Second 18 Apr @ 6:16pm 
OOOOOOOOOOHHHhh... this IS the mod that's been air striking me randomly.
Cain 18 Apr @ 2:17pm 
[[WIP] iNPC Opti+ (optimised and expanded)] lua/autorun/server/sv_inpc.lua:825: attempt to index a nil value
1. fn - lua/autorun/server/sv_inpc.lua:825
2. Call - lua/ulib/shared/hook.lua:109
3. PriorToKilled - lua/entities/npc_vj_creature_base/init.lua:3022
4. unknown - lua/entities/npc_vj_creature_base/init.lua:2923
5. FireBullets - [C]:-1
6. unknown - lua/weapons/tacrp_base/sh_shoot.lua:342
faith 17 Apr @ 1:29pm 
SO THAT WEIRD NOISE I KEPT HEARING WAS FROM THIS WHAT
ink05448 17 Apr @ 4:57am 
AddCSLuaFile: Couldn't find 'weapons/make_mobile/shared.lua'
why
Hornet & Lace 16 Apr @ 9:20am 
чувак продолжай улучшать этот прекрасный аддон он просто превосходен с ним можно столько всего уже сделать что просто голова взрывается от удовольствия наблюдать за всем этим:physgun:
VΞXPUNCH 15 Apr @ 8:57pm 
@mr_pixel92 it was a huge bug the original INPC had where basically any rebel variant of a combine npc (such as the rebel turret) would be hostile towards you, although i haven't experienced the bug with this version of INPC so i think its all good
Wiremod Maxxing 15 Apr @ 2:19pm 
WHY IS THERE AIR STRIKES
melomelo 15 Apr @ 12:23pm 
also, sry if this is a backread, but is this compatible with the better ai mod?
melomelo 15 Apr @ 12:22pm 
did someone use nested loops in the code which is why it sucked ass? lol
tuna7777 14 Apr @ 10:08am 
@George Floyd I think it was the "airstrikes" that this mod added also happend to me
mr_pixel92  [author] 14 Apr @ 5:52am 
@jacketclc I have never experienced this bug, how did you cause it?
mr_pixel92  [author] 14 Apr @ 5:51am 
@LEATHERFACE no you don't
George Floyd 13 Apr @ 10:36pm 
i was wondering why i was having weird noises while peacefuly playing my game then getting bombs on my head, it was because this addon
Gorigo 13 Apr @ 9:59pm 
(Almost compatible with realistic combine ai) - lie, they work very very poorly
StrikeGuy 13 Apr @ 4:31pm 
I think there may be a bug in the ragdolls keep disappearing despite disabling ragdoll and decal cleanup.
0NESHOTZXS 13 Apr @ 7:31am 
this is fire
jobbieguy91 13 Apr @ 6:44am 
do you need the og inpc or just this?
VΞXPUNCH 12 Apr @ 7:49pm 
does this fix the bugs the old INPC had? like friendly varients of npcs shooting you
Specneo 12 Apr @ 5:06am 
ZBase is not compatible either.
bad335028 12 Apr @ 2:51am 
Does this effect vj base npc?
RALF! 12 Apr @ 12:26am 
@General Malcome Granger i think that happens too in the original INPC