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

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

MZ plugins

MPP Hidden Passage - MPP_HiddenPassage.js

Plugin desc : Displays the tile with the specified region ID above the player.

License : MIT License

Author : Mokusei Penguin

Website : http://woodpenguin.blog.fc2.com/

Desc page : https://woodpenguin.web.fc2.com/MV_Plugin/HiddenPassage.html

File name : MPP_HiddenPassage.js

Help of plugin :

* @target MV MZ
 * @plugindesc Displays the tile with the specified region ID above the player.
 * @author Mokusei Penguin
 * @url 
 *
 * @help [version 3.0.4]
 * - This plugin is for RPG Maker MV and MZ.
 * - Displays the tile with the specified region ID above the player.
 * 
 * ▼ Plugin command
 *  - In MV, the variable N is referred to by writing v[N] in the item for
 *    inputting a numerical value.
 *  - In MZ, in the item to enter a numerical value, select the text and
 *    write v[N] to refer to the variable N.
 *  
 *  〇 MV / MZ
 *  
 *  〇 SetPlayerZ z  / setPlayerZ
 *       z : Z coordinate
 *   - Set the Z coordinate of the player.
 *   - Of the region IDs set in the plug-in parameters,
 *     the regions below this number are displayed below the player.
 *   - Actually, we are not changing the Z coordinate of the character,
 *     we are just changing the method of determining whether to display
 *     it above the character.
 *   - Only the player can specify the Z coordinate.
 * 
 * ▼ Plugin parameters
 *  〇 Passable Region Ids / Impassable Region Ids
 *   - Tiles with the set region ID and higher than the player’s Z coordinate are
 *     displayed above the character.
 *   - If it is displayed below the character, it will be a normal tile.
 *   - Range specification is available for these plug-in parameters.
 *   - You can specify a number from N to M by writing N-M.
 *      Example: 1-4,8,10 => 1 to 4 and 8 and 10
 * 
 * ▼ Note
 *  - The upper part of the A4 (wall) of the tile set is passable due
 *    to the specifications on the Maker side.
 *  - When creating secret passages, it is recommended to make both sides accessible
 *    and impassable.
 * 
 * ================================
 * Mail : wood_penguin@yahoo.co.jp (@ is half-width)
 * Blog : http://woodpenguin.blog.fc2.com/
 * License : MIT license
 * 
 *  @command setPlayerZ
 *      @desc 
 *      @arg z
 *          @desc 
 *          @type number
 *              @min 0
 *              @max 255
 *          @default 0
 *
 * 
 *  @param Passable Region Ids
 *      @desc An array of region IDs displayed above and passable.(Range can be specified)
 *      @default 32
 *
 *  @param Impassable Region Ids
 *      @desc An array of region IDs that are displayed above and cannot be passed.(Range can be specified)
 *      @default 33
 *

スポンサードリンク

-MZ plugins

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