Universal Property Enhancer Help

Palette Icons

Feature

You can add custom palette icons with this feature, like Creepy & Cute and Bot Parts do.

Usage

All palette icon data is defined inside the paletteicons folder, so you must first create that folder in your mod.

Create a .prop file with a unique name in the paletteicons folder.

Add the following properties to that prop file:

  • key paletteSetButtonBackgroundIcon common~!bgicon.png

    Edit common~!bgicon.png to point to your icon background.

  • key paletteSetButtonIcon common~!icon.png

    Edit common~!icon.png to point to your icon.

  • key paletteSetButtonLayout layouts~!0x98F661C7.layout

    Usually, you don't need to edit this.

  • texts paletteSetName (0x0!0x0) "" end

    This is the text that appears when you hover over your icon, point it to your locale property and your text.

  • int32 paletteSetSequenceNumber 1025

    This determines the ordering of palette icons in relation to each other

Then for every page you want to have your icon, add the following property:

int32 palettePageSetId hash(PALETTEICONPROP)

Editing PALETTEICONPROP to be the name of your palette icon prop file (excluding the file extension).

Last modified: 05 September 2024