• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Hide Mana Burn floating texts?

Status
Not open for further replies.
Level 28
Joined
Feb 18, 2014
Messages
3,576
It's hardcoded indeed, you can try hiding it by editing the MiscData.txt file within the war3mpq folder but you cannot simply import it to your map and change it's path to UI/MiscData.txt because it will not work that way. You will need to have Local Files Enabled and create a new folder inside your warcraft 3 directory named UI and copy that file there. However, this will only work for you not for the others.
Code:
// ManaBurn text tag data
ManaBurnTextColor=255,82,82,255
ManaBurnTextVelocity=0,0.04,100
ManaBurnTextLifetime=5
ManaBurnTextFadeStart=2
 
Another thing about modifying MiscData is that it usually becomes incompatible with future versions of the game when you try to export it with the current version.

In terraining we use modified MiscData to create abnormal heights in the WE, if you try to get a custom MiscData from the tutorials (in the Tutorials section - which was exported from an older version of Warcraft 3) it will mess up the units buffs in-game (buffs become invisible) and many other things that depends on MiscData.

Soo yeah basically it's the same thing when modifying a line of Mana Burn in MiscData, modifying it is not a good option.
 
Last edited:
Level 21
Joined
May 29, 2013
Messages
1,567
That ability doesn't have lightning effects though.
You can create a dummy unit at the position of the caster and order it to cast a custom Chain Lightning that has the lightning effect of Mana Burn.
Creating it via triggers might work, but the lightning won't follow the caster unless it runs on 0.01 second timers.
Is that really necessary? The caster is not moving while casting the ability and the lightning effect only lasts for a split second.
MiscData from the tutorials (in the Tutorials section - which was exported from an older version of Warcraft 3) it will mess up the units buffs in-game (buffs become invisible) and many other things that depends on MiscData.
Can't we just use MiscData exported from the current version?
 
Level 12
Joined
Jun 12, 2010
Messages
413
That ability doesn't have lightning effects though. Creating it via triggers might work, but the lightning won't follow the caster unless it runs on 0.01 second timers.

Why not create an ability based on Chain Lightning or Finger of Death that does 0 damage? Then you can deal damage and drain mana through triggers. Unless you need it to work with amulet of spell shield?
 
Level 8
Joined
May 21, 2019
Messages
435
Why not create an ability based on Chain Lightning or Finger of Death that does 0 damage? Then you can deal damage and drain mana through triggers. Unless you need it to work with amulet of spell shield?
This honestly sounds like the best suggestion so far.
It's really easy to trigger this effect. All you need is 4 actions (pseudocoding it due to lack of WE on hand):
  • TempVariable = Current mana of target unit
  • If TempVariable > ManaBurnMaximum then Tempvariable = ManaBurnMaximum
  • Deal TempVariable damage to target unit from casting unit
  • Set current mana of target unit to (current mana of target unit - TempVariabe)
That should do it.
 
Status
Not open for further replies.
Top