Garry's Mod

Garry's Mod

[IV04] Stealth NextBots (Revamp)
 Ce sujet a été épinglé, cela doit être important
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)
Dernière modification de IvanVladimir0435; 31 janv. 2019 à 16h00
< >
Affichage des commentaires 1 à 10 sur 10
wdym if it has a supressor, you mean cw2.0 supressors?
btw, the commands dont work.
IvanVladimir0435  [dév.] 12 mai 2019 à 6h33 
Donacdum a écrit :
wdym if it has a supressor, you mean cw2.0 supressors?
Yes
IvanVladimir0435  [dév.] 12 mai 2019 à 6h34 
Donacdum a écrit :
btw, the commands dont work.
They do work, you just aren't using them right
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  [dév.] 23 avr. 2021 à 5h46 
Zipheon a écrit :
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  [dév.] 4 sept. 2021 à 8h46 
Skin Tubby Dude a écrit :
do tfa ins2 shared parts (the one where you can customize your tfa SWeps that are ins2 or EFT) work?
I can't remember
Ivan04 a écrit :
Skin Tubby Dude a écrit :
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
Skin Tubby Dude a écrit :
Ivan04 a écrit :
I can't remember
ill check if it does
doesnt seem like it.
< >
Affichage des commentaires 1 à 10 sur 10
Par page : 1530 50