(MV/MZ) Undertale-like talking animation for RPG Maker

ODUE_talkanimation
​
A plugin that allows you to easily make Undertale-style talking animations for characters.



FEATURES:
- Easily make your characters on map look like they're talking
- Customizable

Guide:
Download: https://github.com/00due/talkanimation/

After downloading, extract the `ODUE_talkanimation.js` file into `<your project's folder>/js/plugins`

Upgrading from version 1.5 to later​

The way \atalk works has been changed. Previously it checked the member position in party, but now it plays the animation based on actor ID. Don't worry, you don't need to update your whole project. You can restore the functionality to how it was previuously:

Set the parameter "Use party position" as true.

If you want to change it to the new style without upgrading the whole project, use \useActorId in a text and after that, start using actor IDs instead of party member positions.

Using the plugin:
You have to have currentcharactername[talk].png in img/characters folder.
The animated talking frames are the walking frames.
Make sure you aren't using direction fix on the event or the player, or else the talking animation won't play.

Use `\atalk[actorId]` or `\etalk[eventId]` in the message box to start the animation.
In atalk, actor ID 0 means the player. The rest means the actor ID (set in database). Or if you have "Use party position" on, the ID is the position in the party. For example \atalk[1] will animate the first actor after the player in the party.

In etalk, event ID 0 means the event that is currently running.

You can also use \usePartyPos and \useActorId to change the behavior of the plugin (see "Use party position" parameter for more info).


Compability with VisuMZ_2_MessageLog:
- Use VisuMZ_1_MessageCore to replace \atalk and \etalk with nothing.


Terms of use:

1. You must give credit to ODUE
2. You can freely edit this plugin to your needs. However, you must still credit me.
3. This plugin is free for commercial and non-commercial projects.
4. This plugin is provided as is. I'm not responsible for anything you make with this plugin.
5. You can send feature requests to me on platforms such as Reddit (to u/SanttuPOIKA----).
However, I have no obligation to fulfill your requests.
This is super! And the example video is cute. Thanks for releasing this!
Very nice. Thanks ^^
i noticed its been a while and the link to your github is corrupted so i thought id help, i love this plugin by the way, thank you!!
that looks so cool! any chance this could be in XP? or a plugin similar to it
i noticed its been a while and the link to your github is corrupted so i thought id help, i love this plugin by the way, thank you!!
The link is now fixed, thanks for noticing!
that looks so cool! any chance this could be in XP? or a plugin similar to it
Sorry, I'm not a XP developer, so I can't make one. However, since both engines work pretty similarly, I don't think it would be that hard to create one. Not sure if anyone wants to create one nowadays for XP though.
This is just awesome. Thank you so much!
Sorry, I'm not a XP developer, so I can't make one. However, since both engines work pretty similarly, I don't think it would be that hard to create one. Not sure if anyone wants to create one nowadays for XP though.
no problem!! understandable, though XP i think has uh... some strength, the later engines are better in most aspects
do you have an MV .rpgproject game file for guide and study purpose?
do you have an MV .rpgproject game file for guide and study purpose?
Sorry, I don't own MV so I cannot provide one.

However, here are the basic things you need:
- a file in /img/characters folder that has the animation (same as the walking animation sprites)
- If you use the subfolder option, then it's in /img/characters/subfoldername

- When you use "Show text..." put these to the beginning:
\at[0] for talk animation to main character
\at[4] for actor ID 4 in database (4 can be replaced by any number)
\et[6] for event ID 6 in map talking (6 can be replaced by any event ID in current map)
\et[0] to apply talk animation for current event (where the code runs)

Example:
\at[0]This is a test!
Sorry, I don't own MV so I cannot provide one.

However, here are the basic things you need:
- a file in /img/characters folder that has the animation (same as the walking animation sprites)
- If you use the subfolder option, then it's in /img/characters/subfoldername

- When you use "Show text..." put these to the beginning:
\at[0] for talk animation to main character
\at[4] for actor ID 4 in database (4 can be replaced by any number)
\et[6] for event ID 6 in map talking (6 can be replaced by any event ID in current map)
\et[0] to apply talk animation for current event (where the code runs)

Example:
\at[0]This is a test!
Thanks so much for the reply but I also had another question. You said to format the talking animation like a walk animation would be. I made a normal 4 row animation (open mouth/close mouth/open mouth/close mouth)
But when I use the plugin, it just plays open mouth until the text is over and closes the mouth. No animation. Just frame 1: show text: end text :frame 2
That's why I was asking for a project, so I know I formatted it properly
Thanks so much for the reply but I also had another question. You said to format the talking animation like a walk animation would be. I made a normal 4 row animation (open mouth/close mouth/open mouth/close mouth)
But when I use the plugin, it just plays open mouth until the text is over and closes the mouth. No animation. Just frame 1: show text: end text :frame 2
That's why I was asking for a project, so I know I formatted it properly
Hmm, do you have stepping animation disabled? If not, can you send me a picture of the animation sprite you made?
I
Hmm, do you have stepping animation disabled? If not, can you send me a picture of the animation sprite you made?
I'll check if stepping is enabled, if it still doesn't work, I'll send you the sheet
Hmm, do you have stepping animation disabled? If not, can you send me a picture of the animation sprite you made?
i turned on the stepping option to the same result. here is the script and the format of the sprites(first: normal, second: talking)
1721907083148.png

1721907124015.png

1721907162229.png
i turned on the stepping option to the same result. here is the script and the format of the sprites(first: normal, second: talking)
View attachment 312525
View attachment 312526
View attachment 312527
Oh you need to have the mouth open on the left and right side of each row! The 4 rows are for different facing directions (the same as walking animation; down, left, right, up).
Oh you need to have the mouth open on the left and right side of each row! The 4 rows are for different facing directions (the same as walking animation; down, left, right, up).
Upon reading this I realise that I did something extremely stupid and I should've probably known this from the start thank you :oswt:

By the way, two more questions: is there a way you could set different animations for one NPC, like if you were to make one where they're laughing, crying or other 3 frame expressions.
Would you need to make a different sheet for each, or should you be required to use direction fix and specify with each animation.

And is there a way to use more than a 3 frame animation, like a longer one of 4 frames or 5 for odd numbers, or is it locked to just this style ✨
Upon reading this I realise that I did something extremely stupid and I should've probably known this from the start thank you :oswt:

By the way, two more questions: is there a way you could set different animations for one NPC, like if you were to make one where they're laughing, crying or other 3 frame expressions.
Would you need to make a different sheet for each, or should you be required to use direction fix and specify with each animation.

And is there a way to use more than a 3 frame animation, like a longer one of 4 frames or 5 for odd numbers, or is it locked to just this style ✨
It's okay that you didn't realize it.

As for different animations, there isn't such a feature at least yet. However, a workaround would be to set the character to a different image, and making the talk animation for that sprite. The talk animation sprites are different for every normal sprite.

You can use another plugin that grants more walking animations to use the same amount of talking animations. I'm not sure about the compatibility with such plugins, but if it only grants more sprites for walking animation and nothing else, it should work with this one.
It's okay that you didn't realize it.

As for different animations, there isn't such a feature at least yet. However, a workaround would be to set the character to a different image, and making the talk animation for that sprite. The talk animation sprites are different for every normal sprite.

You can use another plugin that grants more walking animations to use the same amount of talking animations. I'm not sure about the compatibility with such plugins, but if it only grants more sprites for walking animation and nothing else, it should work with this one.
Are you still adding updates to this plugin or is it currently in its final state?
Are you still adding updates to this plugin or is it currently in its final state?

Updates might come, but that really depends on how important I feel the update is. I'm currently testing a small bug fix related to the command that reverses the functions of \at and \mt. However, I'm not regularly updating this anymore (as this plugin is a pain to work with; the code has become so messy over time that it looks like a chaos)

Original thread: https://forums.rpgmakerweb.com/threads/mv-mz-undertale-like-talking-animation-for-rpg-maker.163728/