BetterFog
BetterFog is a Mod Plugin used on the game Lethal Company to provide thousands of custom fog presets with modifiable densities and colors, with graphical interface and custom keybind!
CHANGELOG
v3.3.0
- Updated GUI to be a separate window opened with F1 key (can be changed)
- Added more settings to the GUI with more space
- Fixed issue where the density scaling would not update when first loading in the lobby
- Fixed issue where if you go from No Fog mode to Vanilla, the Better Fog settings are applied
v3.2.11
- Split the DensityScale blacklist into separate lists for WeatherScale and MoonScale.
v3.2.10
- Exclusion for weathers and moons from WeatherScale option added in the config. Simply add the full name of the moon or weather to temporarily disable density scaling on.
- Option to disable better fog settings on enemy fog (enabled by default)
- Vanilla mode added.
- Hotkeys are disabled when typing in chat.
- Decreased logging with verbose option added.
v3.2.9
- Made a few new patches that fix more issues where game overrides BetterFog settings. In particular, the shack on Rend should no longer switch to vanilla fog when exiting
v3.2.8
- Fixed bug where changing presets in config file would not update in game.
- Fixed bug where on first opening the settings GUI, the correct preset data would not show.
- Cleaned up some code.
- Added a next mode hotkey, disabled by default. Enable it in config file.
- Identified a bug where when leaving the cabin in Rend, the game overrides BetterFog settings and reverts to Vanilla fog. I am currently trying to determine the cause of this issue.
v3.2.7
- Client players were not able to see fog update when landing ship. This has been fixed.
- When entering settings from main menu, the settings GUI would open and then not close. This has been fixed.
v3.2.6
- Fixed bug where Weather Scale checkbox would not check by default.
- Added better description for Enable Weather Scale Default option in config file.
v3.2.5
Some general fixes and small updates
- Introducing modes. There is now a dropdown for different modes. Currently there is just default(static) and No Fog. More to come!
- No Fog mode has been reworked to better remove all fog.
- The blue preset was fixed to actually be blue.
- Added settings refreshes for when the player teleports and when switching spectators.
v3.2.4
It took a while to find but I finally was able to knock out this conflicting code in the game. It was trying to change audio and fog levels based on player position and would override my mod's settings.
- Added a patch that stops vanilla fog from changing density when moving. This was especially noticeable on Rend.
v3.2.3
- Added hotkeys along with config entries for enabling GUI and toggling Weather Scale.
v3.2.2
Some good bug fixes and features were added to this update.
- Moons now affect weather scaling. For example the fog is thicker on Rend than it would be on Offense. Note that weather scaling applies after moon scaling.
- Changed config options to use a comma-separated format for moon scaling, weather scaling, and presets. You may need to remove config file and let refresh automatically for the new settings to kick in.
- Hotkeys don't work while typing in the terminal
- Fixed a bug where the fog would not refresh when landing if the weather was clear
- Fixed a bug where the WeatherScale checkbox would not enable even if the config said to do so
- Added a keybind to refresh the fog settings for the current preset. Current setting is 'r' and this can be disabled in the config
- Fixed an issue where the next preset hotkey would skip a preset and move 2 instead of 1
- Other minor bug fixes
v3.2.1
- Fixed issue joining games and changing levels (hopefully) :)
v3.2.0
Larger update: A new feature has been added, dubbed "Weather Scale" which gives the player the ability to choose whether they want the fog to change based on whether without interaction, along with other tweaks.
- Weather Scale feature and checkbox added. The default value can be set in config file.
- Alpha settings and slider removed. This settings was not appearing to do anything useful.
- GUI reorganized.
v3.1.7
- Made GUI update according to default preset selected in config on startup. Default preset name config wasn't working before either.
- Added a fog settings refresh when entering or exiting the dungeon.
- Added a short 2 second timer that refreshes the fog settings while the ship lands.
- Small code optimizations.
- New config option to apply fog to exclusion zone.
- New config option to enable no fog by default.
v3.1.6
- Added config option to disable hot key. Also made the GUI disappear when opening settings screen in pause menu.
v3.1.5
- Added customizable key bind for next preset. The default is "n", but it can be changed in the config file.
v3.1.3
Small update that fixes an issue where the Asset Bundle could not be located when running through Thunderstore mod manager. The code was looking for the correct path within the plugins folder, but thunderstore apparently has a slightly different method of saving and compiling files locally.
- Fix that allows players to see the GUI when running mod in Thunderstore mod manager.
v3.1.0
Huge updates made to BetterFog allowing for the user to manage their fog settings while in game! Colors and density can be easily modified using the sliders in the pause screen. 'n' remains to be the hotkey for changing the fog preset, but a dropdown is also available in the pause menu to do this. Please provide feedback on any encountered bugs and recommended presets.
- Created and initialized a custom Asset Bundle to be used for graphical user interface (GUI)
- Custom text and shader were added to make the text look integrated into the game well.
- Included in the bundle are a dropdown for presets, sliders for color and density, text labeling, and a checkbox to remove all fog.
- "Anisotropy" was removed from the configuration and replaced with "NoFog" value. This is just a True/False Boolean value.
- Changed some code structure and organization and changed logging.
v2.1.0
This is the first working release of BetterFog mod for Lethal Company. It needs further play testing and tuning on the default presets. Please provide feedback on any encountered bugs and recommended presets.
- Big overhaul removing several GameObjects and components to simplify code.
- Now using LocalVolumetricFog instead of Volume, VolumeProfile, and Fog types.
- Fog effects now are visible on all moons.
- General code cleanup. = Renamed from FogRemover.dll to BetterFog.dll