Events to function as "Ladders" and "Counters"

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: Screenshots
Spoiler: Tileset Ladder
Ladder created from the tileset will cause the player to always face up.
TilesetLadder.png
Spoiler: Without Plugin
The lower ladder is made of events which are activated by the switch.
Spoiler: Player&Followers
EventLadderWithoutPlugin.png
Spoiler: NPC (Other events)
NPCEventLadderWithoutPlugin.png
Spoiler: With Plugin
These screenshots are with the plugin installed.
Spoiler: Player&Followers
EventLadderWithPlugin.png
Spoiler: NPC (Other events)
NPCEventLadderWithPlugin.png

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
EventSetup.png

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...")​
This is a feature that really should have been available by default. Great job!
Pretty good! This should be really a default feature 😀
Thanks for your work 🙂
Update! Version 2.0 is released (original post download link is updated).

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>
You sir, has my thanks!
Brilliant.
Greetings,

I hope this isn't considered a necro post, but I thought your plugin here is really cool and decided to include it on a project I was working on.

However, using this plugin causes extreme FPS lag on larger maps. Even if the notetag is only called a single time on a single event on the map.

Turning off only this plugin removes all FPS lag, so I know it is either specifically this one causing it or some negative interaction between this and other plugins.

Note that this plugin was written for MV but I am attempting to use it for MZ, so that in an of itself may be causing issues.

Anyway, wanted to post here in case you were still around and had any knowledge on this issue with the plugin you could share. If not, wanted to post here as well in case anyone else thought to use this plugin and had FPS issues. It may be this plugin causing it.
@Niniann I just tested it in a new MV project with several events having Aloe's notetags - it worked perfectly fine.

I did not test it in MZ, but I'd suspect that's your problem - either natively or in conjunction with other plugins you might have installed.
Rgr that, I appreciate the testing. I believe you're exactly right and your testing confirms it.

It's either MZ or a plugin conflict. I'll have to do some digging into the javascript to see if I can pinpoint the issue; hopefully not a compatibility problem with a visustella plugin due to the obfuscation.

Original thread: https://forums.rpgmakerweb.com/threads/events-to-function-as-ladders-and-counters.88326/