• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[General] Exact attack / movement speed

Status
Not open for further replies.
Level 3
Joined
Aug 27, 2019
Messages
44
Can I modify unit attack / armor tooltip so that it shows exact attack / movement speed?

On default it is described by words like "Slow" or "Medium".
 

Wrda

Spell Reviewer
Level 26
Joined
Nov 18, 2012
Messages
1,895
Unit attack? Damage? Yes.
Armor tooltip, you can never make it show the exact movement speed there unless you trigger it yourself with something like changing armor value to the unit's exact movement speed.
 
From ui/miscdata.txt
Code:
[InfoPanel]
MeleeRangeMax=128
SpeedVerySlow=175   // lower bound, everything below this is "very slow"
SpeedSlow=220
SpeedAverage=280
SpeedFast=350      // upper bound, everything above this is "very fast"
AttackVerySlow=3   // upper bound, everything above this is "very slow"
AttackSlow=2
AttackAverage=1.5
AttackFast=1       // lower bound, everything below this is "very fast"
 
Status
Not open for further replies.
Top