diff --git a/mods/ra/bits/rain.aud b/mods/ra/bits/rain.aud new file mode 100644 index 0000000000..da8062df54 Binary files /dev/null and b/mods/ra/bits/rain.aud differ diff --git a/mods/ra/bits/thunder.aud b/mods/ra/bits/thunder.aud new file mode 100644 index 0000000000..aa629e90f0 Binary files /dev/null and b/mods/ra/bits/thunder.aud differ diff --git a/mods/ra/maps/fort-lonestar/fort-lonestar.lua b/mods/ra/maps/fort-lonestar/fort-lonestar.lua index ff91aac9ce..bbaf8a807a 100644 --- a/mods/ra/maps/fort-lonestar/fort-lonestar.lua +++ b/mods/ra/maps/fort-lonestar/fort-lonestar.lua @@ -147,6 +147,16 @@ SovietsRetreating = function() end) end +Tick = function() + if (Utils.RandomInteger(1, 200) == 10) then + local delay = Utils.RandomInteger(1, 10) + Effect.Flash("LightningStrike", delay) + Trigger.AfterDelay(delay, function() + Media.PlaySound("thunder.aud") + end) + end +end + WorldLoaded = function() soviets = Player.GetPlayer("Soviets") players = { } diff --git a/mods/ra/maps/fort-lonestar/map.yaml b/mods/ra/maps/fort-lonestar/map.yaml index b3720850e1..a6f1b5e4c9 100644 --- a/mods/ra/maps/fort-lonestar/map.yaml +++ b/mods/ra/maps/fort-lonestar/map.yaml @@ -499,6 +499,15 @@ Rules: CrateActors: fortcrate -SpawnMPUnits: -MPStartLocations: + GlobalLightingPaletteEffect: + Red: 0.75 + Green: 0.85 + Blue: 1.5 + Ambient: 0.35 + AmbientSound: + SoundFile: rain.aud + FlashPaletteEffect@LIGHTNINGSTRIKE: + Type: LightningStrike LuaScript: Scripts: fort-lonestar.lua ScriptUpgradesCache: