Stealth 2.1 (Improved Stealth Mod)

If you liked this item, please rate it up on Steam Workshop page.

Authors: TOASTEngineer, ( λ ) Hidden

Last revision: 26 Jun at 18:05 UTC

File size: 13.21 MB

On Steam Workshop

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.

Instructions Manual__________________________

DO NOT install other versions of this mod, they will break eachother.

Settings Menu:

In the top-right corner of the spawnmenu (hold Q), go to the Options tab, then Stealth Mod.
The client settings let you change how you see and hear the mod’s features. MUSIC CONTROLS HERE.
The server settings let you change the mod’s behaviour in general.

Making NPCs and weapons work with this mod:

By default, there is support for the NPCs and weapons listed below in the Compatibilities section. If that’s not enough for you, go to steamapps/common/GarrysMod/garrysmod/data/stealth, where you will find these files:

  • ignoresounds.txt (has the sounds that NPCs will ignore)
  • npc.txt (has the NPCs that will be affected by this mod)
  • silent.txt (has the weapons that aren’t supposed to make any sound)
  • suppressed.txt (has the weapons that have suppressors, or just need to be quieter)

If you want to add to "npc", "silent" or "suppressed", browse the spawnmenu for the weapon/NPC you want, right click it, select "Copy to clipboard", paste it in the correct list and save the file.
For "ignoresounds", turn on the setting "Dump sound names" in the server settings menu, play the sound you want, open the console and copy the sound’s name or full address.
In both cases, each entry must be in a new line, with no spaces.

Heads-up Display:

There are two gauges, a circle and, sometimes, an arrow around the circle.
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:

Enemies will have a harder or easier time finding you depending on what you do. Moving slowly, keeping your distance, lowering your stance, being quiet, staying in the dark and even picking a playermodel color that matches the surface you’re on will make it harder for them to see you.
Enemies will also investigate suspicious sounds and any bodies you leave behind (if Keep Corpses is on), so be careful. You can put them to sleep and drag their bodies to better places.
The mod comes with a small set of tools to help you: a proximity sensor, which can be thrown and will show enemies through walls, a tranquilizer gun and a stun baton, which put enemies to sleep, a decoy grenade, which emits a sound to distract them, and an invisibility cloak, which can be used by binding a button for it and pressing it. NPCs won’t see you when you’re cloaked unless you attack them, but it burns through your suit energy (armor). They can still hear you moving too.
If an enemy spots you, they’ll call nearby colleagues for backup. This makes them go into Alert mode.
If you break line of sight with everyone chasing you, you go into Evasion mode. If you manage to stay hidden for some time they’ll call off the search and go back into Calm mode, albeit more carful 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: (bool) Enables or disables the default HUD.
-stealthmod.luminocity: (0 to 255) Stores current brightness of LocalPlayer()
-stealthmod.alertdanger: (0 to 255) Stores current alert danger of LocalPlayer()

Known Issues__________________________________

This mod is not compatible with Anti-FriendlyFire mods, nor any mods that change NPC relationships, since it works by making enemies friendly until they’re supposed to see you.

Some players reported NPCs being unable to see them at all. Worked fine in my testing, still need to figure out what’s going on.

Enemies may ignore other NPCs when they detect you. Still don’t know why this happens.

Atmos lighting does actually affect the light level seen by the stealth system but it acts really weird; stand somewhere in sunlight where the light meter is at half-way and set the day and night length really short and you can see the meter move. I’m still trying to figure out how I can make it work a little better.