EnhancedSpectator
Enhances the spectating experience for Lethal Company.
Date uploaded | 9 months ago |
Version | 1.0.5 |
Download link | PXC-EnhancedSpectator-1.0.5.zip |
Downloads | 85792 |
Dependency string | PXC-EnhancedSpectator-1.0.5 |
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.2100Rune580-LethalCompany_InputUtils
Utilities for creating InputActions and having them be accessible in game
Preferred version: 0.4.4AinaVT-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.3.0README
Enhanced Spectator
Enhances the spectating experience for Lethal Company.
Features
- Adds the clock to the spectator HUD - Inspired by BetterSpec by ZG
- Adds the ability to toggle a flashlight while spectating - Inspired by SpectateEnemies by AllToasters
- Adds the ability to toggle night vision while spectating - Inspired by ToggleableNightVision by Kentrosity
- Will only be visible when the player being spectated is in the dungeon
Planned Features
- [ ] Ability to change the zoom level while spectating
- [ ] Ability to change the FOV while spectating
- [ ] Potentially toggle between first and third person while spectating
- [x] Compatibility with other spectator mods that modify the HUD
- [x] Enhance and optimize the UI changes
Compatibility
The following are mods either tested to be compatible or not
Incompatible
- BetterSpec: This is already handled by EnhancedSpectator
- No others have been found/reported currently
Fully Compatible (Tested by me or the community)
- ShipLootPlus
- GeneralImprovements
- AdvancedCompany
- LCBetterClock
- EladsHUD
- Likely most mods (ill do a more comprehensive test with the most popular mods later)
Mostly Compatible (Everything is functional just has quirks)
- SpectateEnemies
- The only part that doesn't work is when spectating a mob the night vision doesn't work (this seems to be a vanilla limitation, I am still investigating if I can change it)
- ToggleableNightVision
- This works fine but when toggling night vision in either mod it will disable it for the other, so any text prompts wont be synced (I'll likely fix this in the future)
Configuration
Everything is configurable via the config file or the LethalConfig menu (both the main menu and the pause menu).
NOTE: With v1.0.4+ LethalConfig is a soft dependency but to get the best experience it is still required by the Thunderstore package. It allows you to change any setting for EnhancedSpectator at any time, and it will update everything in real time. If do not want LethalConfig in your pack, you can safely remove it and this mod will still work just fine.
Spectator Clock
Enabling or Disabling the spectator clock
The Allowed
setting lets you enable or disable the clock entirely
## Allow clock while spectating.
# Setting type: Boolean
# Default value: true
Allowed = true
Move the "(Specating: Player)" text down
The Raised Clock Support
setting lets you move the spectating text down so it doesn't interfere with the clock if you are using mods that move the clocks position higher (e.g. LCBetterClock).
## Moves the text showing who you are spectating down a bit to support mods that move the clock position higher (e.g. LCBetterClock).
# Setting type: Boolean
# Default value: false
Raised Clock Support = false
How much to move the "(Specating: Player)" text down/up
This is how much to offset the spectating text element down or up. The text element is actually moved so this retains support for any mod that adds text to it (e.g. SpectateEnemies)
## How much to offset the spectating text by on the Y axis.
# Setting type: Single
# Default value: -25
# Range: -465 - 30
Offset = -25
Spectator Flashlight
Enabling or Disabling the spectator flashlight
The Allowed
setting lets you enable or disable the flashlight entirely.
## Allow flashlight while spectating.
# Setting type: Boolean
# Default value: true
Allowed = true
Change the spectator flashlight key binding (Requires game restart)
The Keybind
setting lets you customize which keybind the mod uses for the flashlight.
## Input binding to toggle flashlight while spectating.
# Setting type: String
# Default value: <Keyboard>/f
Keybind = <Keyboard>/f
Spectator Night Vision
Enabling or Disabling spectator night vision
The Allowed
setting lets you enable or disable night vision entirely.
## Allow night vision while spectating.
# Setting type: Boolean
# Default value: true
Allowed = true
Set the intensity of night vision
The Intensity
setting lets you change how bright the night vision is.
## This is how bright the night vision makes the environment when enabled.
# Setting type: Single
# Default value: 7500
# Range: 100 - 100000 (higher is brighter)
Intensity = 7500
Enable darkness intensity scaling
The Modify Darkness
setting enables the Darkness Modifier
setting below. Its used to change the darkness intensity scaling. Use this if you are running mods like Diversity that have darker darkness values.
## Some mods (Diversity) change the default darkness intensity value. This setting enables the below option.
# Setting type: Boolean
# Default value: false
Modify Darkness = false
Modify the darkness intensity scale
The Darkness Modifier
setting lets you change the default darkness intensity scaling.
## This option modifies the default darkness intensity value.
# Setting type: Single
# Default value: 1
# Range: 0.0 - 1.0
Darkness Modifier = 1
Change the spectator night vision key binding (Requires game restart)
The Keybind
setting lets you customize which keybind the mod uses for the night vision.
## Input binding to toggle night vision while spectating.
# Setting type: String
# Default value: <Keyboard>/n
Keybind = <Keyboard>/n
Other Mods
CHANGELOG
v1.0.5
- Added compatibility for MelonLoader so EnhancedSpectator loads correctly if MelonLoader is present
- Aligned the code closer to my coding standards used in ShipLootPlus to be more consistent
- Changed how the flashlight enable/disable text is set, so any other mod with a spectator flash light doesn't cause text prompt sync issues
- Changed how the raised clock feature works, the spectating text object is now moved in a way that wont impact any mod that modifies the spectating text content
- Added a config option to tweak the spectating text Y position offset (can move it up or down with raised clock support if needed)
- Added compatibility section to readme
- Fixed a rare issue where night vision could persist after being revived in orbit when the round ended
- Fixed some minor typos
v1.0.4
- Fixed an issue that stopped the player hud from fading when interacting with the terminal
- Changed LethalConfig to a soft dependency so it can safely be removed (if desired) and not break EnhancedSpectator
- The Thunderstore package will still have it as a dependency as using it is the intended way to configure EnhancedSpectator
- Compiled with the latest versions of LethalConfig and InputUtils
v1.0.3
- Fixed compatibility with other mods that enable night vision
- Added compatibility for mods like Diversity which modify the default darkness intensity
v1.0.2
- v47 support
v1.0.1
- Removed Nuget dependency weaving to be compliant with Thunderstore policies.
v1.0.0
- Release