Galactic Wars: Slowmotion

Discussion in 'Planetary Annihilation General Discussion' started by Going4Quests, September 1, 2014.

  1. igncom1

    igncom1 Post Master General

    Messages:
    7,961
    Likes Received:
    3,132
    Yeah, fan servers and offline play will improve performance by at least 20 time on all accounts.
    kjotak109 likes this.
  2. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Yeah I can't see any issue in those posts. They state stuff that is "obvious". I am pretty sure the whole thread was about multiple people failing to communicate obvious and well understood facts, even though everyone actually knows what is going on.
  4. forrestthewoods

    forrestthewoods Uber Alumni

    Messages:
    197
    Likes Received:
    705
    This is still a thing? o_O


    Clients strictly interpolate between known keyframes. There is zero extrapolation. The interpolation factor is typically 1.0. When using ChronoCam you can modify this factor. Set it to 2.0 and playback is at double speed. Set it to 0.5 and playback is at half speed. It can even be set to a negative value and it plays in reverse. I've written all about this and more. http://forrestthewoods.com/the-tech-of-planetary-annihilation-chronocam/

    The server wants to run a complete sim tick every 100ms. Forever and always. Sometimes it fails to finish in time. The server calculates a rolling average over the past 20 ticks (so 2 seconds). If that average time is under 100ms then great, nothing happens and the forums are at peace. If that average time is over 100ms then the server tells the client how long it's actually taking so the client can adjust it's playback rate to keep things smooth. This is a continuous process and when the sim tick gets back under 100ms the client will be back at a 1.0 playback rate.

    That's pretty much it. It's about 40 lines of code that took a day to implement. Maybe a day and a half if you want to include extra playtest sessions.
    nobrains, Raevn, temeter and 3 others like this.
  5. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    alright, thanks @forrestthewoods. so yeah time-dilatation is not responsible for the lag. sorry for thinking it was done on server.

    more servers, not shared servers but per-match servers and unit cap please?
    temeter and igncom1 like this.
  6. Remy561

    Remy561 Post Master General

    Messages:
    1,016
    Likes Received:
    641
    Laughed harder than I should at this part:
    forrestthewoods and Raevn like this.
  7. schuesseled192

    schuesseled192 Active Member

    Messages:
    823
    Likes Received:
    219
    Pretty sure that was mentioned like a bigillion times in that thread. :p
  8. igncom1

    igncom1 Post Master General

    Messages:
    7,961
    Likes Received:
    3,132
    I wouldn't worry your self about it.

    I mean, half the stuff I come out with it liable to get me lynched!

Share This Page