Garry's Mod

Garry's Mod

[IV04] Stealth NextBots (Revamp)
 This topic has been pinned, so it's probably important
IvanVladimir0435  [developer] Dec 10, 2018 @ 7:02pm
How suppresed weapon detection works
They will react differently if the weapon was suppresed or not, there are, by default, some checks to know if a weapon is suppresed or not but you can manually add more.



There is a default list of weapons, to add a weapon to it just paste this in console
lua_run table.insert( surpressed_list, *the class of your weapon* )
like by example:
lua_run table.insert( surpressed_list, "weapon_pistol" )
they will investigate passively if the gunshot was from a surpressed weapon,
to remove a weapon
just type in console
lua_run table.remove( surpressed_list, *the class of your weapon* )
like by example
lua_run table.remove( surpressed_list, "weapon_pistol" )
and to see what weapons are in the list just type this in console
lua_run for _,i in pairs(surpressed_list) do print(i) end
This would print a list of weapons in the console so you can see if your weapon is there or not (keep in mind if a weapon has a suppressor then it should work without this, this is just in case it doesn't work)
Last edited by IvanVladimir0435; Jan 31, 2019 @ 4:00pm
< >
Showing 1-10 of 10 comments
Raven May 12, 2019 @ 6:25am 
wdym if it has a supressor, you mean cw2.0 supressors?
Raven May 12, 2019 @ 6:28am 
btw, the commands dont work.
IvanVladimir0435  [developer] May 12, 2019 @ 6:33am 
Originally posted by Donacdum:
wdym if it has a supressor, you mean cw2.0 supressors?
Yes
IvanVladimir0435  [developer] May 12, 2019 @ 6:34am 
Originally posted by Donacdum:
btw, the commands dont work.
They do work, you just aren't using them right
76561198934371899 Apr 23, 2021 @ 5:14am 
So they are compatible with CW2.0, but what about ArcCW? How do I make the suppressors in that work, because even with a suppressor on, they still get alerted. Sorry if I'm missing something, I'm not really knowledgeable about these things.
IvanVladimir0435  [developer] Apr 23, 2021 @ 5:46am 
Originally posted by Zipheon:
So they are compatible with CW2.0, but what about ArcCW? How do I make the suppressors in that work, because even with a suppressor on, they still get alerted. Sorry if I'm missing something, I'm not really knowledgeable about these things.
Actually, I haven't taken a look at ArcCW, it didn't exist bakc when this was made so I gotta update it
do tfa ins2 shared parts (the one where you can customize your tfa SWeps that are ins2 or EFT) work?
IvanVladimir0435  [developer] Sep 4, 2021 @ 8:46am 
Originally posted by Skin Tubby Dude:
do tfa ins2 shared parts (the one where you can customize your tfa SWeps that are ins2 or EFT) work?
I can't remember
Originally posted by Ivan04:
Originally posted by Skin Tubby Dude:
do tfa ins2 shared parts (the one where you can customize your tfa SWeps that are ins2 or EFT) work?
I can't remember
ill check if it does
Originally posted by Skin Tubby Dude:
Originally posted by Ivan04:
I can't remember
ill check if it does
doesnt seem like it.
< >
Showing 1-10 of 10 comments
Per page: 1530 50