HOWTO: Change Text |
With DHUD 0.9 i introduced a new way to customize Textboxes. You can change all
Textboxes with Options found within the "Unit Text" Tab. There are 2 Ways to change Texts. The fastest way is to Chose an Option from the Selectbox. There you can find some presets i made. The more complex but much more flexible way is to change the text in the Editbox. Here you can put in some <TAGS>. Example: "<hp_value>" This will put in the Hitpoints. What Hitpoints depends on what Editbox youre using. If you use this in a "Player" Editbox it will put in the Player Hitponts. There are 4 types of Editboxes. 2 for Players, 2 for your Pet, 3 for your Target and 2 for Castingbar based Text. So it is NOT possible to Show Player HP and Target HP in the same Editbox. Pleate Note that the Textboxes are NOT Multiline yet. I will add that Feature after DHUD 0.9 release. Now here is a list what <TAGS> you can use: Tags for the Castingtime & Castingdelay Textboxes: <spellname> The Name of Spell you are currently casting. Put this only in the Casttime or Castdelay Box. <casttime> Your current Casttime. Put this only in the Casttime or Castdelay Box. <casttime_remain> Your current remaining casttime. Put this only in the Casttime or Castdelay Box. <casttime_delay> The time your Spell is delayed. Put this only in the Casttime or Castdelay Box. Hitpoint Tags: <hp_percent> The Hitpoints in Percent of the Unit. This can pe put in Player, Pet and Target Textbox. <hp_value> The Hitpoints as Value of the Unit. This only works for Target when u install a Addon like MobInfo2. This can pe put in Player, Pet and Target Textbox. <hp_max> The max Hitpoints as Value of the Unit. This only works for Target when u install a Addon like MobInfo2. This can pe put in Player, Pet and Target Textbox. <hp_diff> The difference from the current Hitpoints to max Hitpoints. This only works for Target when u install a Addon like MobInfo2. This can pe put in Player, Pet and Target Textbox. Mana Tags: <mp_percent> The Mana in Percent of the Unit. This can pe put in Player, Pet and Target Textbox. <mp_value> The Mana as Value of the Unit. This can pe put in Player, Pet and Target Textbox. <mp_max> The max Mana as Value of the Unit. This can pe put in Player, Pet and Target Textbox. <mp_diff> The difference from the current Mana to max Mana. This can pe put in Player, Pet and Target Textbox. <mp_value_druid> When Druidbar is installed, this will show your current Mana as Value when Shapeshifted. This works in any Textbox. <mp_max_druid> When Druidbar is installed, this will show your max Mana as Value when Shapeshifted. This works in any Textbox. <mp_percent_druid> When Druidbar is installed, this will show your Mana in Percent when Shapeshifted. This works in any Textbox. Color Tags: <color> This will change the Textcolor. After the tag you have to put the Color in Hex_values eg: <color>ff0000 Test </color> This will change the Textcolor to Red. This works in any Textbox. </color> This will reset to the default Color (White). <color_level> This will change the Textcolor to the Level Color of the Unit. This only make sense in Target Textboxes. <color_class> This will change the Textcolor to the Class Color of the Unit. This can pe put in Player, Pet and Target Textbox. <color_reaction> This will change the Textcolor to the Reaction Color of the Unit. This only make sense in Target Textboxes. Other Tags: <name> The Name of the Unit. This can pe put in Player, Pet and Target Textbox. <level> The Level of the Unit. This can pe put in Player, Pet and Target Textbox. <elite> This shows if Unit is Elite or Rare. This only make sense in Target Textboxes. <type> The Type / Classification of the Unit. This only make sense in Target Textboxes. <class> The Class of the Unit. This can pe put in Player, Pet and Target Textbox. <pet> This shows "PET" if the Unit is a Pet. This only make sense in Target Textboxes. <npc> This shows "NPC" if the Unit is a NPC. This only make sense in Target Textboxes. <faction> The Faction of the Unit. This only make sense in Target Textboxes. <combopoints> Rogue / Druid Combopoints. This only make sense in Target Textboxes. <pvp> This shows "PvP" if the Unit is a PvP flagged. This can pe put in Player, Pet and Target Textbox. <pvp_rank> This shows the PvP Rank of the Unit. This can pe put in Player and Target Textbox. <raidgroup> This shows the Raidgroup Number of the Unit. This can pe put in Player and Target Textbox. <guild> This shows the Guilld of the Unit. This can pe put in Player and Target Textbox. |