Hi all, anyone knows how to modify the transfer player fade speed? I plan to make a big map so when player move from area to area the fade speed is just too slow. Hoping to find an easier way to do this than create a series of move events all the time.
Fade speed when transfering player to another map
RPG Maker MZ Support[this] might work (as it can have a different color and speed).
I think there was one for MV or a snippet to change duration
as default was around 24-30 I believe.
I think there was one for MV or a snippet to change duration
as default was around 24-30 I believe.
The default fade in and fade out is set at 24 frames AFAICT. So if you would want half of that you could overwrite it as follows:
Save the above and load it in as a plugin. Quick and sloppy testing shows it works as advertised.
JavaScript:
//from rmmz_scenes.js 1093
//overwriting fadeSpeed for map transfers
Scene_Map.prototype.fadeInForTransfer = function() {
const fadeType = $gamePlayer.fadeType();
switch (fadeType) {
case 0:
case 1:
this.startFadeIn(this.fadeSpeed()/2, fadeType === 1);
// this.startFadeIn(this.fadeSpeed(), fadeType === 1);
break;
}
};
Scene_Map.prototype.fadeOutForTransfer = function() {
const fadeType = $gamePlayer.fadeType();
switch (fadeType) {
case 0:
case 1:
this.startFadeOut(this.fadeSpeed()/2, fadeType === 1);
// this.startFadeOut(this.fadeSpeed(), fadeType === 1);
break;
}
};
Save the above and load it in as a plugin. Quick and sloppy testing shows it works as advertised.
Thanks! This code works.
Original thread: https://forums.rpgmakerweb.com/threads/fade-speed-when-transfering-player-to-another-map.175620/