Running Speed


Adds buttons, hotkeys and shortcuts for changing the player's running speed.

Utilities
10 months ago
1.1 - 2.0
3.03K
Transportation Cheats

i Not overwriting running speed modifier

9 months ago

Hello, I have a mod that also touches the running speed modifier, but can't make it compatible with your mod since it sets the modifier directly. Is it possible to only multiplicatively change the modifier with the hotkeys rather than setting it directly?

9 months ago

I can add a setting for it, which mod is the other one you are using (so I can test them together)?

9 months ago

My mod is fun mode. (https://mods.factorio.com/mod/fun_mode)

It sets the running speed modifier based off whether you are wearing light armor or heavy armor (one makes you faster and one makes you slower). It also overwrites the modifier though, so I need to fix mine as well before compatibility is possible. I just asked because someone playing my mod wanted compatibility between both of ours, and this is not possible without the change I suggested. I will work on adding compatibility on my side within the next couple days, and then testing with both of them will be possible.

Thank you so much for your quick response!

9 months ago
(updated 9 months ago)

As I see yours overwrites it at every tick while mine only overwrites it when the user changes to fast mode/slow mode. I think one way to make them compatible is the following: Your mod checks if the speed is under e.g. 3, in which case the player is just normally playing and your modifiers make sense to be applied, otherwise the player is in "cheat" mode running fast and your mod does not modify the running speed (in cheat mode, the 0.7-1.4 modifiers don't really make sense anyway). What do you think, would this make sense?
I am thinking about some sort of multiplicative solution too, but I feel this makes more sense.

9 months ago

Ohhh yes that would be a very easy quick fix, appreciate the help!

New response