Question about Forlorn Martyr's "Streak" Lightning Effects

A place to talk about general WC3 and EotA related stuff.
Post Reply
Message
Author
WC3Player
Visitor
Visitor
Posts: 24
Joined: June 3rd, 2008, 3:06 am

Question about Forlorn Martyr's "Streak" Lightning Effects

#1 Post by WC3Player »

Darnyak, how exactly do you do the Lightning Effect for Forlorn Martyr's Streak ability, the ability where he moves quickly with a neat looking lightning trail effect?


I have tried creating lightning at Caster Location to Targeted Unit location, the problem with this is that it doesn't look "smooth", the lightning doesn't look "connected", it has noticeable gaps in between.

So any tips or hints on how you created the smooth Lightning Effect on Streak?

User avatar
GeneralFunk
3/4s Weeaboo
Posts: 328
Joined: June 3rd, 2009, 11:56 pm
Realm: Azeroth (U.S. East)
Contact:

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#2 Post by GeneralFunk »

Triggers.

This isn't how Martyr's streak works, but it's in the right direction.

Code: Select all

Create Lightning
    Events
    Conditions
    Actions
        For each (Integer A) from 0 to 9, do (Actions)
            Loop - Actions
                Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of unitA) to target (Position of unitB)
                Set lightning[(Integer A)] = (Last created lightning effect)
                Wait 0.10 seconds
        -------- End Loop --------
        For each (Integer A) from 0 to 9, do (Actions)
            Loop - Actions
                Lightning - Destroy lightning[(Integer A)]
        -------- End Loop --------
Image

User avatar
DarnYak
Site Admin
Site Admin
Posts: 2364
Joined: August 12th, 2006, 2:54 pm

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#3 Post by DarnYak »

There's really no special tricks i use to make it smoother/connected. Obviously i move one endpoint as the streak moves, but branching between multipel lightnings doesn't do much. I think its mostly due to just hw streak works in general (the lightnings will generally be going n the same direction, so they look ok). That, and its not on the screen that long, so you have less time to notice the effects.

Related to this: When you're making something, you're usually likely to notice imperfections the average player won't ever notice. This could be a situation like that.

DarnYak

WC3Player
Visitor
Visitor
Posts: 24
Joined: June 3rd, 2008, 3:06 am

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#4 Post by WC3Player »

Thanks for the help, I'll try it out some more.

Also I have another question, what model do you use for the "trail effect" for Streak? I am not talking about the blue flame or the lightning but there is a third trail effect that is present. Is a custom model or a default model, if it is a default model which model did you use?

User avatar
DarnYak
Site Admin
Site Admin
Posts: 2364
Joined: August 12th, 2006, 2:54 pm

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#5 Post by DarnYak »

Do you mean the blurs of the hero?

DarnYak

WC3Player
Visitor
Visitor
Posts: 24
Joined: June 3rd, 2008, 3:06 am

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#6 Post by WC3Player »

There is a "trail" effect kind of similar to Fenris Dream Run ability, I'll get a screenshot of the trail in Streak in the game later to show you.

Speaking of the Blur though, do you just create dummy units of the Hero with transparency then either make them expire or just manually remove them after a set amount of time?

Anyway, again, thanks for the reply :).

User avatar
DarnYak
Site Admin
Site Admin
Posts: 2364
Joined: August 12th, 2006, 2:54 pm

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#7 Post by DarnYak »

For the blur, i just have around 20, and move the last one (the one fading out most) to the position of the hero and change the transparncy of the rest.

There's only 3 parts to the streak graphic: the blur, the ground flames effect, and the lightning. So i'll need to see a screenshot to know what you're talking about.

DarnYak

WC3Player
Visitor
Visitor
Posts: 24
Joined: June 3rd, 2008, 3:06 am

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#8 Post by WC3Player »

Sorry for the late reply, anyway I got a screenshot:

These trails appear "after the blue flame (trails) disappears"
Image

Is it a custom model?

User avatar
DarnYak
Site Admin
Site Admin
Posts: 2364
Joined: August 12th, 2006, 2:54 pm

Re: Question about Forlorn Martyr's "Streak" Lightning Effects

#9 Post by DarnYak »

Yea that's part of the ground flames effect.

DarnYak

Post Reply