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.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top