Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); In-development patch notes for Starsector 0.98a (2/8/25)

Pages: 1 ... 8 9 [10] 11

Author Topic: [0.97a] SpeedUp 1.2.0  (Read 637421 times)

Cassius

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #135 on: May 19, 2024, 10:38:41 PM »

I've been using speedup for quite some time now and was very happy with it. I used LCONTROL as activate key for 2x in campaign and both LCCONTROL and LSHIFT as activate keys in fights. That way, if I pressed just LSHIFT, I would get 2x speedup, and when I pressed both LSHIFT and LCONTROL at the same time, I would get 4x speedup. It was very nice because it worked the same way both in campaign and in fights.

Now, however, after upgrading to 0.97 (and Miko's), (dis)engaging speedup in fights crashes the game. Histdine pointed out that it may be my button mapping, so I used the default button mapping, which worked. However, I hate that its entirely different in campaign and fights, so I tried to at least switch the the toggle (capslock) and activate key (middle mouse button) for fights, which ALSO led to the game crashing! I seriously dont understand what I am doing wrong.Help?
Logged

Thyx

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #136 on: June 29, 2024, 08:05:15 PM »

Minor update!


Version 1.0.1:
- Updated for Starsector 0.97a
- Removed default binding for 6x speed-up

This was a bad change IMO. This mod should triumph over whatever mod incompatibly there was to begin with. Downgrading to the older version.
Logged

Noir

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #137 on: August 23, 2024, 07:43:16 AM »

There was a mod incompatibility that was caused by the keybind for it, and there wasn't really a good alternative keybind to use for it that wasn't also an incompatibility risk.  This sort of thing is why I programmed a robust keybinding system for customization purposes...  It's not like you need to update the mod more than like once a year.

Hi! It has been several months, I know. But do you perhaps still remember what mod caused the incompatibility? The F1 key or the x6 speed is really vital for my long campaigns :>

Edit: Ignore this reply. I didn't see the download button for the previous one... sigh.
« Last Edit: August 25, 2024, 08:37:05 PM by Noir »
Logged

cesuoking

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #138 on: October 29, 2024, 02:48:30 PM »

can we make the mouse wheel button work in campaign map? I tried to change the part here by changing the activateMouse on both brackets but the first one only changes how to toggle the 6x speed and the second one doesn't work.
Code
    "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":59,        # 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":6.0,     # Default: 2.0
            "printMessage":true,   # Default: Show message
            "onAtStart":true,     # Default: Disabled when first entering campaign
        },
        {
            # Hold-down button
            "activateKey":-1,
            "activateMouse":2,
            "activateCtrl":false,
            "activateAlt":false,
            "activateShift":false,

            # Toggle button
            "toggleKey":-1,
            "toggleMouse":-1,
            "toggleCtrl":false,
            "toggleAlt":false,
            "toggleShift":false,

            "speedUpMult":1.0,
            "printMessage":true,
            "onAtStart":false,
        },

Logged

Atexron

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #139 on: November 02, 2024, 10:43:03 PM »

Anyone know how do I get the toggle to work ?

I can't figure out the speed_up.ini file...
I tried to put true on toggle shift.
I change the keys tot lshift.
I put all the toggleShift to true in the document.
I put only the ones I thought would work...
I don't know how to make it work...
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #140 on: November 17, 2024, 03:32:29 PM »

Anyone know how do I get the toggle to work ?

I can't figure out the speed_up.ini file...
I tried to put true on toggle shift.
I change the keys tot lshift.
I put all the toggleShift to true in the document.
I put only the ones I thought would work...
I don't know how to make it work...

Code
        {
            "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

            # What button to press 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":0.35,  # Default: Change bullet-time effects, 0.3 is roughly normal speed for player ship, 1.0 is normal game speed
            "printMessage":true,  # Default: Show message
            "onAtStart":false,    # Default: Disabled at the start of combat
            "capToFPS":0.0,       # Default: Speed multiplier is not limited by frame rate
        },

The config file is a little confusing at first, but it's just a list of keybinds with modifiers associated with them.

toggleKey is the key you press to toggle the effect. toggleShift is a modifier for toggleKey, meaning you have to hold down Shift while pressing the key you set in toggleKey. The same applies to toggleAlt and toggleCtrl. If you want to press Shift to toggle the effect, you would set toggleKey to either 42 (left Shift) or 54 (right Shift).
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.0.1
« Reply #141 on: November 17, 2024, 04:08:08 PM »

Version 1.1.0 available
https://bitbucket.org/DarkRevenant/speedup/downloads/SpeedUp_1.1.0.7z

Version 1.1.0 (November 17, 2024)
- Added ability to set bullet-time intensity
- Renamed settings file and moved it to the config folder. Legacy settings file is still supported and will be used instead if it exists
- Minor refactor

Version 1.0.2 (Unreleased)
- Updated for Starsector 0.97a RC11
- Rare crash fix
Logged

DedHase

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.97a] SpeedUp 1.1.0
« Reply #142 on: November 19, 2024, 02:36:32 PM »

Hi guys,
I'm having problem because when this mod is enabled my game keeps crashing https://i.imgur.com/Vb7P9Xg.png <---- here's link for the error message.

The problem seems to be "Compiled for the wrong version of Java, change compile target to Java 7" Cause org/dark/speedup/SUModPlugin: Unsupported major.minor version 67.0

The previous version 1.0.1 works as expected problem only occurs on 1.1.0
« Last Edit: November 19, 2024, 02:54:51 PM by DedHase »
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.1.0
« Reply #143 on: November 20, 2024, 08:24:24 AM »

Hi guys,
I'm having problem because when this mod is enabled my game keeps crashing https://i.imgur.com/Vb7P9Xg.png <---- here's link for the error message.

The problem seems to be "Compiled for the wrong version of Java, change compile target to Java 7" Cause org/dark/speedup/SUModPlugin: Unsupported major.minor version 67.0

The previous version 1.0.1 works as expected problem only occurs on 1.1.0

Ah, I didn't think about the Java version. I'll recompile and upload the new version later today. I'd highly recommend running Starsector with Java 23 though, I've seen pretty significant performance improvements with my mod list. The TriOS mod manager is pretty nice from what I've used and makes upgrading the Starsector Java version super easy.
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.1.0
« Reply #144 on: November 20, 2024, 10:40:49 AM »

I recompiled with Java 7 and reuploaded the build. It should work again. Sorry for the inconvenience.
Logged

Dismiss

  • Ensign
  • *
  • Posts: 1
    • View Profile
Suggested shortcut improvements.
« Reply #145 on: December 06, 2024, 08:33:49 AM »

Hey @LegionnaireLenny
I'm enjoying your SpeedUp mod and have an idea for a UX improvement.
Aside: I mentioned you in the starsector discord, I'm @dismiss42. This post ended up being much better formatted, however if you wanted to have a discussion about these ideas before bothering to implement anything it would make sense to do so on there, perhaps?

I'm often in a sort of DDR keyboard game double tapping shift, spacebar, capslock .. trying to get the intended timescale. Does not help (not your mods fault) there is no feedback at all when pressing shift, if the game is paused. Actually .. If you could get the game to do the same hud text message and radio click sound when pressing shift that you hooked up for capslock, that would be great.

So anyhow here are two alternate control layouts for you to consider, avoiding the double-toggle paradox ;D

"Engage"
Each key is for setting a specific timescale.
Example: F1, F2, F3 for 1x, 2x, 3x (shift is unused).

"Throttle Up/Down"
Example: +/- to adjust throttle from 1x,2x,3x,4x (shift is unused).

One good thing about avoiding the shift key is that it is by default used already in combat and having different controls for timescale while in combat vs out is endlessly confusing. Final thought: since the game offers no ui feedback as to the current timescale, and I for one will not remember, I'd recommend treating the pause key as also "reset to 1x", however I'd need to test that out to be certain it would work.
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.1.0
« Reply #146 on: December 09, 2024, 01:33:33 PM »

@Dismiss
Glad you're enjoying the mod. Just want to point out this is Dark.Revenant's mod and I'm a recent contributor. Could you clarify which Discord server you're on? I haven't seen your post.

Quote
One good thing about avoiding the shift key is that it is by default used already in combat and having different controls for timescale while in combat vs out is endlessly confusing.

The mod's hotkeys are fully configurable. You don't need to use Shift for anything in the mod, and the default options don't use Shift.

Quote
"Engage"
Each key is for setting a specific timescale.
Example: F1, F2, F3 for 1x, 2x, 3x (shift is unused).

"Throttle Up/Down"
Example: +/- to adjust throttle from 1x,2x,3x,4x (shift is unused).

Those are both features I wanted to add, along with support for LunaLib to configure the hotkeys in-game, I just haven't gotten around to adding them.

Quote
Final thought: since the game offers no ui feedback as to the current timescale, and I for one will not remember, I'd recommend treating the pause key as also "reset to 1x", however I'd need to test that out to be certain it would work.

The "Engage" functionality would make this redundant. It would be nice to have a timescale indicator, but I don't know how to add such at the moment.
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.1.0
« Reply #147 on: December 11, 2024, 02:21:31 PM »

These updates are a rewrite of the codebase for improved maintainability and readability. No features added. Hopefully no bugs added either.

The next update will add new features, but I don't know when I'll get around to it.

Version 1.1.2 available
https://bitbucket.org/DarkRevenant/speedup/downloads/SpeedUp_1.1.2.7z

Version 1.1.1 available
https://bitbucket.org/DarkRevenant/speedup/downloads/SpeedUp_1.1.1.7z

Version 1.1.2 (December 11, 2024)
- Cleanup and refactor

Version 1.1.1 (December 11, 2024)
- Cleanup and refactor
« Last Edit: December 11, 2024, 05:42:30 PM by LegionnaireLenny »
Logged

LegionnaireLenny

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.97a] SpeedUp 1.1.0
« Reply #148 on: December 23, 2024, 02:12:05 AM »

Version 1.2.0 available
https://bitbucket.org/DarkRevenant/speedup/downloads/SpeedUp_1.2.0.7z

Version 1.2.0 (December 23, 2024)
- Added option to make a hotkey disable all other active hotkeys (set "disableOthers" to true in config)
- Added default hotkey, F3 toggles 6x speed
- Added default hotkey, F4 clears all active hotkeys and sets speed to 1x
- Fixed hotkey state persisting after combat (probably affected 1.1.1 and 1.1.2, haven't verified)
- Fixed invalid activate hotkey in config file
- Minor optimizations
Logged

Chumbosity

  • Lieutenant
  • **
  • Posts: 75
    • View Profile
Re: [0.97a] SpeedUp 1.2.0
« Reply #149 on: December 28, 2024, 08:35:15 AM »

Not able to provide video footage at the moment as I'm at work for another nine hours, but it looks like the in-combat speed-up function erroneously increases ammo regeneration rate on weapons like the Storm Needler. During some sim testing this morning I noticed that I could fire a Storm Needler with s-mod Expanded Magazines infinitely while running at 2x speed; it regenerates ammo in increments of 30 and would simply regenerate ammo up to the cap before it could fire 30 rounds, whereas it would use ammo slightly faster than it would renegerate at normal speed. Didn't have time to get any footage before I had to go for work, nor did I have time to test other configurations (faster speeds, different weapons, removing Expanded Magazines, disabling other mods, etc.), but once I'm off I can try to get OBS working to get some footage of this.
Logged
Pages: 1 ... 8 9 [10] 11