Lightning System
i'm currently making a Lightning system like in wc3 but with more features.
for example: Create Lightning (Unit Linked)
this will make a lightning between 2 units and flollow them
there will be also like in wc3
CreateLightning and CreateLightningEx (CreateLightningEx will based on the ground zero and the normal one will offset by the ground height)
i also include a Lightning Handler that allows you to handle all your lightnings easily
each lightnig is based on 3 things from the data editor.
1 actor
1 effect
1 model
(so it will be some cnp stuff :/)
if you have questions or things you want inside the system write it down here :)
(NOTE: it's not a library! it's made i the normal trigger editor but i think it doesn't matter)
QUOTE: And the bug that only the shadow of the lightning gets displayed if it is too long or if one ending is out of sight is annoying too, but I guess that has something to do with how the game works.^^
you can use left and right mouse to move (1 side each)
and also (if i understand it right) the tentacle is a sort of lightning. you can chatge the model to a beam/lightning model
_________________
about the array... i'll lower it down to 2000 or 3000 in the next version. i think noone will use so much lightnings becaue the loop where you will move it will cause a big lag if you do 3000 actions/0.0625 sec (or whatever)
When I start up the map, I am able to move the tentacle around. but no lighting affect is shown at the spot in game. Even if placed in shadow regions of the hill. Correct me if I am wrong, but a lighting system should show light?
what do you mean? there is a small example and a small read me. the example are the triggers outside the system. (init; move 1 and 2; destroy)
I am changing my post. can you make the map startup functioning? so we can see your example and everything needed.
Nice. The basic stuff works, but as you said.. will be annoying to do all these copy& pastes for different lightning models.
I hope that they reenable/fix/whatever the CreateActor function which should (after their own comments!) be able to create a lightning from point x to y...
A suggestion: Lower the limit of maximum lightnings!! You are creating nearly 40,000 variables with your 4 arrays! That's way too much, I don't think and hope that anyone will make a map where 8000 lightnings are displayed at the same time. :D
And the bug that only the shadow of the lightning gets displayed if it is too long or if one ending is out of sight is annoying too, but I guess that has something to do with how the game works.^^
first relaise :) plz comment
Any ETA release? =D