I want to add an animation when a passive procs.

Demerzel2

New Member
Reaction score
0
I'm new to this, but how can I add a special effect when a passive procures? For example, I want to add the Incinerate buff special effect to my hero's hand when a critical strike takes place.
 

Necrach

You can change this now in User CP.
Reaction score
62
Then your critical hit, bash or whatever it is have to be triggered. Are you using GUI? Get a damage detection system, trigger your critical strike and suddenly its very easy to add the special effect :eek:
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
if you are new to this the most recommended thing is to forget about this.
there is no easy solution to what you are trying. even more experienced map makers will have their difficulty making something like this only for a critical strike because it will need at least a proper damage detection system.
and adding such stuff, or even creating one yourself, isnt for beginners and doing this only for a single ability, and furthermore only for a little eye candy of a single ability is not just overkill but pretty much overkill.
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
still needs a good damage detection system.
should also use a decent random number system since the editors build in random is not known to be the brightest star on the nightsky.
 

Ashlebede

New Member
Reaction score
43
still needs a good damage detection system.

Why so ? Ever heard of the "A unit is attacked" event ? Unless there is a unit with major evasion chance or something, it shouldn't matter too much.

should also use a decent random number system since the editors build in random is not known to be the brightest star on the nightsky.

It's not that bad...
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
first of all it IS bad. period.

and the "unit is attacked" event is incredibly unreliable for such an ability like critical strike.

the major problem of that event is that it doesnt fire when the unit is "hitting" its target but, as the event says, when its "attacking". that means it fires before any damage is dealt.
this gives 2 problems.
1). we do not know how much damage the attack will deal since it hasnt landed so far and we cannot use any event response for it.

2). for every units whichs "combat - attack point" value is not equal to 0.00 this event can glitch if the player is mass issueing his unit to attack a target. because the event will fire each time the unit is "trying" to hit the enemy, a.k.a. "attacking". and you can order to attack => event firing, before attack is done order to attack => event is firing.
this can be done without waiting for any attack cooldown which gives us incredible attack speed + critical strike = imbalanced hero of hell.

the damage detection system is vital for a custom critical strike ability, it cannot be replaced by anything.
at least not effectively.
 

Ashlebede

New Member
Reaction score
43
Accname said:
we do not know how much damage the attack will deal since it hasnt landed so far and we cannot use any event response for it.

Ashlebede said:
Constant damage factor




Accname said:
for every units whichs "combat - attack point" value is not equal to 0.00 this event can glitch if the player is mass issueing his unit to attack a target. because the event will fire each time the unit is "trying" to hit the enemy, a.k.a. "attacking". and you can order to attack => event firing, before attack is done order to attack => event is firing.
this can be done without waiting for any attack cooldown which gives us incredible attack speed + critical strike = imbalanced hero of hell.

That one does depend on your hero. If the hero already has a fast attack speed and/or the damage is not major, this doesn't matter so much. But I have to admit that is a lot of conditions. I'm just saying it can be done if those conditions are met without reaching imbalance.

And how is the random number generation so bad ? I feel like you're telling me "It's bad because it is"... elaborate pl0x.

Oh, and your "damage system" which sounds so complex to use can be summarized as follows :

Trigger:
  • //
    • Events
      • Unit - A unit Enters (Playable map area)
    • Conditions
    • Actions
      • Trigger - Add the event ((Triggering unit) Takes damage) to {Other Trigger} <gen>
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
yes what you did was a damage detection system. a leaking one. which isnt something we should encourage here.
a decently made damage detection system cannot be made with GUI since there are no GUI functions which will not result in memory leaks.
you need to use jass for a leak-less damage detection system.


and i doubt you could call an ability critical strike if it would deal constant damage (not a constant damage factor since a factor is something you multiply some other value, like the actual damage dealt, with.)

and the problem with the build in random function is that its not really random. of course there isnt a "real" random number in any computer programm but several people of the wc3 map making community made "random number" systems which allow for "more real" random numbers then the wc3 random function. basically since we are talking about numbers generated by a computer you should just swap every "random" in this text with unpredictable since that is what a "random" function of a computer should return and what the function of wc3 doesnt most of its time.

at least for me the random functions seems to give out thrice or four times in a row the same result. and this doesnt happen rarely.
 

LurkerAspect

Now officially a Super Lurker
Reaction score
118
Try playing with the Art fields, especially the Art - Special field, although I think that effects the target, not the caster... but give it a go anyway. I know for pulverize, if you add an Art - Special, it will create that model on any enemy units caught by the effect :p
 

DioD

New Member
Reaction score
57
special attack animation is not easy to do.
its complex event of attack and damage and order.
also its possible only for melee units.

you must decide to do special attack BEFORE this attack happen, you cant change animation in progress (it will be async with damage and looks wierd).

if your critical factor not variable - add spellbook hidden critical strike, you can add 100% critical for event like kill, or keep hidden critical as part of other ability.

if you using variable (like agi% or health) you shoud calculate chance for next attack, to prevent abusing ('stop' spam or something like this) every attack shoud have damage window, if no damage deal in this window, critical factor will reset.

Attack event run animation and window
Damage event run damage and chances

If unit not actually attacks, it wont get chance to score critical.

Othewise players will stop spam and if critical scored - perform actual attack. (its easily monitored by animation)
 

Demerzel2

New Member
Reaction score
0
@DioD: Thanks, I've decided to drop the idea :). I've replaced the theme of the ability to something simpler, and it also fits the hero more.
@da1nOnlyEd: Yeah I did notice that, but it only works for abilities whose base ability also has some sort of animation. Thanks though :).
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • 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

      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