You are viewing a potentially older version of this package.
View all versions.
ColorfulLights
Color any torch, firepit, stone hearth and bonfire using RGB and HTML color codes. Shoot matching fireworks from colored bonfires.
Date uploaded | 3 years ago |
Version | 1.1.1 |
Download link | ComfyMods-ColorfulLights-1.1.1.zip |
Downloads | 551 |
Dependency string | ComfyMods-ColorfulLights-1.1.1 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
Recommended to use with
- Configuration Manager. Then press F1 for mod options.
ColorfulLights
- You can color any torch, firepit, stone hearth and bonfire using RGB and HTML color codes!
- Fireworks launched from bonfires will also be colored AND visible to others with the mod.
- Those without the mod will still see yellow torches, green guck torches and standard yellow fireworks.
- Color alpha value is now saved and loaded for more transparent lights.
Configuration
You can hide the "Change Color" prompt using Configuration Manager if you don't want to see that all the time.
Instructions
- Unzip
ColorfulLights.dll
to your/Valheim/BepInEx/plugins/
folder. - In-game, press F1 to bring up the ConfigurationManager and navigate to the ColorfulLights section.
- Change the target color using the RGB sliders or using an HTML color code.
- Hover or any torch or fireplace and a prompt to change its color will appear.
- Hit
LeftShift + E
to change the color.
Github: https://github.com/redseiko/ComfyMods
Looking for a chill server? Join us on Comfy Valheim Discord
Looking for great Valheim servers to play on? Check out our community driven listing site at https://valheimlist.org
CHANGELOG
Changelog
1.11.0
- Fixed for the
v0.217.38
patch. - Moved changelog into
CHANGELOG.md
.
1.10.0
- Fixed for
v0.217.14
patch. - Removed colored fireworks feature as it broke with new vanilla fireworks items.
- Modified the keyboard shortcut logic to prevent further keypress if a the action was performed.
1.9.0
- Fixed for
v0.216.8
PTB patch. - Modified
Player.TakeInput()
transpiler patch to happen afterPlayer.UpdateHover()
. - Minor code clean-up.
1.8.0
- Converted color config option to use
ExtendedColorConfigEntry
andColorPalette
. - Added
PieceLastColoredByHost
ZDO string field filled by player'sNetworkuserId
when modifying light color. - Modified the
Player.TakeInput()
patch to also check that taking input is allowed.
1.7.1
- Fixed yet another small bug with the
Player.TakeInput()
transpiler not matching the same pattern as other mods.
1.7.0
- Fixed a bug with the
Player.TakeInput()
transpiler blocking other inputs with the same keybind. - Rewrote the entire fireplace-coloring system to use a new MonoBehaviour
FireplaceColor
. - Fixed colorizing fireworks... it never worked properly before and now it does.
- Moved patch-related code into their own classes.
1.6.0
- Move action check from
Fireplace.Interact()
prefix to Player.TakeInput() transpiler delegate.- Can now configure the hot-key to change the color.
- Convert spawn colored fireworks code from
Fireplace.UseItem()
prefix to a transpiler.
1.5.0
- Added an option to change the font-size for the text prompt on hover.
1.4.0
- Updated for Hearth & Home.
- Renamed
LastColoredByPlayerId
ZDO key toLightLastColoredBy
.
1.3.0
- Fixed colors not applying to the Light component in the
Point light
GameObject. - Now writes the PlayerId to a new ZDO field:
LastColoredByPlayerId
.
1.2.0
- Fixed a memory leak when caching lights/fires. Now starts a coroutine to clean-up the cache.
1.1.0
- Adding configuration setting to hide the 'change color' prompt over a torch or fireplace.
- Now saves the target color's alpha value to the ZDO and reads/uses this alpha value if present in the ZDO.
1.0.0
- Initial release.