ComfyMods-ColorfulPortals icon

ColorfulPortals

Color the activation glow effect of any portal using RGB and HTML color codes!

Last updated 10 months ago
Total downloads 12904
Total rating 1 
Categories Mods Tweaks Client-side
Dependency string ComfyMods-ColorfulPortals-1.5.0
Dependants 38 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.1901

README

ColorfulPortals

  • You can color the activation glow effect of any portal using RGB and HTML color codes!
  • Those without the mod will still see the vanilla yellow/red glow effect.

Installation

Manual

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

Thunderstore (manual install)

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

Instructions

Changing portal glow effect color

  • In-game, press F1 to bring up the ConfigurationManager and navigate to the ColorfulPortals section.
    • Change the target color using the RGB sliders or using an HTML color code.
  • Hover over any portal 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 portal glow effect.

Stone portals

  • Stone portal prefabs fixed to activate when connected.
  • Restrictions: they cannot be built and require a server-side mod to connect.

Notes

Changelog

1.5.0

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

1.4.0

  • Added an option to change the font-size for the text prompt on hover.

1.3.0

  • Updated for Hearth & Home.
  • Added PortalLastColoredBy ZDO property that is set whenever a player changes the portals color.

1.2.0

  • Fixed a memory-leak when caching TeleportWorld/Portals.

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.

1.0.0

  • Initial release.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-8-3 1.5.0 4249 Version 1.5.0 Install
2021-9-20 1.4.0 5166 Version 1.4.0 Install
2021-8-1 1.2.0 1371 Version 1.2.0 Install
2021-7-27 1.1.0 447 Version 1.1.0 Install
2021-7-21 1.0.1 473 Version 1.0.1 Install
2021-7-7 1.0.0 1198 Version 1.0.0 Install