Garry's Mod

Garry's Mod

177 ratings
Luna's detection & assault system (DISCONTINUED)
   
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 (DISCONTINUED)

Description
discontinued cuz i found better things to do like models / animating in blender, idm modifications of this addon to be greater or worse, just do what you want with it but give credit (ShiverMeTimbers / Luna), ty

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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2938010635)
want to try it out on proper map? here is it https://gtm.steamproxy.vip/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
98 Comments
WolfBite 7 Aug @ 11:11pm 
Sadly they dont attack me if they visually spot me. I have to damage them in some form. I can shoot the ground next to them and completely fill the meter but unless i damage them or an ally of them they wont screw with me :( i was so stoked for this version.
V173 7 Aug @ 7:32pm 
Similar issue to the below comment. Timer fills, but the NPC doesn't exit the "?" mode and doesn't attack until "!" is triggered in another way, such as damage.
Base526 28 Jul @ 2:48pm 
Tried this mod without any conflicts (That i know of, its only guns and a few PMs), for some reason the bar will fill up all the way and they just.. dont attack.
These two errors are what I got:
[Luna's detection & assault system] lua/autorun/server/luna_detection_server.lua:219: attempt to call global 'RemoveFromPatrolQueue' (a nil value)
1. CleanupNPCPatrolData - lua/autorun/server/luna_detection_server.lua:219
2. v - lua/autorun/server/luna_detection_server.lua:2397
3. unknown - lua/includes/modules/hook.lua:102
[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

Is there a way to fix this?
andrew 26 Jul @ 9:45am 
this is hot
DonDoe 21 Jul @ 3:31pm 
Not sure what I'm missing with the VJ ones, the detection meter appears but they still just attack me either way without the meter being full, and same if I'm even further than the addons visible distance
Hex: Employement 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)]
♥♥♥♥♥ 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?
Chiyo_ 29 Jun @ 3:35pm 
this mod is suck it messup my reskin weapon