how to change the characters walking speed?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1156
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

how to change the characters walking speed?

Post by brunzenstein »

either in the Lula file or better by a Lula command - please advise
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: how to change the characters walking speed?

Post by daniel34 »

Code: Select all

/c game.player.character_running_speed_modifier = 2
The default running speed is 0, if you enter positive numbers e.g. 2 it means +200% running speed.
If you wanted to reduce the number then -0.5 would mean -50% and halves the running speed.

And please, call it Lua in the future.
quick links: log file | graphical issues | wiki
User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1156
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

Re: how to change the characters walking speed?

Post by brunzenstein »

daniel34 wrote:

Code: Select all

/c game.player.character_running_speed_modifier = 2
The default running speed is 0, if you enter positive numbers e.g. 2 it means +200% running speed.
If you wanted to reduce the number then -0.5 would mean -50% and halves the running speed.

And please, call it Lua in the future.
Thank you indeed. This makes a lot of newbies happy
Post Reply

Return to “Gameplay Help”