Tutorial Raw Data Tutorial

Oninuva

You can change this now in User CP.
Reaction score
221
Raw Data Tutorial
Written By: Oninuva

Raw Data is used in Tool tips and Jass (AbilityID). Raw Data pulls information from a specific object and puts it into writing for Jass(AbiID) coding and tooltips. This tutorial will teach you how to use Raw Data in tool tips and also explain what they are. It will not teach you how to use Jass or use them in Jass Raw Data is useful for Tooltips because; 1. You can change values without going back to change tooltips, 2. It’s clean and easy to make multi-level tooltips quickly and 3. It is precisely the value of the data.

Raw Data is displayed as this:
<Obj#;ObjType,ObjData>

Obj# is the number of the object if it is a custom one. (copy paste, new object, etc)
ObjType is the type of object if it is the original, or if it is a copy; what object it was based on.
ObjData is the field to take Data from. (Most abilities DataA1 = Damage)

A Mountain King’s storm bolt ability tool tip would be:
<A000:AHtb,dataA1> In a tool tip it would look like: 100

The Blizzard version of this skill would be:

<AHtb:dataA1>

Notice it does not have A000 because it is the original version of the skill.

Note: All custom skills will have an Obj #

Now to actually view the Raw Data you will need to open up world editor and hit Ctrl + D or go to View > Display Values as Raw Data (Ctrl+D). This will change all your object names and data to values that might look confusing to you.

rawdata001ej4.jpg


Take a closer look at them and you will notice this:

rawdata002pz6.jpg


The original Blizzard skills only have the ObjType but no Obj#. The Raw Data can be used in a tool tip and is global, meaning you can have data from other skills show up on another.

There are a few data fields that require only the Obj# which are buffs, effects, and related fields.

Tips n’ Tricks

- When creating tool tips with multiple ranks use the Auto Fill Level feature. If you are using Raw Data in the tool tip it will auto change them to the specific level of the object. Ex: <AHtb:dataA1> will change to <AHtb:dataA2> on the second level of the object using auto fill level feature.
- Often times when tool tips may seem bugged or not working it is because you need a space in front and behind the <>.
- Letters that are often missed when looking at Object# and ObjectType are L and I lower cased and also 1, I, and l.
- The Level of the ability or upgrade a Raw Data tooltip function is pulling from is determined by the 1 in <AHtb:dataA1>, that will show the level one damage of storm bolt. If you change the 1 to 2 it will show the level 2 damage.
- If your feeling happy then post a comment.

Notes:
- Raw Data does not count toward the tool tip letter limit.
- Raw Data cannot be used in trigger functions such as: "Display to Players" and "Create Floating Text"
 

Chocobo

White-Flower
Reaction score
409
> Used in JASS.
No, it isn't. It's abilityId.


> <A000:AHtb,dataA1>
Should be : <A000,dataA1>

AHtb = Human Storm Bolt base abilityId
A000 = abilityId given while creating an ability
dataA1 = Field given to the argument


> Use Raw Data in tool tips often
Half-Dynamic Tooltips have ever a way to fail, if you put a incorrect data. The safest way stills the way to put oneself the data we want, but Blizzard made it to be able to modify quickly one data without changing all the datas linked to the desired value.
 

Oninuva

You can change this now in User CP.
Reaction score
221
> No it isn't. It's abilityId
Well, the AbilityID is used in Tooltips.

>Should be: <A000,dataA1>
If you delete the skill, then it will show at 0. It's more precise with <AHtb>

>Half-Dynamic Tooltips have ever a way to fail, if you put a incorrect data. The safest way stills the way to put oneself the data we want, but Blizzard made it to be able to modify quickly one data without changing all the datas linked to the desired value.

Problems with Raw Data is, if you delete a skill, all the Obj#'s will change and that is a main reason why tooltips are bugged. I agree, the safest way is to put in the data itself, but Raw Data is much more convinient when creating multiple ranked objects.
 

Chocobo

White-Flower
Reaction score
409
>Should be: <A000,dataA1>
If you delete the skill, then it will show at 0. It's more precise with <AHtb>

AHtb = Human Storm Bolt (base spell)
A000 = AbilityId

Adding AHtb or not won't change something to the tooltip, unless you linked something to it.

Why would it be safer, also?
Lets think you write :

<A000:A001,dataA1>

What would it do? Since you can't link A000 to A001 (in both orders), the answer to the tooltip will be 'nullified' as 0. (integer = 0 since nothing in the value can be find, because ASCII integer 'A000:A001' doesn't exist)
 
I

IKilledKEnny

Guest
Nice tutorial but a little short in my opinion. Also I suggest making the first picture a little bigger really hard to see (or am I simply blind?)

Also explain this: <Obj#;ObjType,ObjData> don't simply give an example. Say that it needs to be betweeen <>, what is Obj#,ObjType and ObjData.

> Use Raw Data in tool tips often

Explain why.
 

Rinpun

Ex TH Member
Reaction score
105
Did you find this out yourself? Cause I recall telling you how this worked :p

Anyhow, no, there's no reason to use raw data in a tooltip often. It really depends on what you want to do. In most cases, if you're triggering an ability, you can't use raw data to show the statistics of the spell. It's only useful when you're just taking a Blizzard ability and modifying the effect slightly (changing a couple strings, a couple numbers, and maybe the sfx displayed), which is something Oninuva does a lot.
 

Oninuva

You can change this now in User CP.
Reaction score
221
Did you find this out yourself? Cause I recall telling you how this worked :p

Anyhow, no, there's no reason to use raw data in a tooltip often. It really depends on what you want to do. In most cases, if you're triggering an ability, you can't use raw data to show the statistics of the spell. It's only useful when you're just taking a Blizzard ability and modifying the effect slightly (changing a couple strings, a couple numbers, and maybe the sfx displayed), which is something Oninuva does a lot.

What are you talking about.. I don't even make maps anymore, how can I use Blizzard skills a lot O_O. And about finding out myself, the only thing you told me is that there is no space between.
 

Rinpun

Ex TH Member
Reaction score
105
What are you talking about.. I don't even make maps anymore, how can I use Blizzard skills a lot O_O.

Every time you mapped you kept trying to avoid triggering spells :p

oninuva said:
And about finding out myself, the only thing you told me is that there is no space between.

BS. Try again -.-
 
I

IKilledKEnny

Guest
Great pic!! Ha! Anyway oninuva did you read my comment? I suggest you add these it would make the tutorail clearer this way.
 

Arkan

Nobody rides for free
Reaction score
92
I really wouldn't recommend to use raw data in tool tips at all, also the tooltip can't view real values properly, this can be seen in Critical Strike for eg.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
nice tutorial (+Rep)
I really wouldn't recommend to use raw data in tool tips at all, also the tooltip can't view real values properly, this can be seen in Critical Strike for eg.
why not?
what would u do in case u got 50 levels for ability?
u gonna write them all in the learn tool tip?
the most simple way is using raw data for this case
 

Arkan

Nobody rides for free
Reaction score
92
Maybe for a 50 level ability, should I ever have such a thing.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
well not everything is about you and this tutorial is for every1 in the forum.
if u don't find it useful don't read it (no1 will stop u ;))
 
I

IKilledKEnny

Guest
Raw data in tooltips is a bit of a problem becuase there is letters limit in tooltips, I don't know if it's counted or not but if it does then it makes few numbers writtne as much longer string, that's why I prefer not using them.

Also oninuva, can you use inside triggers a Raw data? For example:

Show to all player 5 seconds: <A000:AHtb,dataA1>

I suggest you post the answer in the tutorial because it will be good to know that.
 

Oninuva

You can change this now in User CP.
Reaction score
221
Raw data in tooltips is a bit of a problem becuase there is letters limit in tooltips

No, they are not counted.

Maybe for a 50 level ability, should I ever have such a thing.

Not just abilites, upgrades too. And please do not flame my thread. If you are so "leet" then go write your own tutorial about why not to use Raw Data.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top