Ability to control time speed?

  • deeeznuts
    19th Nov 2016 Member 0 Permalink

    i know this would be probably hard to do but what if you could control speed of elements and the speed of their properties like in the old browser falling sand games?

  • TPT_PL
    19th Nov 2016 Member 1 Permalink
    @deeeznuts (View Post)
    You can make them a bit slower, just type in the console the following line:
    tpt.setfpscap(n)
    Where n is a number smaller than 60. If you want it quick back, just type the same line but with a big number like 100 as n.
  • QuanTech
    19th Nov 2016 Member 0 Permalink

    tpt.setfpscap() sets the fps of the game.

    For example, tpt.setfpscap(5) sets the fps to 5 (veeeerrry slow)

    tpt.setfpscap(2) sets it to the highest fps your computer could handle...

     

    EDIT: Also, what do you mean by "speed of the properties"?

    Edited 2 times by QuanTech. Last: 20th Nov 2016
  • LBPHacker
    19th Nov 2016 Developer 0 Permalink

    Do note that by setting the FPS cap to some low value (3 or above) you get UI lag as well. Not good. Maybe someone could write a Lua plugin that controls simulation FPS (not overall FPS) by pausing and resuming the simulation automatically.

    Edited once by LBPHacker. Last: 19th Nov 2016
  • deeeznuts
    20th Nov 2016 Member 0 Permalink

    by speed of properties i meant the speed at which an element might for example absorb heat from another hotter element. or a great example is the element BRAY, like if you were to slow time down the BRAY element would lose its life slower than it would if it was normal speed. Or another is maybe explosives would explode slower (like a flame would slither across a line of c-4 slower).

    Edited once by deeeznuts. Last: 20th Nov 2016
  • fallencrow305
    21st Nov 2016 Member 0 Permalink

    @QuanTech (View Post)

     Do you (or anyone else here) know why tpt.setfpscap(2) sets it to the highest your computer can handle? I'm just wondering, it doesn't make much sense to me :/

  • EaterOfCake
    21st Nov 2016 Member 0 Permalink

    That moment when you realise your computer can do 450 fps and you have been running it on 60 fps. It's a relief.