You are viewing a potentially older version of this package. View all versions.
zealsprince-Locker-1.2.4 icon

Locker

A new and unique enemy that acts as a situational threat, praying on player's perception

Date uploaded 3 months ago
Version 1.2.4
Download link zealsprince-Locker-1.2.4.zip
Downloads 20352
Dependency string zealsprince-Locker-1.2.4

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Evaisa-LethalLib-0.16.1 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 0.16.1

README

banner

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.

Video Preview / Spoiler

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.6.0

  • Add config option to keep bodies after a player is killed
  • Add config option to allow line-of-sight triggered lunges called "proximity sense"
  • Remove HookGenPatcher dependencies since they are already present in downstream dependencies

1.5.0

  • Add destruction of turrets during chases
  • Add destruction of landmines during chases
  • Slightly adjust movement turning to be more snappy

1.4.0

  • Fix not being able to traverse slopes and stairs
  • Generally improve player path finding
  • Slightly adjust hitboxes and speed

1.3.1

  • Rebuild to fix netcode patcher issues

1.3.0

  • Fix incorrect asset bundle causing errors
  • Rework blood effects

1.2.8

  • Bump version number to indicate v66 compatibility

1.2.7

  • Bump version number to indicate v65 compatibility

1.2.6

  • Bump version number to indicate v64 compatibility

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

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