• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

The Effect can not be found

Status
Not open for further replies.
I think the Zeus's lightning effect is the Chain Lightning's lightning effect. However, it is created by a dummy which is above the target so it seems different to the base lightning effect.
 
Since I dislike DotA I don't know how the effect looks, but if hayaku1412 is correct, this trigger might help:
  • Actions
    • Set tempLoc = (Position of Footman 0001 <gen>)
    • Custom script: set bj_lastCreatedLightning = AddLightningEx( "CLSB", false, GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 1000., GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 0. )
    • Custom script: call RemoveLocation( udg_tempLoc )
This creates a lightning effect (Chain Lightning - Secondary) on the target. You can access it by using "last created lightning effect" in GUI (to remove it for example).

6xZ7i.jpg
 
By bigger you mean longer? You need to increase its Z value. ap0calypse has two real values in his custom script, 1000 and 0. 1000 represents the point where the lightning stems from and 0 the point where it ends. Increase the 1000 value. If you mean thicker, you need to retexture the lightning itself.

crap.... I want it thicker... just like in DotA
 
What if you use "CLPB" instead of "CLSB?
So the command becomes:
  • Custom script: set bj_lastCreatedLightning = AddLightningEx( "CLPB", false, GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 1000., GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 0. )
It's another form of Chain Lightning, a little thicker if I remember correctly.

Edit: actually, I never factored in the height of the unit/terrain. Would this be necessary for what you're doing? :)
 
Status
Not open for further replies.
Back
Top