Mapmodels already do that!
They are invisible when occluded.
I might as well put this here:
As seen in this video XD
They are invisible when occluded.
I might as well put this here:
[SELECT ALL] Code:
// Simple lightning visual effect by V-Man
// Based on work by NSL:BlueShift
alias lightning [
sloop lgt (+ (rnd 5) (rnd 2)) (+ (* (rnd 5) 100) 10) [
lightscale 1
recalc
sleep (+ (rnd 200) 5) [
lightscale 4
recalc]]]
recursive Lstorm [(+ (* (rnd 10) 1000) 3000)] lightning