Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. Thunderstore development is made possible with ads. Please consider making an exception to your adblock. 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.
Installation
Manual
- Un-zip
ColorfulLights.dll to your /Valheim/BepInEx/plugins/ folder.
Thunderstore (manual install)
- Uninstall any older versions of
ColorfulLights.
- Go to Settings > Import local mod > Select
ColorfulLights_v1.7.0.zip.
- Click "OK/Import local mod" on the pop-up for information.
Features
Color any torch or fireplace
- 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.
- This prompt can be hidden by disabling the
showChangeColorHoverText setting.
- Prompt font-size can be configured with the
colorPromptFontSize setting.
- Hit the hot-key
LeftShift + E (configurable) to change the color.
Launch colored fireworks
- Colors applied to any campfire, hearth or bonfire will also color any fireworks launched from that fireplace!
- Players without the mod will see the standard firework color.
Notes
- This is the good enough release with more features/options to be added later.
- See source at: GitHub.
- Looking for a chill Valheim server? Comfy Valheim Discord
- Check out our community driven listing site at: valheimlist.org
Changelog
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 to LightLastColoredBy.
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