Garry's Mod

Garry's Mod

166 ratings
Luna's detection & assault system
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun
File Size
Posted
Updated
22.468 MB
5 Apr @ 8:35am
24 May @ 9:13am
27 Change Notes ( view )

Subscribe to download
Luna's detection & assault system

Description
Payday2 Inspired detection & assault System for Combines/Metrocops and other npcs (Prototype)

KEEP CORPSES NEEDS TO BE ON FOR BODY DETECTION AND DISGUISES

A Payday2-inspired detection & assault system for npcs, allowing them to detect corpses, react to alerted comrades, and hear gunshots from alerted npcs or player themselves. I tried optimising it as much as i am able to

Compatibility Warning
This addon modifies NPC relationships.
Any other addon that changes or resets NPC relations will conflict and break this system
VJ is partially supported for already hostile VJ npcs
Custom chat addons might break settings panel

Do not hesitate to comment, i appreciate to hear ideas / problems

Features:
Detection system inspired by Payday2
Assault system inspired by Payday2
Disguise system inspired by entry point
Unequip weapon system (experimental)
+High customizability via bindable settings
NPCs detect corpses left behind by players or other NPCs (customizable)
NPCs will notice when alerted comrades are nearby
Guns alert NPCs or raise their detection by choice
Customizable Assault waves + Npc / ragdoll / prop list customization
Many various entities like: Trash bin, Objectives for assault, Assault finish point, metal detector, drillable door with drill, medkit and ammo bag

(heavily suggested addon: Draggable ragdolls https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2938010635)
want to try it out on proper map? here is it https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2730894604&searchtext=stealth

Settings
luna_detection_settings
(you may want to bind it, like: bind KEY luna_detection_settings)


Assault special commands
StartAssault
EndAssault (back to normal)
Assault commands
luna_assault_enabled (Default value: false (0))
luna_assault_delay (Default value: 30)
luna_assault_control_time (Default value: 30)
luna_assault_anticipation_time (Default value: 60)
luna_assault_wave_interval (Default value: 15)
luna_assault_min_spawn_distance (Default value: 1500)
luna_assault_max_spawn_distance (Default value: 4500)
luna_assault_loud_time (Default value: 180)
luna_assault_spawn_batch (Default value: 2)
luna_assault_health_modifier (Default value: 20)
luna_assault_anticipation_health_modifier (Default value: 10)
luna_assault_music_enabled (Default value: false (0))

Known Issues:
some maps that have pre-spawned npcs might not have detection system at first, cleanup to fix
bonemerged stripped models of npcs are quite of buggy


Last update
Ability to hear explosions
Ability to lure npcs (mostly half life 2 / VJ ones, customizable) (EXPERIMENTAL)
Ability to rotate towards sounds / player (EXPERIMENTAL)


Last patch
Better VJ base npc handling
Better incompatible npc handling
(most likely) fixed the Civilian mode issue ruining whole addon
readded ability to see alerted comrades with some customizability


Let me know if there are any bugs, ill try to quickly fix them


Additional Notes:
This is a prototype version
If you want your own custom music, go to Steam\steamapps\common\GarrysMod\garrysmod\data\luna_data\sounds, paste your mp3 or wav here, then in the game, go to music settings and select music you have dropped into folder, enjoy!

Credits to Luna aka ShiverMeTimbers (me) and Watermelon assault

(I genuinely appreciate on how addon has raised to staggering 1150 subscriptions, that is incredible for the first addon of mine, Sincerely Luna ;3)

tags: payday2 payday stealth hide metrocop combine alert detection disguise ambience custom battle battleground immersive cool hide medic bag combat kill pay day loud assault raid overwatch funny metal gear solid razormind
93 Comments
:/ 10 Jul @ 10:00am 
entry point in gmod
The POSTAL Dude 9 Jul @ 9:49pm 
NPCs don't attack me or go into assault mode when I'm detected visually, then I get this error:

[Luna's detection & assault system] lua/autorun/server/luna_detection_server.lua:760: attempt to call global 'SafeIsPlayerInCivilianMode' (a nil value)
1. UpdateNPCDetectionLevel - lua/autorun/server/luna_detection_server.lua:760
2. unknown - lua/autorun/server/luna_detection_server.lua:2192

Timer Failed! [NPCDetectionTimer][@lua/autorun/server/luna_detection_server.lua (line 2249)]
KURWA 7 Jul @ 5:56am 
THIS SHIT IS FIRE i have never had more fun with gmod stealth ever i fucking love this mod and sneaking around like solid snake
Orion 2 Jul @ 8:35pm 
how do i bind this to a key-bind when wanting to take enemy disguises?
Boston 29 Jun @ 3:35pm 
this mod is suck it messup my reskin weapon
76561199521428838  [author] 7 Jun @ 9:23am 
i believe it should work, try it out yourself
Ragsimier 7 Jun @ 5:56am 
this is so underrated
Space-Rose 6 Jun @ 5:21pm 
seems like I am getting the Civilian bug even when it's the only mod installed

[Luna's detection & assault system] lua/autorun/server/luna_detection_server.lua:760: attempt to call global 'SafeIsPlayerInCivilianMode' (a nil value)
1. UpdateNPCDetectionLevel - lua/autorun/server/luna_detection_server.lua:760
2. unknown - lua/autorun/server/luna_detection_server.lua:2192
76561199521428838  [author] 1 Jun @ 1:37pm 
And what do you mean "npcs dont lose track of the player after death"

Do you mean specific npcs to have death animations?

If so ill try to fix that issue