# HG changeset patch # User Wuzzy # Date 1479945895 -3600 # Node ID 281a4f33b08f95da6ca2909420588e394ef82010 # Parent 1442649482771c727992f4c2e0dac006c4165553 Add countdown sounds to Tumbler diff -r 144264948277 -r 281a4f33b08f ChangeLog.txt --- a/ChangeLog.txt Thu Nov 24 00:50:40 2016 +0100 +++ b/ChangeLog.txt Thu Nov 24 01:04:55 2016 +0100 @@ -68,6 +68,7 @@ + chancetime: Per-turn % chance of an utility crate (extra time) drop + Alternative weapon selection with slot keys (F1, F2, F3) + Add mine/barrel launch sounds + + Add countdown sounds + Rewrote mission description and captions + Sound and message when trying to fire empty weapon * Permanently disable some game modifiers which won't work together with this diff -r 144264948277 -r 281a4f33b08f share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua Thu Nov 24 00:50:40 2016 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua Thu Nov 24 01:04:55 2016 +0100 @@ -766,6 +766,13 @@ TimeLeftCounter = 0 TimeLeft = TimeLeft - 1 + -- Countdown sounds + if TimeLeft == 5 then + PlaySound(sndHurry, CurrentHedgehog) + elseif TimeLeft <= 4 and TimeLeft >= 1 then + PlaySound(_G["sndCountdown"..TimeLeft]) + end + if TimeLeft >= 0 then DrawTag(0) end