Banner
Colored Skills Description - Updated
Thumbnail
Downloads6,161
Views12,979
Publish Date1 year ago
Last Updated2 weeks ago by
Version2.8.0
Members
Avatar
anubiOwner
Tags
Avatar

So I decided to do small test with this mod and this mod and they seem to conflict each other causing the other not to work.

If it was possible for you to combine these or at least give an advise how to combine them that'd be great. (It has something to do with DT_ChatRichTextStyles.uasset)

Cheers.

Avatar

The most elegant way to address this and similar scenarios, is to remove the build-in default "TextStyles" from the ColoredSkillsDescription_P.pak and have specific .pak file for different color styles, to let each user choose the preferable "TextStyle" from a list of available .paks.
I will do this small refactor on my mod.
The ColoredChat mod have already the required (Skills2 and Skills3) styles in the DT_ChatRichTextStyles.uasset, it will be safe to use refactored ColoredSkillsDescription_P.pak with ColoredChat mod.
Another story is to make work together 3 mods: this mod, ColoredChat and another mod for "Colored Buffs", in a way that skills color for texts and buffs matches.

Avatar

Try to install new ColoredSkillsDescription_P.pak v2.0.0, now comes without built-in text styles.

Avatar

@anubi I'll see if I can tweak the mods around and get the result I seek, so far the problem I have right now is:

  • when both mods are installed, when typing in chat it results in <PlayerName_0>{PlayerName}</>
  • when only Colored Chat is installed it displayed the name in the color from the Colored Names mod linked with Colored Chat
  • when only this mod (either text styles or both) is installed it just displayes the text white

aaand yeah I forgot to mention the Colored Names mod which works with the Colored Chat mod.

Have some screenshots showing what I mean: https://imgur.com/a/wX5Qn6u
(tested with the v2.0.0 version)

Thanks for any help in advance.

Avatar
(Owner)1 year ago(Edited)

@npete I did some tests having only following mods installed:

  • abkarino_ColoredChat_P.pak (Colored Chat)
  • PAYDAY2Colors-fix.pak (Colored Names)
  • ColoredSkillsDescription_P.pak (this mod, v2.0.0)

These mods works together, I don't see conflicts.
Another story if you want to change colors and you installed also another pak from this mod, like ColoredSkillsTextStyles_[...]_P.pak
In this case there is a conflict on the DT_ChatRichTextStyles database.

Avatar

@anubi Yeah I did want to change colors so it's certainly the textstyles.

I'll try to edit the file and pack it see how this turns out to work.

Avatar

@anubi I'm sorry for bothering you with this still, but I have tried to edit the TextStyles file and cook it so I can test it in game.

However I have no idea on how to get the modified json to be cooked in the UE so I can pak it for it to work in game.

Knowing you had to edit the file I want to ask you how to get this to work, if you do not mind of course.

(What I tried doing was to add the values from Colored Chat to your CDR TextStyles, but I do not know how to get it to work in the game... unless it's simpler than I think it is.)

Avatar

@npete I will be more pedantic here just in case new entries will read this and want to start modding.
The issue: I see a strange <PlayerName_0> ... </> in game.
The reason: the two mods edit the same file (DT_ChatRichTextStyles), making different changes in that file, the game engine loads 1 file only, if there are many files the engine loads only 1 version of the file according to a priority algorithm, the game loaded the DT_ChatRichTextStyles that does not contain the PlayerName_0 style.
The solution: make the game engine to load a version of the file (DT_ChatRichTextStyles) that contains all the required styles.
The task: merge the conflict file (DT_ChatRichTextStyles) in a way that contains all the required styles and make sure the game engine loads this instead of others.
First step I usually do: understand the changes of both mods.
My mod adds 2 styles (Skills2 and Skills3). ColoredChat adds 4 styles (PlayerName_0, ..., PlayerName_4).
I notice that ColoredChat contains also Skills2 and Skills3 styles, cool.
Then, I see 2 ways: (1) adding the 4 PlayerName_* into my version of DT_ChatRichTextStyles, or (2) change the 3 Skills* colors in the ColoredChat version.
Choose the way you prefer. Use UAssetGUI to read/edit/save the .uasset file. Once you finish with UAssetGUI, you can pak it into a new mod.
Once you got a .pak, you can play with engine-loading-priority setting a file name in higher lexicographic order.

Avatar

@anubi Well then UAssetGUI seems to do a bit more than I thought.
I'll play around with this at some point and give you the .pak from the result for people willing to use it.

Avatar

@anubi Alright I think this should be it.
Here's the page if you want to include it or something and these text styles should work fine with your .locres as well as mine and with the other mods.

I didn't include vlad's colored icons because I couldn't really get the values or some kind but it shouldn't be a major issue.

thanks a lot for the help.

Avatar

@npete I will do the same for Vlad's styles and upload all. It's harmless to include some styles that this mod by default does not use, but it's convenient to have for compatibility. Thanks

27 916