• 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.

The Effect can not be found

Status
Not open for further replies.

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
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.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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
 
Level 18
Joined
May 11, 2012
Messages
2,103
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
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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.
Top