Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Pages: 1 ... 11 12 [13]

Author Topic: [0.98a] SpeedUp 1.2.2  (Read 676844 times)

TacosAndTacos

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.98a] SpeedUp 1.2.2
« Reply #180 on: April 15, 2025, 07:24:10 AM »

I signed up literally just to post on this thread.

I love this mod, but the latest update broke the middle mouse button functionality to get 2x speed in battles (I don't know whether the update to the mod or Starsector itself broke it), and the Caps Lock is both a toggle (way more inconvenient for momentary boosts) *and* is harder to reach.

I tried changing the file, but it didn't help. Can anyone help?

Thanks in advance.

Can you post your SpeedUp/data/config/SPEED_UP.json file?  To attach it you’ll need to zip it up.

I don't know why but after that post, my account got banned. Odd. Maybe some kind of spam-detection thing since I used a temporary e-mail address and am on a VPN?

Anyhow, here's the file you wanted. Any help is much appreciated.

G'day.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2888
    • View Profile
    • Sc2Mafia
Re: [0.98a] SpeedUp 1.2.2
« Reply #181 on: April 15, 2025, 12:05:48 PM »

I don't know why but after that post, my account got banned. Odd. Maybe some kind of spam-detection thing since I used a temporary e-mail address and am on a VPN?

Anyhow, here's the file you wanted. Any help is much appreciated.

G'day.

Weird.  Anyway, there's a minor issue with the json where you've bound middle-click *twice*.  I'd suggest redownloading the mod and seeing if the issue clears up.  If not, it might be some kind of key-binding conflict or an incompatibility between your mouse's driver and Starsector's input handler.
Logged

TacosAndTacos

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.98a] SpeedUp 1.2.2
« Reply #182 on: April 17, 2025, 08:23:30 AM »

I don't know why but after that post, my account got banned. Odd. Maybe some kind of spam-detection thing since I used a temporary e-mail address and am on a VPN?

Anyhow, here's the file you wanted. Any help is much appreciated.

G'day.

Weird.  Anyway, there's a minor issue with the json where you've bound middle-click *twice*.  I'd suggest redownloading the mod and seeing if the issue clears up.  If not, it might be some kind of key-binding conflict or an incompatibility between your mouse's driver and Starsector's input handler.

My good sir, I know what you are referring to and I did that myself in the hopes that that would fix things. It did nothing. That's also the only edit I have made to the file.

It's also worth noting that prior to this update, the non-toggle Speedup was working perfectly. I don't know whether the update to the mod or to Starsector itself broke it.

Wait, I redownloaded from scratch (and I could swear I did this before) and my problem is completely fixed now.

How odd. I blame the Mercury retrograde!  ;D

Thanks for your help anyway, man. This mod is not flamboyant or eye-catching by any means but it's among the very greatest of quality-of-life mods out there. I literally could not imagine playing without it. Kudos!
Logged

jr3749352123

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.98a] SpeedUp 1.2.2
« Reply #183 on: April 26, 2025, 04:59:31 AM »

How do I speed down? 0.5x or less speed
Logged

MakeTheFuture

  • Ensign
  • *
  • Posts: 47
    • View Profile
Re: [0.98a] SpeedUp 1.2.2
« Reply #184 on: May 03, 2025, 10:08:03 PM »

How do I speed down? 0.5x or less speed

Hi jr3749352123

Because of the flexible way Dark.Revenant has designed this mod you can customize any speed up or slow down to any key or mouse bind you require.

For your request for example we can add the following text snippet to your Starsector\mods\SpeedUp\data\config\SPEED_UP.json file before the "# Options can be added or removed as desired" line to bind alt + middle mouse button to "change speed to 0.5x (half) speed" while held.

Code
        {
            # Hold ALT + MOUSE2 to engage 0.5x speed
            "activateKey":-1,      # Default: None
            "activateMouse":2,     # Default: Middle Click
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":true,    # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            "toggleKey":-1,        # Default: None
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key not required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":0.5,     # Default: 2.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },

Here is the entire file with changes included if your not quite comfortable editing the file yourself.

Spoiler
Code
{
    # WARNING: THE GAME WILL GLITCH OUT IF THE SPEED-UP MULTIPLIER IS TOO HIGH
    # Key IDs are integers, and can be found here:
    # https://gist.github.com/Mumfrey/5cfc3b7e14fef91b6fa56470dc05218a
    "speedOptions": [
        {
            # Click and hold down the mouse scroll wheel to engage 2x speed
            "activateKey":-1,      # Default: None
            "activateMouse":2,     # Default: Middle Click
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            "toggleKey":-1,        # Default: None
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key not required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":2.0,     # Default: 2.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },
        {
            # Hold ALT + MOUSE2 to engage 0.5x speed
            "activateKey":-1,      # Default: None
            "activateMouse":2,     # Default: Middle Click
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":true,    # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            "toggleKey":-1,        # Default: None
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key not required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":0.5,     # Default: 2.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },
        {
            "activateKey":-1,      # Default: None
            "activateMouse":-1,    # Default: Middle Click
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            # Press Caps Lock to toggle 2x speed (don't need to hold down)
            "toggleKey":58,        # Default: Caps Lock
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key not required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":2.0,     # Default: 2.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,      # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },
        {
            "activateKey":-1,      # Default: None
            "activateMouse":-1,    # Default: None
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            # Press B to toggle bullet-time effects
            "toggleKey":48,        # Default: B
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key not required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":1.0,     # Default: 1.0
            "bulletTimeMult":1.0,  # Default: 1.0 - Change bullet-time effect, at 0.3 player ship moves at roughly normal speed, at 1.0 bullet-time is disabled, only values above 0.0 change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },
        {
            "activateKey":-1,      # Default: None
            "activateMouse":-1,    # Default: None
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            # Press Ctrl + Caps Lock to toggle run-as-fast-as-possible mode
            "toggleKey":58,        # Default: Caps Lock
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":true,     # Default: Control key required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":100.0,   # Default: 100.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":30.0        # Default: Speed multiplier is limited by frame rate to a 30 FPS engine step (the smallest safe value)
        },
        {
            "activateKey":-1,      # Default: None
            "activateMouse":-1,    # Default: None
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            # Press F3 to toggle 6x speed
            "toggleKey":61,        # Default: F3
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":6.0,     # Default: 6.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":false, # Default: Does not disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },
        {
            # Press F4 to disable all active hotkeys and set speed back to 1x
            "activateKey":62,      # Default: F4
            "activateMouse":-1,    # Default: None
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            "toggleKey":-1,        # Default: Caps Lock
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":1.0,     # Default: 1.0
            "bulletTimeMult":-1.0, # Default: -1.0 - Do not change bullet-time effect
            "printMessage":true,   # Default: Show message
            "onAtStart":false,     # Default: Disabled at the start of combat
            "disableOthers":true,  # Default: Disable other hotkeys
            "capToFPS":0.0         # Default: Speed multiplier is not limited by frame rate
        },

        # Options can be added or removed as desired
    ],
    "speedOptionsCampaign": [
        {
            "activateKey":-1,      # Default: None
            "activateMouse":-1,    # Default: None
            "activateCtrl":false,  # Default: Control key not required
            "activateAlt":false,   # Default: Alt key not required
            "activateShift":false, # Default: Shift key not required

            # Toggle button for 2x speed
            "toggleKey":58,        # Default: Caps Lock
            "toggleMouse":-1,      # Default: None
            "toggleCtrl":false,    # Default: Control key not required
            "toggleAlt":false,     # Default: Alt key not required
            "toggleShift":false,   # Default: Shift key not required

            "speedUpMult":2.0,     # Default: 2.0
            "printMessage":true,   # Default: Show message
            "onAtStart":false      # Default: Disabled when first entering campaign
        },
        # Options can be added or removed as desired
    ]
}
[close]
« Last Edit: May 03, 2025, 11:49:13 PM by MakeTheFuture »
Logged
Pages: 1 ... 11 12 [13]