Page 1 of 1

Movement Bonus?

Posted: Sun Jul 26, 2015 1:39 am
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?

Re: Movement Bonus?

Posted: Sun Jul 26, 2015 2:01 am
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;

Re: Movement Bonus?

Posted: Sun Jul 26, 2015 2:19 am
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.