Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
2TRxq4D.png

Author: Hakuen Studio

Introduction

If you ever made cutscenes in RPG Maker, you probably see how this can be tedious when mixing actions and dialogues in an event.
This plugin aims to make it a lot easy!
You will be able to play music, show balloons, change switches, and much more using escape codes inside the message/scroll text window!

Features

● Add new escape codes that can:
• Draw images from any img folder!
• Change switches, self switches, and variables.
• Play common event
• Show animations, balloon
• Scroll, fade(in and out), tint, shake, and flash the map!
• Change wether
• Play BGM, BGS, ME, SE
• Change font to bold or italic
• Change font outline color and width
• Align Left | Center | Right
• Change face image/index of the message window
● Works almost on every window, including scroll text!

How to use
First of all, you can go to the plugin parameters and change the escape codes to ones that you like.
But you can't change the order of the parameters either add any new ones. You can enter the parameters already set up and change the Code for them.

Now, let me explain how you can use it:

♦ General Codes - Designed to work on any window. ♦

● Map only

• Direction - Replace with numbers(2, 4, 6, 8)
• In/out - Replace with Out or In. Not case sensitive.
• WeatherType - Replace type with rain | snow | storm | none
  • \PCE[commonEventId] - Play a common event
  • \SBI[eventId, balloonId] - Show a ballon icon
  • \SAN[eventId, animationId] - Show an animation
  • \SCROLL[direction, distance, speed] - Scroll the map.
  • \FADE[in/out, duration] - If duration is ommited, it will be 24.
  • \TINT[r, g, b, gray, duration] - Tint the screen
  • \FLASH[r, g, b, intensity, duration] - Flash the screen
  • \SHAKE[power, speed, duration] - Shake the screen
  • \WEATHER[weatherType, power, duration] - Change the weather
● Music

You can omit volume, pitch, and pan and they will take default values:
• Volume - The volume set on options.
• Pitch - 100
• Pan - 0
• name - Cannot have spaces. They are case-sensitive.
  • \PBGM[name, volume, pitch, pan] - Play Bgm
  • \FBGM[duration] - Fade out the current bgm
  • \PBGS[name, volume, pitch, pan] - Play Bgs
  • \FBGS[duration] - Fade out the current bgs
  • \PME[name, volume, pitch, pan] - Play Me
  • \PSE[name, volume, pitch, pan] - Play Se

● All

• Color - Replace with HTML colors(red, blue, green...) or Hex(#ffffff) or window color(0, 1, 2...)
• Flag - Replace with true or false.
• MapId/EventId - If you put 0 on any of these, it will take the current map/eventId
• AlignType - Replace with Left | Center | Right
• Folder/Filename - Are case sensitive. Cannot have spaces.
• KeepRatio/Center - Replace them with true/false. By default keepRatio is true and the center is false.
  • \COLOR[color] - Change color text using html/hex colors.
  • \CSW[SwitchId, true/false] - Change value to true or false.
  • \CSSW[mapId, eventId, switchId, flag] - If mapId or eventId are equal to 0, it will select the current map/event. If you ommit the flag, it will be considered false.
  • \CVAR[varId, operator, value] - Operator can be any of these = + - / * %
  • \SCRIPT[formula] - This will eval a script.
  • \BOLD[true/false] - Will make the font BOLD
  • \ITALIC[true/false] - Will make the font ITALIC
  • \OUTCOLOR[color] - Change the font outline color. Leave empty for default.
  • \OUTWIDTH[size] - Change the font outline width. Leave empty for default.
  • \ALIGN[alignType] - Change the text align
  • \DRAWIMG[folder, fileName, keepRatio, center]
  • \UL[true/false] - Will draw a underline below text.
  • \TS[true/false] - Will draw a strikethrough in the text.
  • \BGC[true/false, color] - Paint the text background.

♦ Message Codes - Designed to use only on Message Window ♦

• Folder/Filename - Are case sensitive. Cannot have spaces.
• KeepRatio/Center - Replace them with true/false. By default keepRatio is true and the center is false.
  • \ACTORFACE[actorId] - Change the message face to the specified actor
  • \PARTYFACE[memberIndex] - Change the message face to the specified party member
  • \FACENAME[filename] - Change only the face message(not the message index)
  • \FACEINDEX[number] - Change only the Face
  • \CHANGEFACE[filename, index]
  • \DRAWIMG[folder, fileName, keepRatio, center]
  • \WAIT[frames]

♦ Scroll Text Codes - Designed to use only on Scroll Text Window ♦

This is a little bit different than the other ones.
You have to put an id for each DrawImg command on the Scroll Text command. And you don't have the keep ration and center arguments.
The ids are only valid for the current Scroll Text command. When you use it again, you can start with other IDs.

• Folder/Filename - Are case sensitive. Cannot have spaces.
• Id - A number starting from 1.
  • \DRAWIMGST[id, folder, fileName]


Screenshots
B4VOzAt.png

Kq8kRHn.png
3XywiPf.png

QIupexo.png
MJDlMBu.png

Update Log
Version 2.1.0 - 10/14/2021
- Add escape codes to change the font face. Requires EliMZ FontManager or EliMZ BitmapFontPro.
Version 2.0.3 - 10/11/2021
- Add a missing feature to the DrawImg escape code on the scroll text window that was not drawing images centered.
- Fixed a problem with texts with aligning escape codes that also use any escape code that can draw an icon.
- Fixed compatibility with Eli Face Window when changing faces with escape code.
- Removed the plugin parameters for Scroll Window and Command Window since they are redundant.
- Code clean up.
Version 2.0.2 - 09/27/2021
- Fixed a bug that command windows that have more than one column and the row was not calculating properly the center alignment with escape code.
Version 2.0.1 - 09/03/2021
- Fixed a bug that when using images in scrolling text, they would appear for an instant at the top of the screen even though it wasn't time for them to appear.
Version 2.0.0 - 08/27/2021
- Now, Common Events called in messages will/can be executed while the message is still typing or open.
- Code clean up.
- Need Eli Book 4.0.0 now.
Version 1.0.1 - 07/15/2021
- Fixed a problem of the align escape codes on choices.
Version 1.0.0 - 06/30/2021
- Plugin release!
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.0.1 - 09/03/2021
- Fixed a bug that when using images in scrolling text, they would appear for an instant at the top of the screen even though it wasn't time for them to appear.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.0.2 - 09/27/2021
- Fixed a bug that command windows that have more than one column and row was not calculating properly the center alignment with escape code.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.0.3 - 10/11/2021
- Add a missing feature to the DrawImg escape code on the scroll text window that was not drawing images centered.
- Fixed a problem with texts with aligning escape codes that also use any escape code that can draw an icon.
- Fixed compatibility with Eli Face Window when changing faces with escape code.
- Removed the plugin parameters for Scroll Window and Command Window since they are redundant.
- Code clean up.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.1.0 - 10/14/2021
- Add escape codes to change the font face. Requires EliMZ FontManager or EliMZ BitmapFontPro.

Now you can use \FNT[fontFace] to change the font inside any window! But you will need Eli Font manager or Eli Bitmap Font Pro

1634241032046.png

If you are already using this plugin in your project, you need to insert the font code into the general escape codes parameter, on number 30:

msg action 1.PNG

msg action 2.PNG
(You can change the FNT to whatever you want to use)
 

Latest Threads

Latest Posts

Latest Profile Posts

Even though I spent 100's of dollars on my game already. I think I might just have to give it away for free. Since I haven't heard back from people if I could use some of their graphics. Even from a global mod here. Maybe I can make a donation thing.
you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.
Been sick with a stomach virus for seven days now. Not going to work tomorrow because I'm still contagious according to my doctor.
Much as I love my job, I really hate playing "office politics". It would be nice if I didn't have to pretend to be someone else all day long.

Forum statistics

Threads
115,960
Messages
1,094,409
Members
151,231
Latest member
DadOfSpaceMonkey
Top