YetAnotherLethalLibrary
Another library for Lethal Company for my own personal selfish use.
Last updated | 9 months ago |
Total downloads | 252 |
Total rating | 0 |
Categories | Libraries |
Dependency string | Dreadrith-YetAnotherLethalLibrary-0.0.1 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
WHY??
I couldn't find an API for every single thing I needed, either cause I'm blind or stupid or both, so I made my own mostly for a stupid fart mod. Feel free to use it but it'll likely break.
Features
GameManager
Subscribe to some of the game events. Ones that I chose because I wanted to, like:
- OnClientPlayerConnected
- OnClientPlayerDisconnected
- OnPlayerSpawned
- OnPlayerLateUpdate
- OnRoundStart - but it's actually when the timer usually shows up after you exit the ship
- OnRoundEnd
AudioManager
Use the Audio class I made because no one made sounds on players easy??
Creates an audio source on every player that you can use to play audio with support to being audible to enemies. Save the fact that it uses a custom rolloff curve that I made arbitrarily.
You can also use it to load an Audio Clip from a specific path or all clips from a folder. LCSoundTool didn't have that :(
Utility
Some stupid 'Utility' class that I made just for chance math. I don't know how to explain it, refer to the fart mod.