Game wait time counter.

Discussion in 'Planetary Annihilation General Discussion' started by squishypon3, October 9, 2014.

  1. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    Hello, back a long while ago the wait time for a game to start was 5 minutes I believe; now it's either 2 or 3 minutes.

    Will there be any chance of an actual modifier, at least for offline mode, because I always barely skimp the loading time...

    Is there a variable in the server's code that I could go look for, and mod, at the very least? :p
    melhem19 likes this.
  2. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    Okay, So I believe I may have found it.

    var FORCE_START_TIMEOUT = 2 * 60 * 1000; /* in ms */
    var START_PLAYING_DELAY = 5; /* in seconds */

    Looks like it is 2 minutes, 2 times 60 times 1000 in milliseconds. So yeah, just changing the integer should make it whatever I want :D

    For reference to anyone needing to edit this, it's in landing.js, might make a quick little mod for everyone else like me. :p
    cptconundrum likes this.

Share This Page