Running Speed


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

Utilities
a month ago
1.1 - 2.0
2.36K
Transportation Cheats

g [Done] Make a "one hotkey switch"

a month ago

Yo. Thanks a lot for this mod.
Can u please add function of switch speed (1>2>3>1>etc) with one hotkey?
For da people. whos use a lot of mods with custom hotkeys, but have a bad piano skill.
TY

a month ago

I have added CTRL + Space to change between the slow and fast speeds. I guess most people would just swap between these too as opposed to cycling through (this is what I do most of the time as well). Let me know if this works for you!
The hotkey is CTRL + Space by default, but you can change this in the controls settings.

a month ago

Not exactly, but I found codeplace with ur feature and change them like:

local function set_runspeed(event, setting)
local player = game.players[event.player_index]
if (player.character~=nil) then
if (setting == "switch") then
if (player.character_running_speed_modifier == settings.get_player_settings(player)["speed0"].value) then
-- we are in slow mode, so goin faster
modify_speed(player, "speed1", {r=0, g=1, b=0})
elseif (player.character_running_speed_modifier == settings.get_player_settings(player)["speed1"].value) then
-- we are in faster mode, so make some rocket boost
modify_speed(player, "speed2", {r=1, g=0, b=0})
elseif (player.character_running_speed_modifier == settings.get_player_settings(player)["speed2"].value) then
-- we are in fast enough, so calm down
modify_speed(player, "speed0", {r=0, g=0, b=1})
end
else
modify_speed(player, setting, {r=1, g=0.5, b=0})
end
end
end

So now its work exactly like I expect. TY a lot anyway!

a month ago
(updated a month ago)

Haha okay, I thought the switch between slow/fast was enough. :)

I added now it as a setting in the per-user settings in version 0.5.2 (once the game is loaded go to Settings -> mod-settings -> per player), here you can set whether you want to cycle between all speeds or just fast/slow.

New response