linuxgurugamer Posted January 9, 2020 Share Posted January 9, 2020 (edited) A forum user requested a stopwatch timer, here is what I've done. Big Ben, named after the famous clock in London. This provides timers to both count down and count up. For both, you can either start at 00:00:00 or enter a starting time. The default settings provides for one timer, but there is a toggle on the window and on the Settings page to allow multiple timers. When doing multiple timers, you can enter a name for it. This is the timer with the Multiple option disabled: This is with Multiple enabled, showing three timers. The top one is not running, the second is in a count-down mode and the third is in a count-up mode Settings page: Controls available are: Control Description Name Available only in the multiple setting, allows you to give a name to the timer Up/Down Specifies the direction of the count. Default is to count up. Entry Fields Available when not running, one each or Hours, Minutes and Seconds ^ Available when Multiple is enabled. If enabled, moves the timer up one in the list v Available when Multiple is enabled. If enabled, moves the timer down one in the list + Adds a new timer - Deletes the current timer Reset Resets timer to initial values Start Starts the timer Stop Stops the timer Time Warp and Pauses These timers are keeping track of game time. They work off of the KSP clock, and deal gracefully with both Time Warp and pausing the game Usage The toolbar button is available in the Space Center, Flight and Tracking Station screens, it looks like a stopwatch. You don't have to keep them visible, once you set the timers, you can hide them until you need to know what time they are at. Time will be kept, nothing will be lost. When ready, click the Start button of the timer you want to use When using a countdown timer, the time will be displayed in red when the time gets below zero. Dependencies ToolbarController ClickThroughBlocker Availability Source: https://github.com/linuxgurugamer/BigBen Download: https://spacedock.info/mod/2307/BigBen License: CC-BY-NC-SA Available via CKAN This page is still under construction, but the mod IS available now. ToDo Fix entry fields to allow negative number in the most significant digit Allow entry fields to be blank, right now there will always be a number there Edited January 9, 2020 by linuxgurugamer Link to comment Share on other sites More sharing options...
zer0Kerbal Posted January 9, 2020 Share Posted January 9, 2020 congrats on the new mod! congrats on the release! Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 9, 2020 Author Share Posted January 9, 2020 Small update, 0.0.1.1 Fixed initial size of window Enabled auto-expandable Link to comment Share on other sites More sharing options...
Arco123 Posted January 9, 2020 Share Posted January 9, 2020 Maybe Big Bob? ahhahah Link to comment Share on other sites More sharing options...
Poodmund Posted January 9, 2020 Share Posted January 9, 2020 15 hours ago, linuxgurugamer said: Big Ben, named after the famous clock in London. Pedantically, I'd like to point out that Big Ben is actually the nickname for the striking bell located within the Elizabeth Tower... so if you could include a nice "BONG!" noise when the timer reaches zero it would be very thematic. Link to comment Share on other sites More sharing options...
Arco123 Posted January 9, 2020 Share Posted January 9, 2020 Nice... Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 9, 2020 Author Share Posted January 9, 2020 31 minutes ago, Poodmund said: Pedantically, I'd like to point out that Big Ben is actually the nickname for the striking bell located within the Elizabeth Tower... so if you could include a nice "BONG!" noise when the timer reaches zero it would be very thematic. Easy to do, just have to find a good bell sound Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 9, 2020 Author Share Posted January 9, 2020 46 minutes ago, Poodmund said: Pedantically, I'd like to point out that Big Ben is actually the nickname for the striking bell located within the Elizabeth Tower... so if you could include a nice "BONG!" noise when the timer reaches zero it would be very thematic. Found a couple of sounds, will be added in next release Link to comment Share on other sites More sharing options...
Beetlecat Posted January 9, 2020 Share Posted January 9, 2020 21 minutes ago, linuxgurugamer said: Found a couple of sounds, will be added in next release This is going to be my favorite thing Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 9, 2020 Author Share Posted January 9, 2020 24 minutes ago, Beetlecat said: This is going to be my favorite thing I think I'll also add a repeating timer, so that it counts down,when it hit's zero it automatically resets and starts again Link to comment Share on other sites More sharing options...
Poodmund Posted January 9, 2020 Share Posted January 9, 2020 1 hour ago, linuxgurugamer said: Found a couple of sounds, will be added in next release Haha, brilliant. Touche, LGG. Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 10, 2020 Author Share Posted January 10, 2020 (edited) New beta Release, 0.0.2 Removed the scrollview if multiple is not enabled Added BigBen sounds Added Repeatable countdown Added bell at zero when counting down Added incrementing bell at zero Fixed error with tenths of a second not being correct Can now enter negative numbers for a countUp. Make any field negative to do so Displayed time now accounts for days and years. Works with hours/day set to Kerbin or real Added option to change displayed time Invalid number in entry field now shows the field as red Empty field is processed as a zero Setting to allow each timer to have a local tenths setting This will turn into is now a full release if no errors are reported https://github.com/linuxgurugamer/BigBen/releases/tag/0.0.2 This release has been pushed to Spacedock, CKAN should have it soon Edited January 12, 2020 by linuxgurugamer Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 14, 2020 Author Share Posted January 14, 2020 New release, 0.0.2.1 Fixed nullref when going to the MainMenu from inside a game. Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 23, 2020 Author Share Posted January 23, 2020 New release, 0.0.2.2 Fixed nullref when coming back from the settings page if no timer has been set Link to comment Share on other sites More sharing options...
James Kerman Posted February 1, 2020 Share Posted February 1, 2020 Congratulations @linuxgurugamer, you have been awarded thread of the month for this great mod. Link to comment Share on other sites More sharing options...
Bej Kerman Posted February 21, 2020 Share Posted February 21, 2020 On 1/9/2020 at 9:27 PM, linuxgurugamer said: I think I'll also add a repeating timer, so that it counts down,when it hit's zero it automatically resets and starts again Will there also be a counter that goes up or down every time the timer restarts? Link to comment Share on other sites More sharing options...
linuxgurugamer Posted February 21, 2020 Author Share Posted February 21, 2020 6 minutes ago, Bej Kerman said: Will there also be a counter that goes up or down every time the timer restarts? I wasn't planning on it Link to comment Share on other sites More sharing options...
linuxgurugamer Posted September 3, 2021 Author Share Posted September 3, 2021 New release, 0.0.2.4 Added AssemblyFileVersion Updated version file for 1.12 Link to comment Share on other sites More sharing options...
linuxgurugamer Posted November 24, 2021 Author Share Posted November 24, 2021 (edited) New beta 0.0.2.5 Reduced performance impact Added pause after repeating countdown reaches 0 Added realtime timers, both up and down Made window a bit wider Added saving of timers to save file https://github.com/linuxgurugamer/BigBen/releases/tag/0.0.2.5 Edited November 24, 2021 by linuxgurugamer Link to comment Share on other sites More sharing options...
gamerscircle Posted November 28, 2021 Share Posted November 28, 2021 Thanks for the timer app there @linuxgurugamer Link to comment Share on other sites More sharing options...
linuxgurugamer Posted November 28, 2021 Author Share Posted November 28, 2021 New release, 0.0.2.6 Moved another GUIStyle into RegisterToolbar Added reinitialization of txtures if changed in the settings Fixed the Up/Down buttons being inverted when using the stock KSP skin Fixed the Up/Down buttons being too big when using the stock KSP skin Link to comment Share on other sites More sharing options...
linuxgurugamer Posted November 29, 2021 Author Share Posted November 29, 2021 (edited) New release, 0.0.2.7 Added new reset button to reset to 0 Fixed issue of BigBen stopping working when returning to the main menu Fixed issue of BigBen not working sporatically Fixed some formatting issues when using stock KSP skin 0.0.2.8 Removed log spam Edited November 29, 2021 by linuxgurugamer Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2021 Author Share Posted December 1, 2021 New release, 0.0.2.9 Fixed window resizing code causing window to not be draggable Link to comment Share on other sites More sharing options...
AtomicTech Posted December 1, 2021 Share Posted December 1, 2021 Does it speak when its counting down? Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2021 Author Share Posted December 1, 2021 3 hours ago, AtomicTech said: Does it speak when its counting down? No, just a gong when 0 is reached Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now