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

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

MZ plugins

Region Collision Ex - RegionCollisionEx.js

Plugin desc : Make Region and Passage more manageable.

License : MIT License

Author : あわやまたな (Awaya_Matana)

Website : https://awaya3ji.seesaa.net/

Desc page : https://awaya3ji.seesaa.net/article/502192415.html

File name : RegionCollisionEx.js

Help of plugin :

* @target MZ MV
* @plugindesc Make Region and Passage more manageable.
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/502192415.html
*
* @help Ver.1.1.0
* 【Expansion Map】
* 1. Create a map that will be a child element of the map you want to extend,
*     make the width and height the same,
*     and make sure the name contains the string specified by the parameter.
* 2. Places flags and regions using the tileset specified by the parameter.
*
* 【Expansion Tileset】
* When used in an Expansion Map:
* ・Tileset B
* Replaced by region.
*
* ・Others
* C to E and A5 can be used to add flags for passage, etc.
* A1-A4 cannot be used.
*
* When used with a normal map:
* ・Tileset B
* Replaced by region.
*
* ・Others
* It behaves the same as standard.
* Only images that are set to be hidden will be hidden.
*
* 【Note】
* Edits the specified tile's flag.
* <TerrainTag:TileID>       //Add 8 to the terrain tag value.
* <BoatPassable:TileID>     //Allow boat passage.
* <BoatImpassable:TileID>   //Prohibit boat passage
* <ShipPassable:TileID>     //Allow ship passage.
* <ShipImpassable:TileID>   //Prohibit ship passage
* <AirshipLandOk:TileID>    //Allow airship to land.
* <AirshipLandNotOk:TileID> //Prohibit airship to land.
*
* Separate multiple entries with a comma, and use a hyphen to specify a range.
* Example:<TerrainTag:1536,1537,1-255>
*
* Tile ID:
* ・Blank(in the upper left of Tileset B)
* 0
* ・Tileset B
* 1~255
* ・Tileset C
* 256~511
* ・Tileset D
* 512~767
* ・Tileset E
* 768~1023
* ・Tileset A5
* 1536~1663
* ・Tileset A1
* 2048~2815
* ・Tileset A2
* 2816~4351
* ・Tileset A3
* 4352~5887
* ・Tileset A4
* 5888~8192
*
* @param hiddenImages
* @text Hidden Images
* @desc Hides the specified images in-game.
* @type file[]
* @dir img/tilesets
* @default ["Collision"]
*
* @param mapName
* @text Extension Map Name
* @desc When this string is included in the name of the map of the child element, the map data will be synthesized.
* @default mapRC
*
* @param tilesetId
* @text Expansion Tileset
* @desc Tileset used for flag expansion.
* @type tileset
* @default 7
*
* @param regionEx
* @text Extra Region
* @desc Assign tileset C in the expansion tileset to region numbers 256 to 511.
* @type boolean
* @default false
*

スポンサードリンク

-MZ plugins

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