weedmen Posted May 28, 2021 Share Posted May 28, 2021 Hello, how can I change the color of the tier bar? for example Link to comment Share on other sites More sharing options...
bdubyah Posted May 28, 2021 Share Posted May 28, 2021 qualityinfo.xml Link to comment Share on other sites More sharing options...
weedmen Posted May 29, 2021 Author Share Posted May 29, 2021 13 hours ago, bdubyah said: qualityinfo.xml it gives me this error 2021-05-29T01:19:24 41.655 ERR XML loader: Loading and parsing 'qualityinfo.xml' failed 2021-05-29T01:19:24 41.656 EXC Index was outside the bounds of the array. IndexOutOfRangeException: Index was outside the bounds of the array. at QualityInfo.Add (System.Int32 _key, System.String _hexColor) [0x0000c] in <8676d591e24b4790910cdee451580eac>:0 at QualityInfoFromXml+<CreateQualityInfo>d__0.MoveNext () [0x000be] in <8676d591e24b4790910cdee451580eac>:0 at ThreadManager+<CoroutineWrapperWithExceptionCallback>d__40.MoveNext () [0x00044] in <8676d591e24b4790910cdee451580eac>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Logger:masterLogException(Exception) Logger:Exception(Exception) Log:Exception(Exception) <>c__DisplayClass53_0:<loadSingleXml>b__2(Exception) <CoroutineWrapperWithExceptionCallback>d__40:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) It will be that I have something wrong in the XML <WeedMen420> <append xpath="/qualityinfo"> <quality key="7" color="2980B9" /> </append> </WeedMen420> Link to comment Share on other sites More sharing options...
Gamida Posted May 29, 2021 Share Posted May 29, 2021 I have no idea about this but am going to take an educated guess. You said you wanted to change the color. This is the colors I see. <?xml version="1.0" encoding="utf-8"?> <qualityinfo> <!--Broken--> <quality key="0" color="808080"/> <!--Junk --> <quality key="1" color="9C8867"/> <!--Common--> <quality key="2" color="CF7F29"/> <!--Uncommon--> <quality key="3" color="A2A41B"/> <!--Rare--> <quality key="4" color="42C234"/> <!--Epic--> <quality key="5" color="315DCE"/> <!--Legendary--> <quality key="6" color="A42ACC"/> </qualityinfo> The colors go up to level 6 items. You have key="7" To me that is not changing a color but adding one. A proper modder will be able to confirm or deny this easily so am sure one will be along momentarily. Link to comment Share on other sites More sharing options...
Jegethy Posted May 29, 2021 Share Posted May 29, 2021 You are able to change the colour of the 6 tiers, but you cannot add an additional quality tier without modifying the game files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now