• 0

    posted a message on Attributes Offset and Buff Icon

    Hi again.

    I have two other questions, which are probably simple to solve, nevertheless I can't find where or how.

    Instead of 3 usual Attributes of my Hero, I have 5. Due to that, the 5th attribute isn't visible, because it is hidden behind the bottom bar of the default starcraft ui. What I look is where I can add a small (negative) offset to the attribute column, so they slide a little higher and the 5th attribute is visible.

    The other question is whether it is possible to make a buff have no icon. The effect should be still active, only the indicator icon (default it is on the left of the wireframe model of the unit) should be gone. If I switch Data table onto Raw Data mode and delete the icon and tooltip entry, the icon just becomes a white square and the tooltip still shows a small empty text field on mouseover.

    Thank you very much in front!

    Greetz, Shianky

    Edit: Sorry, wanted to post it in UI Development actually.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Part-Solved] Data Reference to Variable?

    @Kueken531: Go

    Well it certainly is a solution but is there no more elegant way to do this? The player will control 3 Fighters, while each of them has up to 11 abilities, totaling a 33 different damage formula, which I am supposed to hide in let's say, marines', ghosts' and firebats' field values? I'm afraid I will loose track of where I put which formula. I think I will just let the tooltips be and point out only the stat, the ability is based on.

    Thanks anyway.

    Posted in: UI Development
  • 0

    posted a message on Set ability Level(solved)

    I wish I had found this post earlier. Had to learn the same stuff the hard way as well. Wanted to post it to prevent other mappers experience the same problem, where none shouldn't be and found this post.

    Summary for future viewers of this post:

    WARINING!

    "Unit - set level for Unit ability Ability to X" does NOT set it to X, instead it ADDS X to current ability level. What a waste of precious time to find it out, blaming variables for the mistake.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Part-Solved] Data Reference to Variable?

    @Kueken531:

    I looked into the tutorials and realized that I don't understand even the half of it. From what I got to understand those catalog entries are the default tables, preset by blizzard, the values of which can be changed via trigger. The problem is that my Abilities are "faked". Due to round-based-system i am using, I only need the abilities for my trgger to know, when a player uses an ability. From there, a chain of triggers lets the caster move to an area on the battlefield, play cast animation, calculate damage, place ability effecs etc. So there is no real connection between those catalogs except maybe the ability cost. The complete damage calculation is based on public and local variables in the trigger, which controls the events which happen after the player uses an ability on a unit.

    I explain a little further in hope that you might find a solution if you understood my proceeding better.

    In the calculation of the damage, there are 4 main things: Caster's level, level of ability used, caster's stat the ability is based on and a small random factor. When a caracter levels up, the player receives an ability point and 5 stat points (like for example it Diablo II), which he may use to increase his stats and an ability. How the points are used is saved in public variables (only the random factor is local in order for it being reset on each use of the trigger). When an ability is used, this formula is used to calculate the damage:

    ((0,2 * Level of Ability) * Caster's Stat the Ability is based on + 5 * Level of Caster) * Random Real between 0,8 and 1,2

    This is the actual damage dealt to an enemy or all enemies, which are hit by the ability. And exactly this formula I want to have in the tooltip. Something like "Ability A: Deals x - y Damage to All Enemies."

    Thus the problem so far.

    Posted in: UI Development
  • 0

    posted a message on [Part-Solved] Data Reference to Variable?

    @Kueken531: Go

    Thanks for the Links, I'll look into it.

    Posted in: UI Development
  • 0

    posted a message on [Part-Solved] Data Reference to Variable?

    @Kueken531: Go

    Thank you for your answer.

    Would you please exactly explain what you mean? What are catalog triggers?

    Posted in: UI Development
  • 0

    posted a message on [Part-Solved] Data Reference to Variable?

    Hello community of the great SC2Mapster Forum!

    I am currently making a round-based-rpg-style game. For that i made custom Units and custom Abilities and so on. Now I am trying to make a tooltip for an ability, which automaticly calculates the damage it deals, based on level and stats of the caster. During triggering, I capture all the stats and stuff in variables and by using the ability, the damage is calculated correctly. Now the question:

    Is there a way to link Tooltip Data Reference to a Variable?

    If not, what other way is there? The table of custom made units and abilities and behaviors seems to be empty while browsing Data References. What can I do?

    Thanks for the help!

    Greetz, Shianky

    Posted in: UI Development
  • To post a comment, please or register a new account.