Garry's Mod

Garry's Mod

2,773 ratings
Stealth 2.1 (Improved Stealth Mod)
4
2
5
7
6
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Cartoon, Realism
File Size
Posted
Updated
12.170 MB
12 Oct, 2016 @ 8:35am
16 Jul @ 10:10am
15 Change Notes ( view )

Subscribe to download
Stealth 2.1 (Improved Stealth Mod)

Description
Turns Garry's Mod into a (mediocre) stealth action game!

Originally by -|Sparky|-, then by MaxShadow; fixed up and reuploaded with their permission by TOASTEngineer, maintained by Hidden. Turkish translation by Tora, Spanish translation by Ryo567.


Instructions Manual__________________________

Settings Menu:
Check the first screenshot on this page; that's where the menu is. Everything inside has help text. If you'd like them translated to your language, you can make your own stealthmod.properties file. Upload it as an addon or contact us, and we'll add it officially if it's well made. We currently have EN, ES, PT-BR and TR.

Making NPCs and weapons work with this mod:
By default, this mod supports the stuff listed below in "Compatibilities". If you want more, go to the Server Settings menu (explained above) and scroll to the bottom. Again, there is help text there. The stuff that's supported by default won't appear on the lists. Attempting to add nextbots may or may not work, given their lack of needed functions.

Heads-up Display:
These instructions are for the default HUD. You may install a custom one.
The greyscale gauge shows how visible you are. The colored gauge shows how close you are to being spotted.
The arrow points to the enemy that is most likely to spot you.
The circle shows your status. This can be green (Calm), red (Alert) or flashing yellow (Evasion).


Gameplay:
You can actually be sneaky now: Moving slowly, keeping your distance, lowering your stance, being quiet, staying in the dark, and even painting yourself to match your surroundings will make it harder for enemies to notice you.
Enemies will check suspicious sounds and any bodies you leave behind (if Keep Corpses is on). You can put them to sleep and move their bodies to hide them.
You can disguise yourself as enemies, but that feature is still in experimental phase.
There are some cool gadgets too: a throwable proximity sensor, which shows enemies through walls, a tranquilizer gun and a stun baton, for knocking enemies out, a decoy grenade, which makes a distracting sound, and an invisibility cloak, which does what the name says (and needs a keybind), but burns through your suit energy and doesn't make you silent.
If an enemy spots you, they'll call for backup, causing an Alert.
If you break line of sight with all your assailants, you go into Evasion. Avoid detection for some time and they'll call off the search and become Calm again, albeit more careful now that they know you're around.


Compatibilities_______________________________
NPCs:
  • Combine Soldier
  • Metropolice

Weapons:

Other:

If you're a modder and want to support this in your custom HUD, you can use the "stealthmod" global table:
-stealthmod.enablehud: (0 to 3) 0 disables the default HUD, 1 to 3 set it's style.
-stealthmod.luminocity: (0 to 255) Stores how visible LocalPlayer() currently is.
-stealthmod.alertdanger: (0 to 255) How close LocalPlayer() is to detection.

Known Issues__________________________________
Obviously, don't use other versions of this mod along with it.

Anti-FriendlyFire mods and any mods that change NPC relationships will break this, since it works by making enemies friendly until they're supposed to see you.

Some players reported being totally invisible to NPCs. I never ran into this bug, need more info.

Enemies may ignore other NPCs upon seeing you. Probably hardcoded behaviour.

Atmos lighting does affect visibility, but it's finicky.
Popular Discussions View All (50)
13
17 Feb @ 6:47pm
Help Needed!: Add-on is in an almost unplayable state due to a major bug! (on my end)
jamba
6
9 Mar @ 1:18pm
Need Help! Combine Don't move
luki
3
16 Feb @ 7:24am
Compatible with INPC?
waffles
1,171 Comments
Hidden  [author] 18 Jul @ 10:05am 
Wait, only MW base guns? With the way the code is structured, any gun would've caused the error. It's caused by not having "stealth_alertondamage" enabled.
Flamingofox3056 17 Jul @ 9:57pm 
I tried normal guns and its fine, but using the MW guns you get the message below (or at least I did)
Flamingofox3056 17 Jul @ 9:56pm 
[Stealth 2.1 (Improved Stealth Mod)] lua/autorun/server/stealth.lua:1314: attempt to call method 'DistToSqr' (a nil value)
1. v - lua/autorun/server/stealth.lua:1314
2. unknown - lua/includes/modules/hook.lua:102
3. FireBullets - [C]:-1
4. Bullets - lua/weapons/mg_base/modules/shared/sh_primaryattack_behaviour.lua:373
5. OnSet - lua/weapons/mg_base/modules/shared/tasks/task_primaryfire.lua:128
6. TrySetTask - lua/weapons/mg_base/modules/shared/sh_tasks.lua:84
7. Think - lua/weapons/mg_base/modules/shared/tasks/task_trigger.lua:42
8. TickTasks - lua/weapons/mg_base/modules/shared/sh_tasks.lua:95
9. unknown - lua/weapons/mg_base/modules/shared/sh_think.lua:17
Flamingofox3056 17 Jul @ 9:25pm 
Thank you so much!
Hidden  [author] 17 Jul @ 7:21pm 
That's an oversight on my part. Hotfix incoming.
Flamingofox3056 17 Jul @ 6:53pm 
so I turned off all my mods, when I shoot a combine I get the following message

[Stealth 2.1 (Improved Stealth Mod)] lua/autorun/server/stealth.lua:1314: attempt to call method 'DistToSqr' (a nil value)
1. v - lua/autorun/server/stealth.lua:1314
2. unknown - lua/includes/modules/hook.lua:102

what does this mean? is it a bug?
Flamingofox3056 17 Jul @ 6:45pm 
I genuinely got no clue what could be causing this, unless it doesnt like modern warfare weaponry?
Flamingofox3056 17 Jul @ 6:44pm 
what does

[Stealth 2.1 (Improved Stealth Mod)] lua/autorun/server/stealth.lua:1314: attempt to compare nil with number
1. v - lua/autorun/server/stealth.lua:1314
2. unknown - lua/includes/modules/hook.lua:102
3. FireBullets - [C]:-1
4. Bullets - lua/weapons/mg_base/modules/shared/sh_primaryattack_behaviour.lua:373
5. OnSet - lua/weapons/mg_base/modules/shared/tasks/task_primaryfire.lua:128
6. TrySetTask - lua/weapons/mg_base/modules/shared/sh_tasks.lua:84
7. unknown - lua/weapons/mg_base/shared.lua:562

mean?
Hidden  [author] 17 Jul @ 3:56pm 
Their vision is reduced when trying to see objects that are in the dark. If the NPC is in a dark place but looking somewhere bright, they'll see just fine.
fuct 17 Jul @ 1:21pm 
are the enemies vision reduced if they are in a dark area?