You are viewing a potentially older version of this package. View all versions.
Confusified-InsanityDisplay-1.3.0 icon

InsanityDisplay

Adds an insanity meter to the hud in vanilla style

Date uploaded a day ago
Version 1.3.0
Download link Confusified-InsanityDisplay-1.3.0.zip
Downloads 925
Dependency string Confusified-InsanityDisplay-1.3.0

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-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.5
AinaVT-LethalConfig-1.4.3 icon
AinaVT-LethalConfig

Provides an in-game config menu for players to edit their configs, and an API for other mods to use and customize their entries.

Preferred version: 1.4.3

README

InsanityDisplay

Adds an insanity meter above the stamina meter

Features

  • Customise the colour of the insanity meter

    • This is in HEX
  • Ability to change the accuracy of the insanity meter

    • By default it will be set t display more accurately
  • Ability to change it into a sanity meter instead

    • You will have to enable this in the config
  • Ability to always show the meter

    • This is mainly for aesthetic purposes as it will remove the meter's functionality
    • You will have to enable this in the config
  • Compatibility with several mods

NOTE: You can edit the config in-game with LethalConfig

Mod Compatibility

Compatible with Elad's HUD

  • An insanity bar will be added to the custom HUD

Compatible with CrouchHUD

  • The icon will be moved slightly to avoid overlapping

Compatible with An0n Patches

  • The health and stamina display are moved slightly to avoid overlapping
  • InsanityDisplay is also compatible with the toggle crouch fork of this mod (The fork has been deprecated)

Compatible with LethalCompanyPatched

  • The health and stamina display are moved slightly to avoid overlapping

Compatible with Oxygen

Compatible with HealthMetrics

  • Health display is moved slightly to make it look nicer
  • InsanityDisplay is also compatible with the DamageMetrics fork of this mod

Compatible with GeneralImprovements

  • Health display is moved slightly to avoid overlapping

Compatible with Treys Health Text

Compatible with InfectedCompany

  • This mod replaces the insanity meter of InfectedCompany

NOTE: InsanityDisplay may be compatible with additional mods that are not listed here

CHANGELOG

Version 1.3.0 (Latest)

  • Added compatibility for LethalCompanyPatched

  • A lot of refactoring

    • I haven't tested all of the mods that I've added compatibility for, so if anything is broken please let me know
  • Improved the mod performance-wise

    • No longer allocates to the GC every frame
    • Only updates the UI when visible changes are made
  • Removed compatibility for LethalCompanyVR

    • I have no ETA on when it'll return
    • This is due to the refactoring of code. I haven't gotten around to refactoring the code for LethalCompanyVR
  • You can now customise the player icon

    • You can choose between 3 modes: Never center icon, Only center icon to avoid overlap, Always center icon
  • Changes to compatibility related config settings

    • Your settings should be saved
  • Added config setting to the InfectedCompany settings

    • You can now disable the insanity meter, unless you are infected
    • Disabled by default
  • Changed the mod's GUID to 'InsanityDisplay.Confusified.com.GitHub'

    • This should not affect the regular user
  • Removed images from README

    • I didn't know they would expire after a while :(

Version 1.2.2

  • Fixed the console being spammed with warnings

    • This would only occur when using Elad's HUD (and InsanityDisplay of course)
  • Fixed an error that would occur when loading into a save the second (or more) time

Version 1.2.1

  • Fixed GeneralImprovements throwing errors when the Hitpoints could not be found

  • Fixed the meter being white

    • This would occur because there was no '#' as first character
    • Another cause would be that your config is being updated from an older version and that messing up
  • Removed '#' being in the config

    • Not sure if it'll actually be problematic but it's better to be safe than sorry

Version 1.2.0

  • Fixed InfectedCompany's compatibility not working properly

    • InfectedCompany's insanity meter will still be visible for a few frames (I'm looking into fixing this as well)
  • Fixed Elad's HUD not working properly with InfectedCompany and having the Accurate Meter setting enabled

    • This would not happen if InfectedCompany wasn't present (or compatibility was disabled)
  • Added new config setting: Always Centered Player Icon

    • If enabled, the player icon will be centered regardless of anything
    • If disabled, the player icon will be in it's vanilla position until the insanity meter is visible (this is to avoid overlapping)
  • Reworked code for the insanity meter

    • Most of the compatibility settings are now dynamic and can be edited in-game (use LethalConfig to edit your config in-game)
  • Changed default setting for Accurate Meter from 'false' to 'true'

Version 1.1.4

  • Added support for LobbyCompatibility

    • This is a soft dependency, meaning that you are not required to have this installed
  • Added support for LethalConfig

    • You can now use LethalConfig to edit your config in-game
    • This is a soft dependency, meaning that you are not required to have this installed
  • Added compatibility for InfectedCompany

  • Added compatibility for LethalCompanyVR

  • Fixed compatibility for An0n Patches not working

    • Includes the fork
  • Fixed insanity meter being slightly off when using accurate meter

    • Would also happen when sanity meter is enabled alongside accurate meter
  • Reworked the config system

    • Moved compatibilities from 'Compatibility Settings' to 'Mod Compatibility Settings'

Version 1.1.3

  • Fix for cases where the mod cannot find the insanity meter

Version 1.1.2

  • Added compatibility for GeneralImprovements

  • Added compatibility for HealthMetrics and DamageMetrics

    • I considered them compatible before but the overlapping was noticeable
  • Added more compatible mods to the README

    • Also added more screenshots

Version 1.1.0 + Version 1.1.1

  • You can now turn it into a sanity meter instead

    • Disabled by default
  • You can now always show the meter

    • Disabled by default
  • Fixed some inconsistencies in the README

    • Fixed README (Version 1.1.1)

Version 1.0.0

  • Release