Double Speed Option

  • Solace
    9th Apr 2016 Member 0 Permalink

    I believe that, since slow motion is available by pressing the f key, there should be a double and triple speed option. Say this key "\" is double speed and this key "|" is triple speed. To turn off the function, you just press the selected keys again. 

     

    This Idea is perfect for saves that take tremendous amounts of time to make. It will also help with "movie" saves. No longer will they be slow if you have the option to increase their speed. 

     

    Another idea, which can branch off of the previous one, is the ability to multiply save speed by tenths. by pressing "shift +", you can upgrade the speed by every tenth starting at 1 and ending at 3. 1.0, 1.1, 1.2, 1.3...2.7, 2.8, 2.9, 3.0

     

    To go back a tenth speed, you press "shift -"That way instead of just three options, creators have a wider speed frame to make their saves with. 

  • mniip
    9th Apr 2016 Developer 0 Permalink
    @Solace (View Post)
    Type
    tpt.setfpscap(120)
    into the console to see whether your computer would actually be able to handle a "double speed" mode.
  • LBPHacker
    9th Apr 2016 Developer 2 Permalink

    And if your computer does happen to be able to handle that, get this script to autorun to get three new combos for manipulating the FPS cap:

     

    local STEP = 10
    local DEFAULT = 60
    -- ctrl+shift+[ increases FPS cap by STEP
    -- ctrl+shift+] decreases FPS cap by STEP
    -- ctrl+shift+\ resets FPS cap to DEFAULT

    local _floor = math.floor
    if tpt.CAPSETHOOK then tpt.unregister_keypress(tpt.CAPSETHOOK) end
    tpt.CAPSETHOOK = function(keystring, keynumber, modifier, event)
        if event == 1 and bit.band(modifier, 3) ~= 0 and bit.band(modifier, 192) ~= 0 then
            local fpscap
            if keynumber == 91 then fpscap = _floor(tpt.setfpscap() / STEP) * STEP - STEP end
            if keynumber == 93 then fpscap = _floor(tpt.setfpscap() / STEP) * STEP + STEP end
            if keynumber == 92 then fpscap = DEFAULT end
            if fpscap then
                if fpscap < 0 then return false end
                tpt.setfpscap((fpscap == 0) and 2 or fpscap)
                if fpscap == 0 then
                    print("FPS cap removed")
                else
                    print("FPS cap is now " .. fpscap)
                end
                return false
            end
        end
    end
    tpt.register_keypress(tpt.CAPSETHOOK)

    Edited once by LBPHacker. Last: 9th Apr 2016