1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  3. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  4. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Hide Min Damage

Submitted by Tasyen
This bundle is marked as approved. It works and satisfies the submission rules.

Introduction


A small custom UI edit. It removes the min damage part of attack 1 and 2.
8 - 11 +3 becomes 11 +3
1230 - 20000 -110 becomes 20000 -110

Contains a Lua and Vjass version.
Requires Warcraft 3 V1.31 or higher.

How to import:


Get the 2 imported files from the map and import them into your map.
war3mapImported\HideMinDamage.fdf
war3mapImported\HideMinDamage.toc
(beaware that in the non current version "Export All Files" can be buggy).​
Open Trigger Editor copy paste the wanted version into your map.

Insight


Technically it "hides" the default String-Frame and places a custom String-Frame at the same spot. It creates a custom one to be free from hardcoded behaviours (difficult to detect update times which lead to ugly fast updating text).

ChangeLog


V2) Perfroms smoother
(smaller default Timeout)
Skips not visible attacks
some optimiziations in vjass
Contents

Hide Min Damage V2 (Map)

  1. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    30
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    2
    Resources:
    30
    This is a pretty good utility, I'll keep this in hand. Would be neat for some genres with zero damage RnG.
     
  2. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,503
    Resources:
    9
    Models:
    1
    Icons:
    2
    Maps:
    2
    Spells:
    3
    JASS:
    1
    Resources:
    9
    Very interesting. Given that the actions are technically done locally, I think a smaller timeout would suffice here.

    Approved
     
  3. Tasyen

    Tasyen

    Joined:
    Jul 18, 2010
    Messages:
    1,611
    Resources:
    21
    Tools:
    2
    Maps:
    3
    Spells:
    11
    Tutorials:
    4
    JASS:
    1
    Resources:
    21
    what timeout you have in mind?
     
  4. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,503
    Resources:
    9
    Models:
    1
    Icons:
    2
    Maps:
    2
    Spells:
    3
    JASS:
    1
    Resources:
    9
    0.05 or 0.03125.
     
  5. Tasyen

    Tasyen

    Joined:
    Jul 18, 2010
    Messages:
    1,611
    Resources:
    21
    Tools:
    2
    Maps:
    3
    Spells:
    11
    Tutorials:
    4
    JASS:
    1
    Resources:
    21
    Updated to V2)
    Default update rate is now 0.05s.
    VJass finding now searches from second index to last, instead of last to second.
    Requires less steps for units with bonus/reduced damage.​
    VJass Library Renamed to HideMinDamageText
    Checks the visibility of Damage Info Frames instead of Single Unit selection Frame.
    Removed the valid index found check. If the Damage Frame is visible it will have that searched string.
    Less actions for units with 1 or no attack.​
     
    Last edited: Sep 9, 2020
  6. Tipou

    Tipou

    Joined:
    Aug 22, 2018
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Tasyen with the awesome work yet again!