An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NRP Change Character Speed - NRP_ChangeCharacterSpeed.js

Plugin desc : v1.03 Change the character's movement speed in detail.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_ChangeCharacterSpeed.js

Desc page : http://newrpg.seesaa.net/article/481254085.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_ChangeCharacterSpeed.js

File name : NRP_ChangeCharacterSpeed.js

Help of plugin :

Change the character's movement speed in detail.
 * This includes players, events, and various vehicles.
 * 
 * [Main Features]
 * - Allows you to set speeds that cannot be specified normally.
 *  Speeds in the middle or beyond the limit, for example.
 * - Set from plugin command or notes field.
 * - Can change the default value of Always Dash to On.
 * - Set the initial speed of the player and vehicles.
 * - Can change the speed when dashing.
 * - Can change the speed of stepping.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Set each speed from the plugin parameters.
 * The initial value of the movement speed will be changed.
 * 
 * However, if you change the value of <BasicSpeed>,
 * a multiplier will be applied to all movement speeds.
 * Please use the method that is most convenient for you.
 * 
 * The speed value should refer to the move speed of the event.
 * 
 * ・1: x8 Slower
 * ・2: x4 Slower
 * ・3: x2 Slower
 * ・4: Normal
 * ・5: x2 Faster
 * ・6: x4 Faster
 * 
 * Values outside of this range can also be set.
 * Each increase of 1 in the value doubles the speed,
 * and each decrease of 1 halves the speed.
 * Decimals and negative values are also valid.
 * 
 * For example, 3.5 is the speed between normal and x2 Slower.
 * 0 is x16 Slower and -1 is x32 Slower.
 * 
 * However, the maximum speed is "8:x16 Faster".
 * ※If the speed is faster than this, it will move 2 grids
 *   in an instant and will not be able to stop at the specified grid.
 * 
 * -------------------------------------------------------------------
 * [Setting Notes]
 * -------------------------------------------------------------------
 * The following can be specified as events note.
 * 
 * <MoveSpeed:3.5>
 * Set the event speed to 3.5.
 * 
 * -------------------------------------------------------------------
 * [Plugin commands for MZ]
 * -------------------------------------------------------------------
 * Specify the target and speed using "ChangeSpeed".
 * You can target a player or each events.
 * You can target multiple events at the same time.
 * 
 * For example, if the target is "1,2,3",
 * you can specify them one by one,
 * and if the target is "1~5", you can specify them all at once.
 * There is an example in the combo box, so please use it.
 *
 * -------------------------------------------------------------------
 * [Plugin commands for MV]
 * -------------------------------------------------------------------
 * > nrp.changecharacterspeed.speed 3.5
 * 
 * Change the speed of the target to 3.5.
 * If this is all you do, the target will be "this event".
 * If you want to specify the target,
 * set the following options in front of it.
 * 
 * > nrp.changecharacterspeed.target 1
 * 
 * Event ID=1 is the target of the speed change.
 * If 0, it is this event; if -1, it is the player.
 * In addition, you can specify multiple events.
 * "1,2,3" specifies one by one, and "1~5" specifies all at once.
 * 
 * ◆Example
 * nrp.changecharacterspeed.target 1~10
 * nrp.changecharacterspeed.speed 3.5
 * 
 * Change the speed of events with event IDs from 1 to 10 to 3.5.
 * 
 * To change the step speed, do the following.
 * 
 * > nrp.changecharacterspeed.stepspeed 3.5
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @-----------------------------------------------------
 * @ Plugin Commands
 * @-----------------------------------------------------
 * 
 * @command ChangeSpeed
 * @desc Changes the character's speed.
 * 
 * @arg Target
 * @desc Specify the target to change the movement speed.
 * You can specify multiple targets.
 * @type combo
 * @default 0 #This Event
 * @option 0 #This Event
 * @option -1 #Player
 * @option 1,2,3 #Multiple
 * @option 1~3 #Range
 * @option this._eventId + 1 #EventID+1
 * 
 * @arg Speed
 * @desc The movement speed to be changed. 4 is the normal speed.
 * @type number
 * @decimals 3 @min -99
 * @default 4
 * 
 * @-----------------------------------------------------
 * 
 * @command ChangeStepSpeed
 * @desc Changes the character's step speed.
 * If Speed is blank, then cancel the setting.
 * 
 * @arg Target
 * @desc Specify the target to change the step speed.
 * You can specify multiple targets.
 * @type combo
 * @default 0 #This Event
 * @option 0 #This Event
 * @option -1 #Player
 * @option 1,2,3 #Multiple
 * @option 1~3 #Range
 * @option this._eventId + 1 #EventID+1
 * 
 * @arg Speed
 * @desc The step speed to be changed. 4 is the normal.
 * If it is blank, then cancel the setting.
 * 
 * @type number
 * @decimals 3 @min -99
 * @default 4
 * 
 * @-----------------------------------------------------
 * @ Plugin Parameters
 * @-----------------------------------------------------
 * 
 * @param DefaultAlwaysDash
 * @desc Turn on the default value for Always On Dash in Options.
 * @type boolean
 * 
 * @param PlayerSpeed
 * @desc The movement speed of the player when walking. The initial value is 4.
 * @type number
 * @decimals 3 @min -99
 * 
 * @param PlusSpeedDash
 * @desc The speed that the player adds when dashing. The default value is 1. If 0, disable dash.
 * @type number
 * @decimals 3 @min -99
 * 
 * @param UseStepSpeed
 * @desc Enable the ability to change the step speed.
 * Turn off if it conflicts with other plugins.
 * @type boolean
 * @default true
 * 
 * @param <BasicSpeedRate>
 * 
 * @param PlayerBasicSpeedRate
 * @desc Changes the player's base speed to 100 as standard.
 * This changes the overall speed.
 * @type number
 * @default 100
 * 
 * @param EventBasicSpeedRate
 * @desc Changes the basic speed of the events to 100 as standard.
 * This changes the overall speed.
 * @type number
 * @default 100
 * 
 * @param <Vehicles>
 * 
 * @param BoatSpeed
 * @desc The boat's movement speed. The initial value is 4.
 * @type number
 * @decimals 3 @min -99
 * 
 * @param ShipSpeed
 * @desc The ship's movement speed. The initial value is 5.
 * @type number
 * @decimals 3 @min -99
 * 
 * @param AirShipSpeed
 * @desc The airship's movement speed. The default value is 6.
 * @type number
 * @decimals 3 @min -99

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.