设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 116|回复: 0

[转载发布] Terrain Tags

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58883
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68848

    灌水之王

    发表于 2026-8-2 09:40:30 | 显示全部楼层 |阅读模式
    Terrain Tags Script V1.2





    Created by Neon Black



    What is it?

    This scripts adds a few region tags to the maker that cause certain regions to affect movement on that particular tile on the map.  These are some simple changes like roofs and slopes, and a few more complex ones like bridges.  These changes are designed to make maps more dynamic and interesting as well as simplify things that would have had to be created using events previously.

    How can I use it?

    There are are 3 main types of terrain options each with their own uses.


    • Slopes - Regions 16 and 17 by default.  Slopes grant the player diagonal movement when they are walked into and off of.  To use these, simply place the region on top of ALL tiles that have diagonal stairs on them.  Passability is slightly modified on these to allow thin staircases to be created requiring less room to pass than normal diagonal movement.  By default region 16 refers to stairs that go up and to the left while region 17 refers to stairs that go up and to the right.
    • Cover – Cover or ceiling tiles are tiles that the player can walk under but cannot walk over.  By default these tiles are tagged with region 18.  Since autotile passabillity gets messed up when you make certain autotiles passable, I also added blocking terrain tags.  By default these are region 19.  These prevent all movement onto them.
    • Bridge – This is the most complex set of tags to work and the reason I added a demo to mess around with.  Bridges get tagged with region 20.  These can be walked under or over.  Since using bridges and cover tags will erase upper layer images when used, I also added a “catwalk” tag.  This tag can be used to tag bridges that use the upper layer.  In this case the player will ALWAYS be ABOVE the lower tile, and the UPPER tile will act as a bridge you walk over and under.  There are two other region tags that determine if a bridge is currently in upper or lower mode and that are also used to prevent the player from stepping off of a bridge to somewhere they’re not supposed to.  Region 22 by default is the lower tag.  If the player steps on this, all bridges and catwalks will be changed to the player and events walk UNDER them.  Region 23 switches it so that the player and events walk OVER them.  One more thing to note, the player can only step off of a bridge or catwalk tile onto another bridge, catwalk, or similar switching region.  This means if the player is UNDER the bridge, they can only walk on tiles marked with 20, 21, or 22.  Once they step on region 22, they can walk around normally.  The same applies to region 23 while they’re on top of bridges.

    What does it look like?

    Spoiler













    The screenshot above demonstrates most of the setup.  Notice how bridges (region 20) and catwalks (region 21) are hugged on the sides with lower regions (region 22) and at the ends with upper regions (region 23).



    What does it work with?

    This should work with most other scripts.  Considering it overwrites a movement method and a passage method it probably will not work with scripts that affect movement.

    How can I get the code?

    Version 1.2 (base script, 12.22.2012) is available from my pastebin account here or my mediafire account here.

    I would like to use this code.



    This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

    Permissions beyond the scope of this license may be available athttp://cphouseset.wo...d-terms-of-use/.

    Author’s Disclaimer:

    This is a script I made in an afternoon and forgot about.  I did this because I wanted a way for players to walk up diagonal stairways easily, but I ended up wanting to add a bit more.  So I did.  It took a bit of tweaking to get everything adjusted right, but I think I’ve finally got everything down.  I know the bridge tags are a bit hard to use, but if you skip those and just use the other tags it’s still a pretty awesome script.  As always, enjoy!


    本贴来自国际rpgmaker官方论坛作者:Neon Black处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/terrain-tags.7051/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 12:40 , Processed in 0.085777 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表