[Retired] Customizable In-Game Timers [66567]

Discussion in 'Mod Discussions' started by LavaSnake, November 6, 2013.

  1. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Recent changes:
    • v1.1 - Now matches PA's visual style!
    • v1.2 - UI configuration dialog for easier and faster customization.
    • v1.3 - Now uses Raevn's UI floating system so the timers can be moved around (and bug fixes).
    • v1.4 - Now supports PAMM 3.x.
    • v1.5 - Prevents possible mod conflicts.
    • v1.6 - Prevents even more possible mod conflicts.
    • v1.7 - Bug fix
    • v1.8 - Bug fix and minor UI improvements

    Long story short, this mod allows you to have up to three customizable in-game timers. They can be used to remind you to scout out the enemy or go off when that nuke is almost done. (Note: This can't read your build status so that last use will require some guessing.) The customization is quite simple, just right click on one of the timers and edit the settings. The timers show as buttons down the left side of the screen and flash (but don't make noise) when done.

    Timer Mod.PNG
    Timers in use.

    Timer Mod 2.PNG
    Configuration menu.
    Now there are two types of timers, normal and repeating. After being clicked a normal timer will start counting down from the set value. Once it reaches zero it flashes until it is clicked again. A second click before or after it goes off will turn it back to the original off state. The repeating type timers work the same way, but start automatically and just restart when clicked.

    This mod uses the epic UI mod manager from Raevn (Linux/mac version) so make sure you have that set up first and then follow these steps:
    1. Download and activate it in the UI mod manager.
    2. Right click on any of the timers while you're playing to change its settings.
    Last edited: May 27, 2014
    thetrophysystem and zaphodx like this.
  2. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
  3. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
  4. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    An update is coming soon that will remove the need to edit the js file for configuration and improve the usability! :D
    stormingkiwi likes this.
  5. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Just updated! Now you don't need to edit the js file to configure it! See complete changes above.
    thetrophysystem likes this.
  6. dadaveman

    dadaveman New Member

    Messages:
    16
    Likes Received:
    1
    I believe there's currently a conflict with the new 58197 build. When I use this mod I get the forever "generating planets" bug

    With the debugger:

    ../shared/css/boot.css loading css common.js:28
    ../shared/js/boot.js loading script common.js:9
    fn not bound
    ../../mods/ui_mod_list.js loading script common.js:9
    ../../mods/rSettingsManager/rSettingsManager_global.js loading script common.js:9
    ../../mods/rFloatFrame/rFloatFrame.css loading css common.js:28
    ../../mods/rFloatFrame/rFloatFrame.js loading script common.js:9
    http://www.nanodesu.info/stuff/pa/mods/live/pastats/pa_stats_loader.js loading script common.js:9
    http://nanodesu.info/stuff/pa/mods/live/pastats/scenes/global.css loading css common.js:28
    http://nanodesu.info/stuff/pa/mods/live/pastats/scenes/global.js loading script common.js:9
    http://pa-tournaments.com/mod/pa-tournaments-loader.js loading script common.js:9
    ../../mods/rCommanderHP/rCommanderHP.css loading css common.js:28
    ../../mods/rCommanderHP/rCommanderHP.js loading script common.js:9
    ../../mods/modbatch/live_game/modbatch.js loading script common.js:9
    ../../mods/EcoEff/EcoEff.js loading script common.js:9
    ../../mods/EcoEff/EcoEff.css loading css common.js:28
    ../../mods/dTimer/dTimer.css loading css common.js:28
    ../../mods/dTimer/dTimer.js loading script common.js:9
    ../../mods/dMexCount/dMexCount.css loading css common.js:28
    ../../mods/dMexCount/dMexCount.js loading script common.js:9
    ../../mods/dBetterSystemView/dBetterSystemView.css loading css common.js:28
    ../../mods/dBetterSystemView/dBetterSystemView.js loading script common.js:9
    ../../mods/CustomInGameTimers/Timers.js loading script common.js:9
    http://nanodesu.info/stuff/pa/mods/live/pastats/scenes/live_game.js loading script common.js:9
    Uncaught TypeError: Cannot call method 'arePlanetsReady' of undefined live_game.js:1488
    game.createHolodeck
    0
    unhandled msg:unit_costs
  7. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    I'll try to look into that. Thanks!
  8. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Fixed it. Apparently the way I was adding the new buttons to the HTML had caused something in the game to break.
  9. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Your modinfo.json date is wrong now. 2014/21/14 that's no real date :) So this mod is always the last updated in PAMM.
  10. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    oops. I'll get that fixed right away!
  11. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
  12. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    This mod really isn't used so I'm just going to retire it so I don't have to go through the trouble of updating it. I can revive it if someone wants me to though.

Share This Page