You are viewing a potentially older version of this package. View all versions.
ComfyMods-ColorfulWards-1.4.0 icon

ColorfulWards

Color the glow effect of any ward using RGB and HTML color codes.

Date uploaded 2 years ago
Version 1.4.0
Download link ComfyMods-ColorfulWards-1.4.0.zip
Downloads 1604
Dependency string ComfyMods-ColorfulWards-1.4.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2105 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2105

README

ColorfulWards

  • You can color the glow effect of any ward using RGB and HTML color codes!
  • Those without the mod installed will still see the default yellow glow.

Installation

Manual

  • Un-zip ColorfulWards.dll to your /Valheim/BepInEx/plugins/ folder.

Thunderstore (manual install)

  • Uninstall any older versions of ColorfulWards.
  • Go to Settings > Import local mod > Select ColorfulWards_v1.4.0.zip.
  • Click "OK/Import local mod" on the pop-up for information.

Instructions

Changing ward glow effect color

  • In-game, press F1 to bring up the ConfigurationManager and navigate to the ColorfulWards section.
    • Change the target color using the RGB sliders or using an HTML color code.
  • Hover over any ward that you are the owner of and a prompt to change its color will appear.
    • This prompt can be hidden by disabling the showChangeColorHoverText setting.
  • Hit LeftShift + E (configurable) to change the color of the ward glow effect.

Ward vertical radius

  • Wards will now only extend/cover its default radius (30m) on the vertical/Y axis.
  • In the vanilla game, the range is infinite on the Y axis and the default radius on the XZ axis.

Notes

Changelog

1.4.0

  • Moved change color code from PrivateArea.Interact() prefix to Player.TakeInput() transpiler with coroutine.
    • Can now configure the hot-key to change ward color.
  • Removed configuration option for colorPromptFontSize (UI overhaul coming later).
  • Extracted configuration options into new PluginConfig class.
  • Added manifest.json, icon.png and updated this README.md.
  • Modified the project file to automatically create a versioned Thunderstore package.

1.3.0

  • Updated for Hearth & Home.
  • Added WardLastColoredBy ZDO tag that is set to the last Player that modifies the Ward color.
  • Added an option to change the font-size for the text prompt on hover.

1.2.0

  • Fixed a memory-leak when caching PrivateArea/Wards.

1.1.0

  • Adding configuration setting to hide the 'change color' prompt over a ward.
  • Now saves the target color's alpha value to the ZDO and reads/uses this alpha value if present in the ZDO.
    • However, there isn't any apparent effect/use for color alpha for ward lights and particle systems.'

1.0.0

  • Initial release.