MV Need help with bug in VCM_MovementSpeeds

This is the plugin.

The problem i am facing is that when i use command change speed for player's movement route (for event route it's ok), player moves at the speed of light no matter what speed i set. The settings on the plugin are default, also that happens when starting new game, so no plugin commands are inputted (if default setttings are unchanged, it is supposed to only change speed on specific command).

Bug happens all the time, so if you just create an event like this - it will be over in 1 second -
1743835169302.png
Maybe you can try another one?
@utunnels it VCM can change event speed too.
even set it to 0.001 if needed.

@ElvenNeko try to use scriptcommand (I can take a look later)
maybe there is something for this.moveSpeed(your speed) but need
to check that.

you should read the helpfile if there is any or try what happens if you
set it on higher value (lower is slower for speed I think), as for some
lower is faster in animation.
Yeah, but VCM has a serious problem it doesn't consider move route for the player.
And its fallback value for the player is just wrong (it returns speed itself).
For example, if your speed is 1, the character will move 1 pixel per frame.

Maybe someone can modify the code to let the player use the same logic.
Maybe you can try another one?
I tried that one before this and it does not work at all, plugin commands doing nothing.
try to use scriptcommand
It gives error "this move speed is not a function"


Also - It is not the problem with certain event, but more like a global problem when hundreds of events with speed change are affected. So i either have to remove plugin (that will also force me to give up on one of they key levels and rethink it to something else), or find a way to make it not do that.

Apart from that plugin works for my purpose, giving custom speed to events. If only it didn't break the events...

By the way like i already said it gives correct speed to the events. So that bug is for player only. Perhaps all that needs to be done is replace the player code with event code. If only i knew which is which to try that.
what happens if you
set it on higher value
Same. Any value of speed change causes the super speed effect.
Well if you read its help text you'll find you are supposed to use setMoveSpeed script.

For example in the route, use this.setMoveSpeed(0.007812) for speed 1.
The author provide the default values so you can just use them.
Well if you read its help text you'll find you are supposed to use setMoveSpeed script.

For example in the route, use this.setMoveSpeed(0.007812) for speed 1.
The author provide the default values so you can just use them.
Thanks, that works. But it also means that i have to search and change hundreds of events. I wonder if there is a way to get around it. Or a better plugin.


UPDATE: in the process of figuring out the plugin i discovered that it's script calls still change the speed of events even if the plugin is disabled. I dunno why. But i guess that solves the problem >_<
Game_Player.prototype.distancePerFrame = function() {
///return Math.pow(2, this.realMoveSpeed()) / 256;
///
if($gameTemp.isDestinationValid()){
if(this.isInBoat()){
return VCM.MovementSpeeds['Touch Input Boat Speed'];
}
if(this.isInShip()){
return VCM.MovementSpeeds['Touch Input Ship Speed'];
}
if(this.isInAirship()){
return VCM.MovementSpeeds['Touch Input Airship Speed'];
}
return VCM.MovementSpeeds['Touch Input Speed'];
}
else if(this.isDashing()){
return VCM.MovementSpeeds['Dash Speed'];
}
else if(this.realMoveSpeed() === 4){
return VCM.MovementSpeeds['Normal Speed'];
}
return Game_CharacterBase.prototype.distancePerFrame.call(this); //return this.realMoveSpeed();
///
};

Maybe edit the plugin a bit?
Game_Player.prototype.distancePerFrame = function() {
///return Math.pow(2, this.realMoveSpeed()) / 256;
///
if($gameTemp.isDestinationValid()){
if(this.isInBoat()){
return VCM.MovementSpeeds['Touch Input Boat Speed'];
}
if(this.isInShip()){
return VCM.MovementSpeeds['Touch Input Ship Speed'];
}
if(this.isInAirship()){
return VCM.MovementSpeeds['Touch Input Airship Speed'];
}
return VCM.MovementSpeeds['Touch Input Speed'];
}
else if(this.isDashing()){
return VCM.MovementSpeeds['Dash Speed'];
}
else if(this.realMoveSpeed() === 4){
return VCM.MovementSpeeds['Normal Speed'];
}
return Game_CharacterBase.prototype.distancePerFrame.call(this); //return this.realMoveSpeed();
///
};

Maybe edit the plugin a bit?
This solved the issue! Thank you, you made this plugin usable, and that's great since the autor has abandoned it.
maybe you could event it without the moveroute, you just need some
scriptcalls to turn the player and such which works too.

moveroute simplifies it by clicking on the one you need =)
but if it solves your issue by the line added, its probably an oversight by
the author or never mentioned to him 🙂

@utunnels that is a very nice catch which I probably didn't find directly
on the cause 🙂

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-bug-in-vcm_movementspeeds.176757/