No space Characters Guide DD-Modding
What are tooltips with no space?
To say it simple it is just tooltip that have inside many characters that take no space.
In my case i used around 200* Zero Width Space*[en.wikipedia.org]
- [Example Tooltip]
- [Example Tooltip]
Visually it looks exactly the same but game will show you that those really are different.
*big amounts are not required but recommended.
Minimum amount of no space characters is related to the length of tooltip. And it has exactly the same properties as much easier to do overkill.
"" free sample of 200 no-spacers between " and "
useful link Priority of trinket effect triggers List[docs.google.com]
Properties of tooltips with no-spaces
- Always count as tooltips with max amount of characters, no matter the amount of text inside.
(because they take up entire space of tooltip) - They can delete a couple of next characters. Depend on amount of normal characters. [You should always try to get that result!]
(it happens always when amount of them is big enough, probably fault is in how DD was coded but noone can be sure)
Property of deleting next characters is directly related to the amount of normal* characters used in tooltips.
*aka everything that isn't zero width space
and this applies to every no_space tooltip, next "deleting amount" is always 3 characters longer than the previous.
*minor exeption: Sometimes there is possibility to have 1 char shorter deleting amount. It is not reliable and highly not recommended.
If you try to delete characters but there is no characters left
at the end of your string ! will appear
So solve that problem zero width spaces of your most bottom tooltip need be recoloured: {colour_start|invisible}{colour_end}
colour: .id "invisible" .rgba 0 0 0 0This will turn ! to be transparent
† sometimes happens at end of tooltip if your zero width don't delete couple characters.
just add 1 or 2 characters to make tooltip with deleting property to solve this problem.
How to Use no-space tooltip
Depend what you want achieve:
But i have couple usually wanted examples.
It will delete "enter" character.
<entry id="buff_stat_tooltip_upgrade_discount_NbbOwl_SmoBomb_END"><![CDATA[ {colour_start|notable}Cooldown: 4 rds{colour_end} {colour_start|invisible}{colour_end}]]></entry>
<entry id="buff_stat_tooltip_upgrade_discount_1_empty_space_deleter"> <![CDATA[]]></entry>
*This method will not work if trinket have not hidden effect trigger that is higher priority than every hidden ones.
Priority of triggers List[docs.google.com]
It will delete "enter" character as long as visible trigger is above hidden one.
Last one with re-coloured to transparent.
Char limit of trinket is 1023 so all characters will be replaced by your toolips.
**This trinket have inside every effect trigger in game.
Tooltips used for this trinket:
<entry id="buff_rule_data_tooltip_text_1"><![CDATA[+10% DMG]]></entry>
<entry id="buff_rule_data_tooltip_text_2"><![CDATA[ +15 ACC]]></entry>
<entry id="buff_rule_data_tooltip_text_3"><![CDATA[ Any Skill: {colour_start|buff}Buff self:{colour_end} +15 ACC]]></entry>
<entry id="buff_rule_data_tooltip_text_4"><![CDATA[ On Hit: Produce Random {colour_start|notable}Supplies {colour_end}{colour_start|invisible}{colour_end}]]></entry>
skill tooltip need no-spacers with invisible recolour at end
<entry id="buff_rule_data_tooltip_sas_powerful_TT"> <![CDATA[Custom Tooltips on Affliction/Virtue icons{colour_start|invisible}{colour_end}]]></entry>
***downside: RH made stalth ignore that it don't care about rules and values so it works anyway...
skill tooltip need no-spacers with invisible recolour at end
<entry id="buff_rule_data_tooltip_sas_camp_TT"><![CDATA[ Custom Tooltip For Camp corner icon{colour_start|invisible}{colour_end}]]></entry> ****No way to add duration indication in that way.
Most important tooltips and limits
- weapon name: 127 char
- tooltips for skills: 511 char
- tooltips for camp skills: 511 char per camp target (eg. 511 for self, 511 for invidual etc)
- skill name: 63 char
- trinket buff+effect triggers: 1023 char
- trinket set name: 255 char
- trinket set buffs: 511 char
- mode info: 63 char
- upgrade_discount (custom tooltip): 127 char
- quirk_tag_evolution_duration: 127 char
- Skill rule: 255 char
Last Comments
Using those is very rewarding but they require you to think oustide DD-modding box.
I hope that you guys will more likely to use them <3
good luck and have good time!
Special Thanks for O'Nightmare for showing me No space characters first time.
This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.