![zealsprince-Locker-1.2.2 icon](https://gcdn.thunderstore.io/live/repository/icons/zealsprince-Locker-1.2.2.png.128x128_q95.jpg)
Locker
A new and unique enemy that acts as a situational threat, praying on player's perception
Date uploaded | 2 months ago |
Version | 1.2.2 |
Download link | zealsprince-Locker-1.2.2.zip |
Downloads | 119650 |
Dependency string | zealsprince-Locker-1.2.2 |
This mod requires the following mods to function
![BepInEx-BepInExPack-5.4.2100 icon](https://gcdn.thunderstore.io/live/repository/icons/BepInEx-BepInExPack-5.4.2100.png.64x64_q95.png)
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100![Evaisa-HookGenPatcher-0.0.5 icon](https://gcdn.thunderstore.io/live/repository/icons/Evaisa-HookGenPatcher-0.0.5.png.64x64_q95.jpg)
Evaisa-HookGenPatcher
Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.
Preferred version: 0.0.5![Evaisa-LethalLib-0.15.1 icon](https://gcdn.thunderstore.io/live/repository/icons/Evaisa-LethalLib-0.15.1.png.64x64_q95.jpg)
README
The Locker
In darkness it lurks, seeks light and sense and only responds with hunger.
A new and unique enemy/hazard that responds to player's vision much like a coilhead but with a few twists.
Behavior
The locker is a bit of a different enemy in that it represents more of a possible future obstacle when encountered as an experienced player. At the same time its purpose is to bring back an extra element of surprise and dynamic to the gameplay through unannounced encounters, similar to a coil head without the permanent danger and caveats that come with it.
Just like the hydrogene is not much of a threat, having it coupled with other enemies increases its difficulty. Additionally, I want to create new and dynamic situations much like those found in the base game caused by coil heads, spiders and hydrogenes roaming. As such this enemy is designed with that in mind.
Further details about its behaviour can be found below - keep in mind if you're looking for something new to be surprised, these are a spoiler
Behavior Details:
- The locker activates and charges at a player if they scan it having a clear line to the player up to a range of 90 meters
- Activating from a scan has to propagate to the locker and matches the scan wave you see in game
- At a maximum range of 90 meters it will take 3 seconds before activating
- The locker responds to player flashlights when aimed at it and will charge at players even if the flashlight is lit in an offhand slot
- The locker responds to player touch meaning getting stuck with it in a corner is generally a death sentence
- The locker responds to held light sources in a 15 meter range
- Crouching past the locker will not alert it
- The locker can be stood on without activating it
- Players caught in the charge are instantly killed
- The locker can not be killed/destroyed by regular means
- The locker can kill enemies while chasing
- The locker can crush and destroy doors while chasing
- Crashing two lockers together will cause an explosion
- The locker has a chance to reactivate after a chase and close in on the closest player - the chance of this happening is 50% by default and can be configured
To-do
- Make Locker material not visible in pure darkness
Suggestions
Want to suggest new features or tweaks for this mod? Feel free to open up a suggestion issue on the GitHub repository!
Furthermore there is an official mod release thread on the Lethal Company Modding Discord!
CHANGELOG
Changelog
1.2.5
- Patch for v61
1.2.4
- Patch for v60
1.2.3
- Fix player scan searching over all GameObjects instead of just Lockers possibly causing performance issues in large levels
1.2.2
- Patch for v56
- Improve performance by only getting doors on spawn not during chase
1.2.1
- Patch for v55
1.2.0
- Rewrote state management to be mounted on the game's EnemyAI system to improve stability and mod compatibility
- Thanks Xu Xiaolan for the initial rewrite and motivation as well as good feedback!
1.1.2
- Add reaction to hit events
- Fix Locker pathfinding getting stuck
- Fix path calculation if off navmesh
1.1.1
- Patch for v50
1.1.0
- Add corpse deletion behavior in line with the consume animation
- Fix reactivating for another chase if not moved during last
1.0.0
- Add spawn configuration options
- Add volume adjustment configuration option
- Adjust eye collider to make it trigger even if something is in direct line-of-sight
- Adjust navigation checks to make movement more reliable
- Add new post-chase mechanic to make chases more dynamic and dangerous
- Fix doors on custom levels not destroying causing infinite explosions
- Fix fear effect triggering on all players on death
- Slightly adjust scanner linecast to avoid thin obstacles
- Confirmed compatibility on the following custom interiors
- Scoopy's Variety Mod: Dungeon
- Scoopy's Variety Mod: Sewer
- Dantors Mental Hospital
- MoreInteriors: Bunker
0.13.1
- Fix unkillable enemies getting stuck if hit by the locker
0.13.0
- Add normal map to model
- Add more detail to the side of the model
- Add overshooting again but only on scan and touch interactions
- Add rotating in the direction of movement when turning corners
0.12.0
- Add killing other enemies mid chase
- Add exploding if destroyed / killed
- Add screen shake to close encounter with player
- Add destruction of doors during chases
- Fix lights line of sight
- Fix chasing infinitely if stuck
0.11.2
- Add video preview to README.md
0.11.1
- Make kill trigger less forgiving by adding a distance check which should fix getting squished into walls but not being killed
- Reduce the height of enemy agent to make light detection more likely
0.11.0
- Fix non host players not being killed
- Fix non host players holding lights not activating the enemy
- Implement enemy re-targeting the previous target if it's activated again
0.10.0
- Switched to using nav mesh for traversal to better avoid obstacles
- Adjusted spawn curves to have highest probability at the start of a day
0.9.0
- Held objects with lights will trigger while disregarding the viewing angle
- Flashlights are still checked to have the 30 degree viewing angle
- Activation by scanning now disregards viewing angle
- Change chasing logic to overshoot initial target position
0.8.0
- Fix map marker not being visible
- Improve flashlight detection logic and make normally held flashlights work too
- Implement player proximity detection and crouching to evade
- Change player kill animation
- Change colors and alignment of some textures
- Add bestiary entry
0.7.0
- Correctly patch networking methods to fix RPCs
0.6.0
- Implement reverse ping delay
- Implement map screen marker
- Implement scan node
- Improve reverse ping audio
- Reduce texture brightness and tweak materials
- Retopologize major parts of the Locker model
- Add fear effect if Locker closes or consumes near a player
0.5.0
- Finalize Locker behavior and connect to in-game spawns
- Fix scan activation being relative to the Locker's forward transform
0.4.0
- Add sound effects to individual states
- Add LockerAI to handle various states of player interaction
- Allow targeting of players holding flashlights in 45 degree field of view
- Add blood effect and consume state
0.3.0
- Add sparks animation
- Rig and import model into Unity and set up basic animation controller
0.2.0
- Create model in Blender
0.1.0
- Initial project setup