设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MV 讨论区 › Terrain Tag Passability - PG_TTagPass.js: PG_TTagPass.js

Terrain Tag Passability - PG_TTagPass.js: PG_TTagPass.js

 

Terrain Tag Passability - PG_TTagPass.js:
This plugin gives you the ability to make terrain passable or not by turning switches on or off.  Instead of using regions (which are not related to the tiles used) it uses terrain tags. Up to 6 terrain tags may have their passability controlled. It overides the passability of land tiles with specific terrain tags.

Spoiler: Why use Terrain Tags to Control Access?
Terrain Tags are settings that can be made in the "Tilesets" tab of the editor. Individual tiles can be given a terrain tag of 0 to 7. Multiple tiles can have the same terrain tag. By default, all terrain tags are 0.

Whenever a tile is used, the places it is used have the terrain tag of that tile.   Unlike regions, if you change your mind where a wood or mountain range is, the terrain tag of each place is set automatically.

Terrain tags are a feature that I haven't previously used, and I suspect, are not used by many other people. Regions are sometimes used by other plugins for various effects. By default, they get used to control which enemies may be encountered in different areas of the same map. With this plugin, you could, for example, make all mountains impassable to the party, until they learn the mountaineering. Using a plugin that controls access by region, means that every time you edit the map you have to check whether the regions need updating. With this plugin, the party can be given access to previous blocked terrain by setting a switch.
To use a switch to control passability for a terrain tag, put the switch number into the relevant parameter. If the switch is "On", then tiles with that terrain tag are passable for the party, while if the switch is "Off" then they are impassable. [Be aware that when using B to E sheet tiles, the uppermost tile's terrain tag tends to overwrite that of the A sheet tile underneath.] If you don't want to overide the passability of tiles with a particular terrain tag, leave the parameter for the switch controlling it as '0'.

Version 2

                JavaScript:       

Terms and Conditions:
Free to use for both free and commercial games.  Please do not publish this elsewhere on the Internet, but link to this thread. (This is in case I ever need to update the plugin; I would want only the latest version to be available.) I would prefer to be credited, either as "Piyan Glupak" or by my real name. Please credit Trihan as well, if using version 2.

Trihan's Supplementary Plugin may be found in post 7 of this thread.


本贴来自国际rpgmaker官方论坛作者:Piyan Glupak处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/terrain-tag-passability-pg_ttagpass-js.164894/
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-24 21:14 , Processed in 0.050730 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部