Ares icon indicating copy to clipboard operation
Ares copied to clipboard

Add countdown timer

Open astruyk opened this issue 10 years ago • 4 comments

Add a simple countdown timer that will appear on all the player's screens and display a message when it completes.

Workflow might look something like this:

  • Zeus drops module on map (location doesn't matter)
  • Zeus chooses length of timer from drop-down options (probably one for hours and one for minutes, 1-5 hours and 5,10,15,20,25,30,35,40,45,50,55 minutes)
  • Timer overlay appears on all players screens displaying the time remaining.
  • When the timer nears completion (within say 30 seconds) the timer should pulse
  • When the timer expires a message is shown (something generic like 'timer expired')
  • Zeus can drop a 'cancel timer' module at any time to stop the countdown and remove the timer expired message.

Options for future development (create issues for these after initial implementation if they don't make it in):

  • Ability to show timer only for Zeus player
  • Support for choosing timer background color
  • Support for custom expiry message and custom countdown message
    • e.g: 'Time until reinforcements arrive', 'Time until mission start' etc...

astruyk avatar Nov 24 '14 19:11 astruyk

I might be crazy but doesn't a countdown module already exist? Is this just for one with improved functionality?

TheOtherTaylor avatar Nov 25 '14 17:11 TheOtherTaylor

The one that's in there now always ends the mission when it expires.

astruyk avatar Nov 25 '14 17:11 astruyk

Well that's dumb. I approve this issue!

TheOtherTaylor avatar Nov 26 '14 00:11 TheOtherTaylor

Agreed, always find a use for a countdown timer, but ending the mission at the end isn't very flexible!

alexcroox avatar Nov 26 '14 23:11 alexcroox