じ☆ve冰风 发表于 2026-7-29 09:36:22

Events to function as "Ladders" and "Counters&quo

Events to function as "Ladders" and "Counters"
by Aloe Guvner
Download
(Instructions: Right-click the "Raw" button and select "Save Link As...")​

Introduction
The tileset database in RPG Maker MV contains a flag that allows a tile to be marked as a "ladder". Any character (player, follower, or event) which moves on this tile will have a fixed direction of "up", to make the ladder movement appear more realistic.

Even if an event uses the tileset graphic that is marked as a "Ladder", the character's direction will not be fixed to "up". This is a simple plugin which allows events to be treated as a ladder.

New v2.0: This plugin also allows events to have the properties of a "Counter".
Any event with a graphic set to a tileset tile that is marked with the "Counter" property or has a notetag of <counter> is treated as a counter.

"Counter" allows interaction with other events from 1 space away.
(Example: Speak to a shop owner standing behind a table)

Spoiler: ScreenshotsSpoiler: Tileset Ladder
Ladder created from the tileset will cause the player to always face up.


Spoiler: Without PluginThe lower ladder is made of events which are activated by the switch.
Spoiler: Player&Followers

https://forums.rpgmakerweb.com/attachments/eventladderwithoutplugin-png.77912/
Spoiler: NPC (Other events)
https://forums.rpgmakerweb.com/attachments/npceventladderwithoutplugin-png.77913/
Spoiler: With PluginThese screenshots are with the plugin installed.
Spoiler: Player&Followers


Spoiler: NPC (Other events)


Practical Usage
A ladder may 'appear' by solving a puzzle or triggering a switch. In this case, the ladder is composed of events that are activated by a switch. With this plugin, this ladder will operate the same as a ladder created from the tileset.

How to use
Use a notetag of this format on any event that is to be treated as a ladder.
                Code:       
<ladder>

Spoiler: Event Setup


New v2.0: Use a notetag of this format on any event that is to be treated as a counter.
                Code:       
<counter>


New v2.0: Events with their graphic set to a tile on the tileset with either the Ladder or Counter flag will function as a Ladder or Counter, respectively.



Credit
- Aloe Guvner

Terms of Use
- You may use this plugin in both non-commercial and commercial projects.
- You may edit this plugin and redistribute your edits, but do not claim you wrote the original code.
- You may redistribute this plugin elsewhere. In that case, please link back to this plugin thread if possible.

Version History
v2.0:
-Events now function as ladders if their graphic is set to a tile which is marked as a Ladder
-Events can now function as "Counters" if their graphic is set to a tile which is marked as a Counter
-Events can function as "Counter" using the notetag <Counter>
v1.0:
-Initial plugin release
-Allowed events to function as ladders using the notetag <Ladder>


Download
(Instructions: Right-click the "Raw" button and select "Save Link As...")​



本贴来自国际rpgmaker官方论坛作者:Aloe Guvner处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/events-to-function-as-ladders-and-counters.88326/
页: [1]
查看完整版本: Events to function as &quot;Ladders&quot; and &quot;Counters&quo