Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
2 days ago
Downloads
357
Size
31KB
ADDatHost Valheim hosting
30% off

SignColorPicker

Choose colors and font sizes and insert supported Unicode symbols into Valheim sign text.

SignColorPicker adds Color, Symbols, and a square font size button to the standard sign editor. The controls use frames matching the game UI. Version 1.0.3 adds manual font sizes and keeps your selected formatting when you replace the text.

Features

  • 20 built-in color choices, including the standard sign color.
  • Additional custom colors configured as HEX values.
  • Color and font size apply to the entire sign text.
  • A square font size button immediately to the right of Symbols.
  • A for automatic sizing, or the selected numeric size on the button.
  • A scrollable list of absolute font sizes from 2 to 64, without percentages.
  • Selected color and size stay selected when you clear the text, replace a selection, or paste new text.
  • A paged symbol picker containing supported Miscellaneous Symbols and Dingbats.
  • Russian button labels for a Russian game client; English labels for other languages.
  • Automatic configuration reload, including updates to an open color palette.
  • Standard OK and Cancel behavior.

Installation

Install with Thunderstore Mod Manager or r2modman.

For manual installation, install BepInExPack Valheim and copy SignColorPicker.dll into BepInEx/plugins/SignColorPicker/.

This is a client-side mod. Install it on the client editing signs; installation on a dedicated server is not required. Colors and font sizes are saved using the game's standard sign text formatting.

Usage

  1. Open a sign for editing.
  2. Enter or replace your text.
  3. Click Color and select a colored square. The first square restores the standard sign color.
  4. Optionally click Symbols and select a character. Use the arrows to switch pages.
  5. Click the square button to the right of Symbols and select A or a numeric font size. Scroll with the mouse wheel or drag the scrollbar on the right.
  6. Click OK to save, or Cancel to discard changes.

Color and size are stored separately from the editable text while the dialog is open. Clearing the field or typing over the entire selection does not reset them. Each sign loads its own saved formatting when opened.

The input field uses its normal text size for editing and previews the selected color. Font size selection controls the saved sign text. Color and size tags are added when you save, so you do not need to edit the picker’s formatting tags manually. Other formatting tags, such as bold or italic, are preserved.

The controls are designed for mouse input.

Font sizes

Available choices:

A, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20, 24, 28, 32, 36, 40, 48, 56, 64

  • From 2 to 10, the step is 1.
  • Above 10, the list uses the larger values shown above.
  • A is the default automatic mode. Choosing it removes the manual size setting and restores the game's normal sizing behavior.
  • Numeric choices are absolute sizes in the sign's text renderer, not percentages. Large values can exceed the sign's bounds; select a smaller size if the text overflows.

Dragging the scrollbar changes the list position without selecting a size or closing the list. Click a size to apply it, or click the font size button again to close the list.

Configuration

Created after the first launch:

BepInEx/config/com.xtasy.ValheimSignColorPicker.cfg

[Palette]
CustomColorsHex = #FFAA00, #66CCFF

Separate colors with commas or semicolons. Supported formats: #RRGGBB and #RRGGBBAA; the leading # is optional. An empty value disables extra colors. Invalid entries are skipped and logged.

Custom colors appear after the built-in palette. Save the config to apply changes automatically; the mod checks for file changes every 0.5 seconds. The open palette updates without restarting the game. Changing the config does not change a sign's color until you select a color.

Unicode symbols

The picker checks Miscellaneous Symbols (U+2600–U+26FF) and Dingbats (U+2700–U+27BF). Only characters supported by the sign font or its existing fallbacks appear. Unsupported characters are hidden before pagination, without empty or disabled choices.

Pages contain up to 64 symbols. Selecting a symbol appends it to the end of the text, regardless of cursor position. The symbol receives the selected color and size when the sign is saved. The input field's character limit still applies.

The existing dynamic game font may load supported glyphs from its own source. No additional fonts or graphical emoji assets are bundled. Available symbols depend on the game font.

Русский

SignColorPicker добавляет в стандартное окно редактирования таблички кнопки «Цвет», «Символы» и квадратную кнопку выбора размера шрифта справа от «Символы». Элементы оформлены в стиле интерфейса игры.

В версии 1.0.3 появился выбор размера шрифта. Выбранные цвет и размер сохраняются при полной замене текста.

Возможности

  • 20 встроенных вариантов цвета, включая стандартный цвет таблички.
  • Дополнительные HEX-цвета через параметр CustomColorsHex.
  • Цвет и размер применяются ко всей надписи.
  • На квадратной кнопке отображается A в автоматическом режиме или выбранный размер.
  • Размеры от 2 до 10 с шагом 1, затем 12, 14, 16, 18, 20, 24, 28, 32, 36, 40, 48, 56, 64.
  • При очистке поля, замене выделенного текста или вставке нового текста цвет и размер не сбрасываются.
  • Список символов с переключением страниц; неподдерживаемые знаки скрыты.
  • Автоматическое обновление палитры после сохранения конфига, даже в открытом окне.
  • При русском языке игры используются русские подписи кнопок, при остальных языках — английские.

Использование

  1. Откройте табличку и введите текст.
  2. Нажмите «Цвет» и выберите квадрат. Первый квадрат возвращает стандартный цвет.
  3. При необходимости откройте «Символы» и выберите знак. Он добавится в конец текста; страницы переключаются стрелками.
  4. Нажмите квадратную кнопку справа от «Символы» и выберите размер. Список прокручивается колесом мыши или полосой справа. После отпускания полосы список остаётся открытым.
  5. Нажмите OK, чтобы сохранить изменения, или «Отмена», чтобы их отменить.

A — автоматический режим по умолчанию. Выбор «A» убирает заданный вручную размер и возвращает обычную механику определения размера в игре. Числа обозначают абсолютный размер шрифта таблички, без процентов. Если надпись выходит за её границы, выберите меньший размер.

Во время редактирования цвет и размер хранятся отдельно от текста. Можно стереть всю надпись или выделить её целиком и написать новую — выбранное оформление сохранится. Каждая табличка при открытии загружает собственные настройки.

Поле ввода сохраняет обычный размер текста для удобного редактирования и показывает выбранный цвет. Выбор размера влияет на надпись после сохранения. Разметка цвета и размера добавляется автоматически при нажатии OK; остальные теги оформления, например жирный или курсив, сохраняются.

Установка и конфигурация

Установите мод через Thunderstore Mod Manager или r2modman. Для ручной установки нужен BepInExPack Valheim; поместите SignColorPicker.dll в BepInEx/plugins/SignColorPicker/.

Мод нужен только клиенту, редактирующему таблички. На выделенный сервер устанавливать его не требуется.

Конфиг создаётся после первого запуска: BepInEx/config/com.xtasy.ValheimSignColorPicker.cfg.

Параметр CustomColorsHex задаёт дополнительные цвета в форматах #RRGGBB или #RRGGBBAA, разделённые запятыми или точками с запятой. Знак # необязателен; пустое значение отключает дополнительные цвета. Неверные значения пропускаются с предупреждением в логах. Пример приведён выше.

После сохранения конфига палитра обновляется автоматически, без перезапуска игры. Проверка изменений выполняется каждые 0,5 секунды.

Символы

Доступны поддерживаемые шрифтом знаки из разделов «Разные символы» U+2600–U+26FF и «Дингбаты» U+2700–U+27BF. На странице до 64 знаков. Выбранный символ добавляется в конец надписи и при сохранении получает выбранные цвет и размер. Лимит символов поля ввода продолжает действовать.

Используется шрифт таблички и уже подключённые к нему запасные шрифты. Дополнительные шрифты и графические эмодзи не поставляются. Доступность конкретных знаков зависит от шрифта игры.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.