Increase run speed

This is the place to request new mods or give ideas about what could be done.
TAT3R_
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Sep 13, 2016 11:35 am
Contact:

Increase run speed

Post by TAT3R_ »

I have seen several places to paste a line of text into the lua to increase run speed but never works. Could someone come out with a mod that increases run speed?
sparr
Smart Inserter
Smart Inserter
Posts: 1446
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: Increase run speed

Post by sparr »

This mod would be very easy to make. A good mod making intro. I recommend you make it and publish it!
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Increase run speed

Post by Nexela »

The command line version is

/c game.player.character_running_speed_modifier = 0

0 is no modifier, -.5 is slow, -1 will walk backwards and 3 is adderal speed
TAT3R_
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Sep 13, 2016 11:35 am
Contact:

Re: Increase run speed

Post by TAT3R_ »

Actually I got the increased run speed command line working. I pasted the line into another mod and it worked? Dont know how or why but it decided to work. I saw some text similar to and pasted it in there with it and it worked haha.
ShinyAfro
Inserter
Inserter
Posts: 27
Joined: Mon Jan 04, 2016 1:27 pm
Contact:

Re: Increase run speed

Post by ShinyAfro »

data.raw.player.player.running_speed = data.raw.player.player.running_speed*stsrun

Heres a line from one of my personal mods, but anyway, it basically grabs the base speed and multiplies it by the container "stsrun" - which can be a number, i just have it down in a config with all my other values.
Post Reply

Return to “Ideas and Requests For Mods”