MV [VISUAL] Ten_CharacterOverlay v1.2 - Attach Overlay Sprites to Events

Download

Hello RPG Maker MV community!​


I'm excited to share my plugin, Ten_CharacterOverlay v1.2, which allows you to attach character-like overlay sprites (such as hats, icons, effects, or accessories) to events and the player. These overlays can be positioned, animated, and layered precisely, adding visual flair to your game without needing complex scripting.

Features​

  • Attach overlays to events or the player: Use comment tags for automatic setup or script calls for dynamic control.
  • Flexible positioning: Set pixel offsets (X/Y) from the event's position.
  • Z-layer control: Render overlays "above" or "below" the event for proper depth.
  • Animation support: Enable 3-frame stepping animation for dynamic effects.
  • Character sheet compatibility: Uses standard RPG Maker MV character sprite sheets (8 characters per sheet).
  • Dynamic show/hide: Toggle overlays on/off during gameplay via script calls.
  • Player support: Full API support for the player character.
  • Automatic cleanup: Overlays are removed when events are erased.

Installation​

  1. Download the plugin file (Ten_CharacterOverlay.js).
  2. Place it in your project's js/plugins/ folder.
  3. In the Plugin Manager, add and enable the plugin.
  4. Configure the plugin parameters as described below.

Plugin Parameters​

The plugin uses a structured parameter called "Sprites" to define each overlay configuration. Each sprite entry includes:
  • name: Unique ID for the overlay (used in tags and scripts).
  • filename: Sprite sheet file from img/characters/ (e.g., "Actor1.png").
  • characterIndex: Index (0-7) of the character in the spritesheet.
  • layer: "above" or "below" the event.
  • offsetX / offsetY: Pixel offsets from the event's center.
  • animated: Enable/disable 3-frame animation.

Usage​

1. Comment Tags (Automatic Setup)​

Add these to the first page of an event's comments:
  • characterSprites: NAME show - Shows the overlay named "NAME" on map load.
  • characterSprites: NAME hide - Hides it (default state).
Example: For an event with a hat, add characterSprites: hat show in the comments.

2. Script Calls (Dynamic Control)​

Use these anywhere in events or scripts for runtime control:
  • $gameMap.event(ID).showOverlay("NAME") - Show overlay on event ID.
  • $gameMap.event(ID).hideOverlay("NAME") - Hide overlay on event ID.
  • $gamePlayer.showOverlay("NAME") - Show on player.
  • $gamePlayer.hideOverlay("NAME") - Hide on player.
  • Inside an event: this.character(0).showOverlay("NAME") for "This Event".

Examples​

  • Hat on NPC: Configure a "hat" sprite with offsetY: -10, layer: "above". Add characterSprites: hat show to the event.
  • Animated effect: Set animated: true for a glowing aura that cycles through frames.
  • Dynamic toggle: Use script calls in events to show/hide overlays based on switches or variables (e.g., equip a hat item to show the overlay).

Notes​

  • Sprite files must follow RPG Maker MV's character sheet format (e.g., 4x2 grid for 8 characters).
  • No plugin commands are needed; everything is handled via parameters and script calls.
  • Compatible with RPG Maker MV (not MZ).
  • Tested for performance, but avoid excessive overlays on busy maps.
Download
This is a great plugin. With this, I will no longer have to edit my sprites to attach other sprites to them 😀
But one question: Does this one work with old save files (which did not contain this plugin)? I have my game in an early-access state, and I don't want players to replay from scratch again
This is a great plugin. With this, I will no longer have to edit my sprites to attach other sprites to them 😀
But one question: Does this one work with old save files (which did not contain this plugin)? I have my game in an early-access state, and I don't want players to replay from scratch again
I'm not sure, you can check it out
I'm not sure, you can check it out
Thanks! I will surely check it out. Besides, is there any order requirement for this? I have been using lots of Yanfly's and MOG's plugins, so anything about plugin order I need to keep in mind?
If there is a problem, I will fix it
Thanks! I will surely check it out. Besides, is there any order requirement for this? I have been using lots of Yanfly's and MOG's plugins, so anything about plugin order I need to keep in mind?
Hey Ten! I'd like to ask something. I'm creating a game that uses Galv plugins, mainly CharacterFrames and CharacterAnimations. I tried using your plugin, but for some reason I couldn't get it to work at all. If there's a future update to this plugin, could it be compatible with Galv plugins?

I ask this because this is the Sprite_Sheet I'm working on. My idea is for the character to have different types of clothing (which I've already designed; I just need it to work within the project).

1772419612775.png


I know I'm just another person wanting to make games, but your plugin gave me a glimpse into how I could make this happen! So please tell me if there are any possibilities!
I need more video samples
Hey Ten! I'd like to ask something. I'm creating a game that uses Galv plugins, mainly CharacterFrames and CharacterAnimations. I tried using your plugin, but for some reason I couldn't get it to work at all. If there's a future update to this plugin, could it be compatible with Galv plugins?

I ask this because this is the Sprite_Sheet I'm working on. My idea is for the character to have different types of clothing (which I've already designed; I just need it to work within the project).

View attachment 361887

I know I'm just another person wanting to make games, but your plugin gave me a glimpse into how I could make this happen! So please tell me if there are any possibilities!
I need more video samples

I think that should be enough, but if you need anything else, just let me know, and I'll try to look into it as soon as possible.


I think that should be enough, but if you need anything else, just let me know, and I'll try to look into it as soon as possible.



1773802511798.png

Did you try using this image with a transparent background?
Yeah, well, you saying that makes me imagine your plugin isn't compatible with what I'm trying to do... maybe I'll have to create my own plugin...
View attachment 362970
Did you try using this image with a transparent background?

Original thread: https://forums.rpgmakerweb.com/threads/visual-ten_characteroverlay-v1-2-attach-overlay-sprites-to-events.180808/