Movement Bonus?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
kiba
Filter Inserter
Filter Inserter
Posts: 344
Joined: Thu Jun 11, 2015 5:32 am
Contact:

Movement Bonus?

Post by kiba »

Hi, I am using express belts on concrete surface to speed up character movement.

But I am unsure if it's actually any better than lower tier belts because it's hard for me to tell.

Does anybody know how to find the movement speed of your character?
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3749
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Movement Bonus?

Post by DaveMcW »

Run this command twice.

Code: Select all

/c p=game.player.character.position; if (q) then game.player.print(math.sqrt((p.x-q.x)*(p.x-q.x)+(p.y-q.y)*(p.y-q.y))*60/(game.tick-t) .. " m/s") end; q=p; t=game.tick;
kiba
Filter Inserter
Filter Inserter
Posts: 344
Joined: Thu Jun 11, 2015 5:32 am
Contact:

Re: Movement Bonus?

Post by kiba »

DaveMcW wrote:Run this command twice.

Code: Select all

/c p=game.player.character.position; if (q) then game.player.print(math.sqrt((p.x-q.x)*(p.x-q.x)+(p.y-q.y)*(p.y-q.y))*60/(game.tick-t) .. " m/s") end; q=p; t=game.tick;
Awesome command, though it's hard to get the timing right.
Post Reply

Return to “Gameplay Help”