HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

NOT ABILITY, IT'S UNIT DATA for Tooltips

04-05-2009, 03:39 PM#1
SanKakU
http://www.wc3c.net/showthread.php?t=104086
ok yes I know this tutorial exists, this is the third forum i'm posting this in, because I badly need the answer to this question, and I don't want someone posting a reply that is only the above link. I'm saving you the trouble of doing that.
the above link explains what I learned on my own, plus a couple of things I didn't figure out on my own, like what exactly happens when you put ,% or ,. etc after the datafield.

BUT...it only talks about abilities! look at the ability tooltips for summon water elemental under human hero abilities. what do you find in the tooltips for learn extended and normal extended? it lists information from a unit! you can find the units under human melee special, right? but what about the datafields...those are not found under the unit's datafields! for example, if this were the same as abilities then the realHP should read HP. at first I thought this meant that you had to call a real (a number). but this didn't solve my problem. I think the information is totally different from the raw data that is displayed when you ask for it in the editor. especially obviously explaining this conclusion is the following example. do you see the part explaining how much damage the water elemental does? it explains it just like how it does in game, something like 30-60 damage right? (numbers are off, but that's the format) But when editing a unit's damage you will know that there is no field like that. Everything has to work according to dice and so on so I'm not sure how the calcuations work out exactly I haven't gotten that far yet...but I know there are a lot of different fields in the datafields under a unit for damage, and none of them even look like mindmg1 and maxdmg1. that's what is in the tooltip for the water elementals. and what it does look like is the end result. so, realHP may be the end result also of that other thing. That's great, if only those two stats were all I needed of a unit's stats to be displayed in a tooltip! But obviously summon water elemental ability does not display all stats of the water elemental, and certainly doesn't go so far as to declare it a hero and start talking about it's non-existent hero stats. I'm making a map, and I want to have in the tooltips an explanation of a hero's stats, much like in dota...anyway I don't want to edit the tooltips over and over again while balancing the heroes. I can't get things like starting agility and agility per level displayed I keep getting zeroes displayed. AGI and AGIplus are the datafields, but those aren't working for the tooltips. I tried realAGI and realAGIplus after i saw the realHP from HP thing but that didn't work. I'm totally stuck there has to be a list somewhere! or are there a lot of other things besides summon water elemental that I can be looking at? if there is, I can't think of what they are...I mean sure I could look at feral spirit and so on, but come on, those are just units those informations are rather irrelevant since nothing like that has hero stats to be displayed...

edit: what is the infrormation like uagi after the field name for anyway? i tried using it also for the tooltips and that doesn't work...(starting agility) maybe there's a format for using those four digit IDs? isn't that what they are?
04-05-2009, 04:56 PM#2
Alevice
try using the display values as raw data, it shows the real field names you need for tootltip display.
04-05-2009, 05:36 PM#3
SanKakU
Quote:
Originally Posted by Alevice
try using the display values as raw data, it shows the real field names you need for tootltip display.
yeah i did, it doesn't work.

also i tried looking into the .slk files to see if i could find something like this that would be displayable but so far i haven't. at least as in regards to the hero attributes...i did, however, find the realHP and mindmg1 and maxdmg1 stuff which WASN'T in the WE editor...

if anyone finds the files that are editable in the tooltips from the .slk files please let me know...