Spherical Posted August 22, 2018 Posted August 22, 2018 (edited) So, I got a issue/question that I was wondering if someone could try to replicate or perhaps even have an answer to... When working in the gui.stringtable file I ran into an issue when altering ID 1104. There seems to be some kind of code "spilling over" to other parts of the gui text that's unintended. This code: <Entry> <ID>1104</ID> <DefaultText><line-height=100%><link="glossary://GlossaryEntry_Health"><#80e27e>{0} Health<space=0.7em><voffset=0.1em><size=80%><sprite="Inline" name="cs_health" tint=1></size></voffset><space=-0.8em><voffset=0.8em><size=45%><#4caf50><sprite="Inline" name="cs_health" tint=1></color></size></voffset></color></link> Restored</line-height></DefaultText> <FemaleText /> </Entry> Results in this "spill over" effect: The area marked in red becomes one continuous link but the link should only start at "+13.3" if I understand things correctly.Anyone got any theories as to why this might happen? The "Party Wide Effect" is from the pet Abraham if that helps any. Edit: This issue persist even if <ID>1104</ID> is the only entry in the mods gui.stringtable file. Edited August 22, 2018 by Spherical Editor and DesignerEnhanced User InterfaceNexus Mods | Steam Workshop
Spherical Posted August 22, 2018 Author Posted August 22, 2018 What makes things even stranger is that adding an additional link (without closing it) right at the start of the <DefaultText> tag seems to fix the issue: <Entry> <ID>1104</ID> <DefaultText><link="glossary://GlossaryEntry_Health"><line-height=100%><link="glossary://GlossaryEntry_Health"><#80e27e>{0} Health<space=0.7em><voffset=0.1em><size=80%><sprite="Inline" name="cs_health" tint=1></size></voffset><space=-0.8em><voffset=0.8em><size=45%><#4caf50><sprite="Inline" name="cs_health" tint=1></color></size></voffset></color></link> Restored</line-height></DefaultText> <FemaleText /> </Entry> Editor and DesignerEnhanced User InterfaceNexus Mods | Steam Workshop
BMac Posted August 25, 2018 Posted August 25, 2018 It looks like it's because you've put "{0} Health" inside a link, but the {0} can also contain a link (to trigger the breakdown tooltip). Links inside of links cause either TextMesh Pro or the glossary link inserter to break. You should make sure the {0} part is not inside your manual glossary link, or use to disable the glossary link inserter inside your manual link. 2
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