simulate dawn on the Dune 2000 shellmap
This commit is contained in:
@@ -127,6 +127,7 @@ Rules:
|
|||||||
Scripts: shellmap.lua
|
Scripts: shellmap.lua
|
||||||
MusicPlaylist:
|
MusicPlaylist:
|
||||||
StartingMusic: score
|
StartingMusic: score
|
||||||
|
GlobalLightingPaletteEffect:
|
||||||
rockettower:
|
rockettower:
|
||||||
Power:
|
Power:
|
||||||
Amount: 100
|
Amount: 100
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
WorldLoaded = function()
|
||||||
|
red = 0.95
|
||||||
|
green = 0.85
|
||||||
|
blue = 1.25
|
||||||
|
ambient = 0.5
|
||||||
|
end
|
||||||
|
|
||||||
|
Tick = function()
|
||||||
|
if (red < 1.0) then
|
||||||
|
red = red + 0.001
|
||||||
|
end
|
||||||
|
|
||||||
|
if (green < 1.0) then
|
||||||
|
green = green + 0.001
|
||||||
|
end
|
||||||
|
|
||||||
|
if (blue > 1.0) then
|
||||||
|
blue = blue - 0.001
|
||||||
|
end
|
||||||
|
|
||||||
|
if (ambient < 1.0) then
|
||||||
|
ambient = ambient + 0.001
|
||||||
|
end
|
||||||
|
|
||||||
|
Effect.ChangeLighting(red, green, blue, ambient)
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user