[Solved] where can I change movement speed values?

-
It would be a method in one of the Game_Character scripts, I suspect.


sorry I can't actually look myself - I'm at work and don't have my laptop with me.
-
I wondered about this ... there's a default move speed for characters, and as each page can have a custom move speed, the setting is on the RPG::Event:😛age class.

Add this to a new slot above main:

module RPG class Event class Page alias shaz_initialize initialize def initialize shaz_initialize @move_speed = 4 @move_frequency = 4 end end endendYou can remove the @move_frequency setting or adjust it as needed - just experiment a bit.Actually I'm not even sure if that'll do it. Try it, and if it doesn't work, just remove that whole thing.

I think what you MAY need to tinker with is Game_Event.refresh, where it sets @move_speed from the event page itself. It will have values from 1 to 6, which you could adjust using conditional tests, case statements, or if you just want to substitute entirely, use an array with the new move speeds and the page setting as an index.

What exactly are you trying to do?
-
You can customize the movement speed values using the script function in the "Set Move Route" event command. In the script line, enter "@move_speed = X" with X being the custom move speed you want.

From what I've read though, movement speeds are set using logarithmic values, meaning that a .5 or 1.5 movement speed might not be ideal since it would cause some tearing of the image when scrolling the map. There is a post here that would explain better - see Heretic86's response in this thread for more details:

http://forums.rpgmakerweb.com/index.php?/topic/36311-35-movement-speed/
alright ... try this.


Get rid of the script above, then go to Game_Event and find the refresh method. Find this line:

@move_speed = @page.move_speedChange it to this:
Code:
@move_speed = [0,1,2,3,4,5,6][@page.move_speed]
The default move speed on a page is 3 - not sure whether that's "slow" or "normal". If you're happy with that setting, leave it as it is, and just change the 1 and 2 to lower values. If the 3 is still too fast, change 3 to something lower as well.
So you might end up with something like this:

@move_speed = [0,0.5,1,1.5,4,5,6][@page.move_speed]
I'm not sure this will work - I THINK I've seen people use fractional values for movement speed before and it hasn't messed things up. But not guaranteeing it 🙂
One thing worth noting that I didn't think of before - if these are just for events like you had mentioned and not for the actual player, then you can set their movement speeds using the script command as you please, since moving events on the map won't cause the map to scroll. This only becomes an issue when you set custom move speeds for the player graphic, since the map will scroll with the player's movement. As long as the camera isn't following the event, you won't have any tearing of the image.

EDIT: On a related note, I was just playing around with it a bit and it seems you can't enter ".5" as a movement speed. You must enter the "0" first, so it would have to be entered as "0.5" in order to work.
-
just mark whichever one you end up using 😉
-

Original thread: https://forums.rpgmakerweb.com/threads/solved-where-can-i-change-movement-speed-values.40028/