[WOTC] Custom Item Name Formats

If you liked this item, please rate it up on Steam Workshop page.

Author: Zelfana

Last revision: 24 Apr at 19:36 UTC (6)

File size: 334.99 KB

On Steam Workshop

Description:
Overview

This mod allows you to customize your item names. You can change colors, add custom prefixes or suffixes. Everything is highly configurable.

Default settings include colors for the vanilla game and a lot of mods. Equipment is colored by tech tier, type and slot, with unique equipment colored differently per mod. Corpses and some mod-specific resources are colored differently from other resources.

Configuration
<Steam>steamappsworkshopcontent2685002868237788ConfigXComZelfCustomItemNameFormats.ini

Format presets make it easy to change an entire item category’s look in one place. Presets are then applied by configurable rules. Rules have many options.

There are some commented out alternatives in the config for stat based coloring for PCS and different colors for all vanilla resources.

There won’t be Mod Config Menu support at this point in time. It would effectively require new functionality in MCM.

Compatibility

This mod attempts to run last and preserves color tags done by other mods by default. Formatting rules can be configured to strip existing tags. Config includes some of these commented out.

UI – Colored Weapon Tiers is incompatible due to duplicated functionality. You can edit this mod’s config if you want to change the colors.

Runs before TeslaRage’s Loot Mod to take priority in weapon upgrade formatting. Default colors are still the same apart from coloring Armour Upgrades differently. TLM will still colorize nicknames as usual.

Mod Class Overrides

This mod includes Mod Class Overrides (MCO) for UIInventory_ListItem and UIFacilitySummary_ListItem to improve readability for disabled/selected colored text in lists. They are not required for the colors to work in general so if you get a conflicts on them you can remove the ModClassOverrides lines in config:

<Steam>steamappsworkshopcontent2685002868237788ConfigXComEngine.ini

Known compatible mods that color items

… and any other mod not explicitly mentioned here that adds color in localization.

Companion mods

Color Your Techs is another mod that uses a similar system and is a good companion mod for this. As a bonus it benefits from the colored text highlighting fix.

Zelfana’s Assorted Fixes Config includes config for Color Your Techs that is color-coordinated with this mod.

Credits

I snatched the idea and some remolded code from UI – Colored Weapon Tiers, but expanded functionality to all items with more customization. Thanks to ∑3245 for the work put into that mod, and TeslaRage for the additional work in Color Your Techs.

Also thanks to RustyDios for some extra color coordination. Some color choices are from Unit Flag Extended.

Notes

As mentioned this mod will not change colors done by other mods without extra config work. This is up to you, the user, to change in the configuration.

Item nicknames won’t be colored by this mod as those are entirely separate from the localized name of the item. XSkin will copy colored names, though, if the option for name changing is enabled.

Some mods create items with Iridar’s Template Master and those items will show WOTCIridarTemplateMaster as their script package.

Let me know in the comments of any mods that is not getting its items colored at all or it has some resource items or unique equipment that you feel should get their own special color. Also definitely tell if you found unexpected behaviour or bugs.

Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen
Required items:

Click the title to search on this site.


X2WOTCCommunityHighlander v1.27.1Steam Workshop