XCOM 2
94 vurderinger
[WOTC] Custom Item Name Formats
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
396.542 KB
26. sep. 2022 kl. 19:38
20. maj kl. 7:50
30 ændringsbemærkninger ( vis )
Du mangler DLC for at kunne bruge dette emne.

Abonner for at downloade
[WOTC] Custom Item Name Formats

I 1 samling af Zelfana
Actually UI
105 genstande
Beskrivelse
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>\steamapps\workshop\content\268500\2868237788\Config\XComZelfCustomItemNameFormats.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 most 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. There is also an MCO for UITacticalHUD_Inventory to fix colored weapon name displays in tactical which is what Colored Weapon Tiers also has but the version in that mod is less compatible. These 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>\steamapps\workshop\content\268500\2868237788\Config\XComEngine.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. Also includes config for EvilBob's Dejanker to override colors from other mods.

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 most 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.
Populære diskussioner Vis alle (2)
0
22. aug. 2023 kl. 14:55
FASTGJORT: Share your configs here
Zelfana
37 kommentarer
HKR31 6. aug. kl. 13:21 
It works now
Thank you
Zelfana  [ophavsmand] 6. aug. kl. 11:31 
That will most likely only affect base game Chosen weapons, if you have any mod added ones they have their own rules in the mod support section. These also won't change the research name colors as those are in Color Your Techs config in Assorted Fixes Config. And lastly, if anything sets a color for these directly in localization that will take precedence unless you enable StripExistingTags in the rule.
HKR31 6. aug. kl. 1:56 
I want to changed the chosen weapons color to red but it still remains psionic.
I only changed "psionic" with "advent" in the Ruler/Chosen related items section.
TGalaxy 24. sep. 2024 kl. 10:09 
@Zelfana I loveee youuu (ur mods) :psi:
Zelfana  [ophavsmand] 13. maj 2024 kl. 0:09 
@HKR31

You'd need to make your own config lines for Bitterfrost Protocol items because I feel like they are more useful colored by their generic type rather than just all frosty blue since none of those items are unique apart from the Winter King's Fangs which get frost color from having FreezingLash on it.

For Children of the King it should work by just putting the relevant commented out lines in use. StripExistingTags needs to be enabled because the items have that default blue color in localization.

For the techs you're gonna have to change that directly in the localization because Color Your Techs can't remove existing color tags.
HKR31 12. maj 2024 kl. 15:40 
@Zelfana
How do i activate the frost colors for 'bitterfrost protocol' and 'children of the king' to be the same as the vanilla viper king items (serpent armor and winter fangs?
In the configs that color is chosen (frost) but the regular blue color appears that is set for tier 2 weapons
Also in 'color my tech' mod
Zelfana  [ophavsmand] 17. apr. 2024 kl. 3:19 
It's not directly a problem with this mod as that is a X2TechTemplate which this mod does not colorize. Duplicate font tags can be a problem for the game itself.
Zelfana  [ophavsmand] 17. apr. 2024 kl. 3:17 
Hmm, that would be a clash with Color My Techs then as it would be adding font color tags to that as well. I'll check if I can reproduce this and also see if it happens without my mod as well.
Denis 2101 17. apr. 2024 kl. 3:09 
The error was due to this in the localization file (Duplication of blocks in localization)
I removed the excess - the freezes are over

[PlatedVestProject X2TechTemplate]
DisplayName="Tactical Vest"
Summary="The Tactical Vest will provide armor, hit points, and critical hit resistance."

...

[PlatedVestProject X2TechTemplate]
DisplayName="<font color='#00D286'>Tactical Vest</font>"
Denis 2101 16. apr. 2024 kl. 22:27 
@Zelfana, Thanks for the reply. I'll try to find the reason for the error later.