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 Overpass Tile - NRP_OverpassTile.js

Plugin desc : v1.06 Realize a high-performance overpass.

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

Author : Takeshi Sunagawa (original triacontane & Yoji Ojima)

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

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

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

File name : NRP_OverpassTile.js

Help of plugin :

You can represent overpasses such as bridges on the map.
 * 
 * This is an enhanced version of
 * the official RPG Maker MZ plugin "OverpassTile.js".
 * It allows you to create overpasses with a higher degree of freedom
 * by allowing you to place tiles on the overpass that prohibit passage.
 * 
 * It can also be used as a hidden passage
 * that can be slipped through on maps that do not use overpass.
 * 
 * You can also switch the layer where the player or event exists
 * by using the event's note field or plugin commands.
 * 
 * OverpassTile.js" also exists in RPG Maker MV,
 * but this plugin is based on the more advanced MZ version.
 * On top of that, I have improved it
 * so that it can be used in MV as well.
 * 
 * -------------------------------------------------------------------
 * [Caution]
 * -------------------------------------------------------------------
 * This plugin should be placed below the following plugins.
 * 
 * - NRP_EventCollisionEX
 * - NRP_BushEX
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * If you place a tile in the upper layer (layer 3-4 in MZ),
 * it will be treated as an overpass.
 * Then, as in "OverpassTile.js", specify the overpass
 * and its entrance in the region and terrain tags.
 * (Multiple specifications are acceptable. Example: 1,2)
 * 
 * Initially, the character will be treated as being under the overpass.
 * When the character passes through the entrance of the overpass,
 * the character will move above the overpass.
 * 
 * -------------------------------------------------------------------
 * [Note]
 * -------------------------------------------------------------------
 * If you specify the following in the event's note field,
 * it will appear above the overpass from the beginning.
 * 
 * <OverpassHigher>
 * 
 * Also, if you turn on the plugin parameter "AutoOverpassHigher",
 * it will automatically place events on the OverPathRegion on top.
 * In that case, if you want to place them at the bottom,
 * specify the following.
 * 
 * <OverpassHigher:false>
 * 
 * Also, the event will always be above the overpass
 * and will not move to a lower level if the following is specified
 * ※Assuming events such as flying events.
 * 
 * <OverpassFly>
 * 
 * -------------------------------------------------------------------
 * [Plugin Command (MZ)]
 * -------------------------------------------------------------------
 * ◆ChangeHeight
 * Specify the target character
 * and change its vertical relationship to the overpass.
 * Check the actual plugin command for details.
 * 
 * -------------------------------------------------------------------
 * [Plugin Command (MV)]
 * -------------------------------------------------------------------
 * ◆NRP.OverpassTile.Higher [Target] [Position (true/false)]
 * Change the height at which the target is displayed as in the MZ version.
 * ※If Position is omitted, it will be true.
 * ※It does not matter if it is uppercase or lowercase.
 * 
 * The following is an example.
 * 
 * >NRP.OverpassTile.Higher 0
 * Move this event to the upper layer.
 * ※0 can be omitted.
 * 
 * >NRP.OverpassTile.Higher 1 false
 * Move the event with ID=1 to the lower level.
 * 
 * >NRP.OverpassTile.Higher 1~10
 * Move the events with ID=1 to 10 to the upper layer.
 * 
 * >NRP.OverpassTile.Higher -1
 * Move player (-1) to the upper level.
 * 
 * >NRP.OverpassTile.Higher -1~-4
 * Move the four party members to the upper level.
 * ※-2 and below means formation walking friends.
 * 
 * -------------------------------------------------------------------
 * [Acknowledgements]
 * -------------------------------------------------------------------
 * This plugin is a modification of RPG Maker MZ's official OverpassTile.js
 * (by Triacontane and Yoji Ojima).
 *
 * -------------------------------------------------------------------
 * [Reference: From OverpassTile.js]
 * -------------------------------------------------------------------
 * Overpasses, such as bridges, can be represented on the map.
 * This plugin improves functionality for RPG Maker MV's official "OverpassTile.js" plugin's MZ.
 *
 * Since you can specify not only regions but terrain tags,
 * considerations are made for event launches and collision determination as well.
 * The plugin does not make considerations for vehicles.
 *
 * Specifications for Determination of Passage
 * -When at the entrance of a bridge
 *  →The player can always move towards the overpass.
 * -When on an overpass
 *  →If on top of a bridge, the player can always move towards the entrance of the bridge and overpass.
 *  →If under a bridge, the player can never move toward the bridge's entrance.
 * -If movement allowance was not determined from the above conditions
 *  →Follows the map's original passage settings.
 *
 * The plugin can take event launch determination and collision determination into consideration.
 * -Events with different heights (over and under a bridge) will launch, without collision.
 *
 * @------------------------------------------------------------------
 * @ Plugin Commands
 * @------------------------------------------------------------------
 * 
 * @command ChangeHeight
 * @desc Toggles whether the character will be displayed above or below the overpass.
 * 
 * @arg Target
 * @desc Specify the character (ID) whose position is to be changed. Multiple characters can be specified.
 * @type combo
 * @default 0 #this event
 * @option 0 #this event
 * @option -1 #player
 * @option -1~-4 #party
 * @option 1,2,3 #multiple
 * @option 1~3 #range
 * @option this._eventId + 1
 * 
 * @arg Higher
 * @desc Display above overpass.
 * If off, it will be displayed below.
 * @type boolean
 * @default true
 * 
 * @------------------------------------------------------------------
 * @ Plugin Parameters
 * @------------------------------------------------------------------
 * 
 * @param OverPathRegion
 * @desc Region ID set for bridge or other overpass sections.
 * @default 0
 * @type text
 *
 * @param OverPathTerrainTag
 * @desc Terrain tag set for bridge or other overpass sections.
 * @default 0
 * @type text
 *
 * @param GatewayRegion
 * @desc Region ID set for overpass entrances, such as both ends of a bridge.
 * @default 0
 * @type text
 *
 * @param GatewayTerrainTag
 * @desc Terrain tag set for overpass entrances, such as both ends of a bridge.
 * @default 0
 * @type text
 * 
 * @param ConsiderLadder
 * @desc If the character is on the overpass, ignore the ladder attribute below.
 * @default true
 * @type boolean
 * 
 * @param AutoOverpassHigher
 * @desc Events whose initial position is on the OverPathRegion are automatically placed on the upper level.
 * @default false
 * @type boolean

スポンサードリンク

-MZ plugins

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