public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: N_AutoTextReplace
  • Original author: Nolonar
  • Original date: September 17, 2020
  • Source thread: https://forums.rpgmakerweb.com/threads/n_autotextreplace.127497/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)

Summary

N_AutoTextReplace is a simple plugin. All it does is replace text from your "Show Text..." event command with whatever you want it replaced with. For example: { "lightbox_close": "Close",

Archived First Post

N_AutoTextReplace is a simple plugin. All it does is replace text from your "Show Text..." event command with whatever you want it replaced with.

For example:
in.png


Will become:
out.png


In the above example, my replacement patterns were:
  • ( -> \c[1](
    Changes text color to color 1 before opening bracket.
  • ) -> )\c[0]
    Resets text color after closing bracket.
  • [ -> \c[2][
    Changes text color to color 2 before opening bracket.
  • ] -> ]\c[0]
    Resets text color after closing bracket.
  • { -> \c[3]
    Changes text color to color 3 (does not add the bracket back).
  • } -> \c[0]
    Resets text color (does not add the bracket back).

By default, the replacement patterns are:
  • , -> ,\.
    Adds a 1/4 second pause after commas.
  • . -> .\|
    Adds a 1 second pause after dots.
  • ! -> !\|
    Adds a 1 second pause after exclamation marks.
  • ? -> ?\|
    Adds a 1 second pause after question marks.

If you wanted to, you could even have a pattern like this:
  • Master Sword -> \c[4]Master Sword\c[0]
    Automatically changes the color of "Master Sword" to color 4. Note that this plugin affects all text messages all the time, so don't add patterns like this if you only intend to color certain words once or twice during the entire game.

This allows for your text messages to appear much more dynamic, without needing to add escape characters everywhere.


You can get this plugin (and more) on GitHub: https://github.com/Nolonar/RM_Plugins-AutoTextReplace
Just in case you can't find the download link: https://github.com/Nolonar/RM_Plugins-AutoTextReplace/releases/latest/download/N_AutoTextReplace.js

Terms of use
MIT License

In short: you're free to use it on any project (commercial or not) or modify it as you wish, as long as you won't remove the license and the copyright from the plugin.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Terms of use MIT License In short: you're free to use it on any project (commercial or not) or modify it as you wish, as long as you won't remove the license and the copyright from the plugin.

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rmmz#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar