12 Oct 11, 05:20PM
(12 Oct 11, 08:01AM)V-Man Wrote: Here's a preliminary version of the lightning script I used in my little zombie video:how can i make it repeat repeatedly every 5 or 10 seconds?
(requires tools.cfg)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.
