ComfyMods-ColorfulPieces icon

ColorfulPieces

Color any building piece made with the hammer using RGB/HTML colors!

Last updated 3 months ago
Total downloads 32767
Total rating 5 
Categories Mods Tweaks Tools Client-side Hildir's Request Update Ashlands Update
Dependency string ComfyMods-ColorfulPieces-1.17.0
Dependants 82 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2202

README

ColorfulPieces

Color any building piece made with the hammer using RGB/HTML colors!

Features

  • You can color any building piece that can be built using the Hammer using RGB or HTML color codes.
  • Coloring is very simple at the moment and will color all materials/textures on the object (to be refined later).
  • Those without the mod installed will still see the default vanilla materials/textures.

Instructions

Setting target color

  • In-game, press F1 to bring up the ConfigurationManager and navigate to the ColorfulPieces section.
  • Change the target color using the RGB sliders or using an HTML color code.
  • Change the target emission color factor using the slider (this affects how bright the target color will be).

Changing piece colors

  • Hover over any building piece that you are the owner of and a prompt will appear.
  • Hit LeftShift + R to change the building piece color to the target color and emission factor.
  • Hit LeftAlt + R to clear any existing colors from the building piece.
  • Hit LeftCtrl + R to copy the existing color from a piece.
  • This prompt can be hidden by disabling the showChangeRemoveColorPrompt setting.
  • Prompt font-size can be configured with the colorPromptFontSize setting.

Commands

Changing/Clearing pieces in a radius (legacy)

These two commands still call the same action as the hotkey and so will obey all ward permissions.

  • /clearcolor <radius> (in chatbox)
  • clearcolor <radius> (in console)
  • Clears any colors from all pieces in the specified radius from the player.
  • /changecolor <radius> (in chatbox)
  • changecolor <radius> (in console)
  • Changes the color of all pieces in the radius from the player to the currently set target color.

Clearing piece colors in a radius

clear-color --radius=<radius> [--prefab=<name1>] [--position=<x,y,z>]
clear-color --r=<radius> [--p=<name1>] [--pos=<x,y,z>]
  • Clears any colors from pieces within <radius> meters from the playerr.
  • If --prefab is specified, only pieces with prefab names matching <name1> will be affected.
  • Specify multiple prefab names with commas: --prefab=<name1>,<name2>
  • If --position is specified, target position will be at x,y,z instead of the current player position.

Changing piece colors in a radius

change-color --radius=<radius> [--prefab=<name1>] [--position=<x,y,z>]
change-color --r=<radius> [--p=<name1>] [--pos=<x,y,z>]
  • Changes the color of pieces within <radius> meters from the player to the currently set target color.
  • If --prefab is specified, only pieces with prefab names matching <name1> will be affected.
  • Specify multiple prefab names with commas: --prefab=<name1>,<name2>
  • If --position is specified, target position will be at x,y,z instead of the current player position.

Notes