Here's a preliminary version of the lightning script I used in my little zombie video:
(requires tools.cfg)
Of course, this version is cursory; the use of lightscale isn't exactly perfect for this. It actually started out as a test of the capabilities of that command.
I crafted the script in the video to match the exact map I was using.
The skymap and sound files were added in manually.
[SELECT ALL] Code:
alias lightning [
sloop lgt (+ (rnd 5) (rnd 2)) (+ (* (rnd 5) 100) 10) [
lightscale 1
recalc
sleep (+ (rnd 200) 5) [
lightscale 15
recalc]]]
recursive Lstorm [(+ (* (rnd 10) 1000) 3000)] lightning
Of course, this version is cursory; the use of lightscale isn't exactly perfect for this. It actually started out as a test of the capabilities of that command.
I crafted the script in the video to match the exact map I was using.
The skymap and sound files were added in manually.