You are viewing a potentially older version of this package. View all versions.
Orion-DontBlink-1.1.1 icon

DontBlink

Adds a blinking mechanic à la SCP: Containment Breach to the game.

By Orion
Date uploaded 4 months ago
Version 1.1.1
Download link Orion-DontBlink-1.1.1.zip
Downloads 230387
Dependency string Orion-DontBlink-1.1.1

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

README

"Do not Blink !" by ᴏʀɪᴏɴ™

This mod aims to somewhat mimic the blink mechanic of SCP: Containment Breach. It is obviously not 100% accurate.

INFORMATION

So, all this mod does is simulate the act of blinking. Mind you, it doesn't serve much purpose, unless you are near a Coil-Head that is...

Basically, you will randomly, and periodically blink for a really short amount of time.
Both the interval and duration of a blink are randomly chosen between two values (min & max).
They also scale based on your insanity level kindly provided by the game.
The more insane you are, the more you will blink.

The interval at which you blink is directly displayed right under your sprint meter as a horizontal progress meter enterily made of [, , and ].
BlinkMeter

The meter continuously drains down until you blink, and refills right after. Remember, each blink interval is different, so the meter will never drain at the same speed.
If you need to refill your blink-meter, press C on your keyboard to manually blink and set your next blink to a fixed 14s (default). This will start a new blink cycle.
Last bit of info, you can keep your eyes closed (surely a Bracken won't kill you...), and while you do, your insanity will slowly decrease, which in turn makes blinking less frequent.

CONFIGURATION

• Almost all values are editable in the .cfg inside config folder created by BepInEx insde .\Lethal Company\BepInEx. The file should be named Orion.DontBlink.cfg.
• If you do not want any random factor in blink duration/interval, simply use the same value on both 'min' and 'max'.
• Side note, as of the latest version (1.1.0), all blink related values were modified to be as close as possible to SCP:CB values (the random aspect was kept), you may need to either delete the .cfg file or edit it manually if you had a previous version. Leave it be if you want to keep old values.

COMPATIBILITY

InsanityRemastered

There shouldn't be any conflict.

OPTIONAL FEATURES

All optional features are disabled by default, but you are free to enable them if you wish.

• GAS LEAK RAPID METER DRAIN:

  • while you are inside a gas/steam leak, your blink meter will rapidly drain.
    • Multiply the meter drain by 4 (default).
    • Uses the same logic as the 'VISIBILITY LOW' warning, so it may not trigger on some case.

• NATURAL BLINK ONLY ACTIVE AFTER SEEING A COIL-HEAD.:

  • natural blink is disabled and the hud meter is hidden, but when you see a coil-head, they will appear and function normally.
    • The natural blink and hud last for 5 seconds (default).
    • The Ghost Girl can also trigger it.

• BLINK ON FEAR:

  • whenever you'd gain a sudden surge of fear based on certain events, you will blink.
    • Some of these events are : Thumper's screech, seeing the Bracken, being too close to a creature, getting hit, seeing a body, etc.
    • This feature has 3 states (has to be edited inside the .cfg):
      • 0 = Disabled (default).
      • 1 = Randomly blink based on the 'fear event' potency. Stronger fear = higher chances of blinking.
      • 2 = Always blink when feared (not recommended).
    • There is an internal cooldown of 1s (default). I strongly recommend to NOT go below 0,5s.
    • This feature should be compatible with InsanityRemastered. Do note it is NOT hooked to IR's hallucinations events etc.

INSTALLATION (MANUAL)

NOT YET MODDED (no BepInEx) (click to open)
  1. Download BepInEx 5.4.21 from either its Thunderstore page or its official GitHub. Latest version should be fine too.
    Inside the downloaded .zip, extract the BepInEx folder and both winhttp.dll and doorstop_config.ini inside your game folder (where the game .exe is located).
    If downloaded through Thunderstore, they are stored inside the BepInExPack folder.
  2. Run the game once to generate all folders and files, then exit the game when the game menu appears.
  3. You are now done with BepInEx !
  1. Download DontBlink and extract DontBlink.dll from inside the .zip to .\Lethal Company\BepInEx\plugins.
  2. You are done ! Enjoy !

PLANS

• Make the player react to more events.
• Make the blink meter an actual graphic component.
Whenever I add new features, they will all be added as optional and disabled by default.

RAMBLING / DISCLAIMER

Why ? I wanted a blink mechanic to see how it would fit in game, so I first looked into the store, but all I could find was Blink by Shadowoof, which didn't seem to work at the time, as least not for me.
So, I pretty much made this on a whim. I am a newborn baby to Unity's modding (I do have some prog knowledge, but that's about it) so don't expect too much, but I do hope this'll be enough for you.

CREDITS

Zeekerss, creator of Lethal Company.
BepInEx's team, creator of BepInEx, making Unity's modding possible.
MrMiinxx, who made this video tutorial, which I used to make the barebones of the mod.
matsuura, who made HealthMetrics, which I used part of his HUDManagerPatch to create the HUD part.
• And last, but not least, Coil-Head, such a cool dude.

DISCORD

Unofficial Lethal Company Community
I have made a post to track bugs and share updates : DontBlink on ULCC

Excuse my poor english.

CHANGELOG

1.1.1 - Bug fixes

  • ⚠️ Fixed a bug where every player in a lobby would affect each other's blink meter, resulting in much frequent blinking (that wasn't a feature).
  • ⚠️ Another fix to the 'perma-blink on death' case.

Note: Being MP only bugs, they took an unnecessarily long time to detect and fix since they cannot be reproduced in solo. If I missed something, there will be another patch coming soon™. Remember to report any bugs you find on the Discord ! That'll be greatly appreciated !

1.1.0 - Manual blink changes, new optional features, config changes and InsanityRemastered compatibility

Mod changes.

  • 🧪 This version uses C# 11 which corresponds to .NET 7, if something breaks, do let me know, I'll revert to more common .NET version.
  • 🔴 Manually blinking (C) no longer adds a delay to your next blink, instead it sets your next blink interval to a fixed (non random) 14 seconds (default).
    • Still affected by insanity and can go down to 3,5 seconds (default).
    • You can edit both of them. Using -1 on any of them will use the default rng method on both instead (like a natural blink), disabling this feature.
  • 🔥 Keeping your eyes shut by manually blinking (C) now decreases your insanity level, which in turn makes blinking less frequent.
    • Decreases insanity by 2 each second (default).
    • Insanity goes from 0 (not insane) to 50 (max), so a value of 2 when fully insane requires you to keep your eyes shut for at least 25 seconds.
    • Using 0 (or below) disables the insanity decreasing effect.
  • 🔥 Should now be compatible with InsanityRemastered ≥1.0.8.
    • When using DB and IR together, the blink insanity scaling will be based on IR instead of the base game (so the max insanity goes from 50 to 200).
    • Thanks to BudgetAirpods for making it possible.
  • 🧪 Added a new optional feature: Blink meter drains when inside the gas/steam leak. Disabled by default.
    • User requested feature to replicate SCP:CB even more.
    • It is disabled by default 'cause I feel like having a mask should protect the user and some may find it weird (?), but feel free to enable it.
  • 🧪 Added a new optional feature: Natural blink is only active when you see a Coil-Head. Disabled by default.
    • User requested feature to replicate SCP:CB (unity).
    • You can adjust how long the natural blink feature will last after seeing a Coil. 5 seconds by default.
    • This only affects natural blinking, manual and other sources of forced blinks are ignored.
  • 🧪 Added a new optional feature: Blink on 'fear events'. Disabled by default.
    • Whenever you'd gain a sudden surge of fear based on certain events, you will blink.
      • Some of these events are : Thumper's screech, seeing the Bracken, being too close to a creature, getting hit, seeing a body, etc.
    • There are 3 states to this feature:
      • 0 = Disabled (default).
      • 1 = Randomly blink based on the 'fear event' potency. Stronger fear = higher chances of blinking.
      • 2 = Always blink when scared (not recommended).
    • There is an internal cooldown of 1s (default). I strongly recommend to NOT go below 0,5s.
    • This feature should be compatible with InsanityRemastered. Do note it is NOT hooked to IR's hallucinations events etc.
  • ⚠️ Hypothetical fix to a case where blinking/keeping your eyes shut when dying would make your spectating screen indefinitely dark (until respawn). Hypothetical as this only ever happened (to me) on this version, BUT it may have of happened before.

Config changes.

  • 🔴 Slightly increased both blink interval and duration (calm & insane): (annotated as min | max)
    • Blink interval:
      • Calm: 4s | 20s5s | 23s (average duration is now closer to SCP:CB's: ~14s.)
      • Insane: 0,6s | 6s1,5s | 7s
    • Blink duration:
      • Calm: 100ms | 300ms250ms | 350ms (average duration is now closer to SCP:CB's: ~300ms.)
      • Insane: 67ms | 200ms220ms | 280ms
    • NOTE: to receive all of the above changes, you will need to either delete the .cfg file or edit them manually. Leave it be if you want to keep old values.
  • 🔥 You can now edit both fade-in and fade-out ratio of a blink duration: from eyes open to eyes closed (in), to eyes open (out).
    • Also changed their default values from 66,7% | 33,3% to 40% | 60% (annotated as in | out).
  • 🔥 You can now show/hide the meter. Shown by default.
  • 🔥 The meter is now a child of the player's infos HUD element (stamina, HP, etc.) and follow their rules (such as fading when using the terminal).
    • You can revert to the old method if you don't like the new one or if it's simply misaligned (might be the case for >1080p displays).

Thunderstore update

  • If this version is broken, you can always revert to 1.0.3 while I try to fix any bug that went through.
  • Added installation instructions.
  • Updated README.md.
  • Added 🔴, 🔥, ⚠️️ and 🧪 emojis to CHANGELOG.md, each represent the following (in order): a change, something new, a fix and optional/experimental feature. If they feel like too much, I'll remove them.

1.0.3 - A real update

  • 🔴 Modified the manual blink shortcut from G to C. I'm dumb, G is bound to 'drop item', but using a different keyboard layout made me forget. I hope nothing else uses C...
  • ⚠️ You can no longer manually blink (using C) while : using the terminal, typing or being in the menu.
  • ⚠️ You should no longer blink while spectating. This is a potential fix, as my testing field is pretty limited here.

Remember, if something's broken, you can always use older versions while I fix stuff for future updates, as the mod's features should be working perfectly.

Thunderstore update

  • Added the Unofficial Lethal Company Community discord link in the README.md.
  • Also, thanks to everyone (+1k) for trying out this mod, and sorry for the stupid binding choice !

1.0.1-.2 - Thunderstore updates

  • Added a gif showcasing the blink meter. I should've done it on release.
  • Added a thumbnail. I also forgot to do that.

The mod itself didn't receive any update until .3

1.0.0 - INITIAL RELEASE