N.A.S.T.Y. Text Pop Over Events

N.A.S.T.Y. Text Pop Over Events
By: Nelderson


Introduction

Want to make events on the map say something, but the message box crimps your style by pausing everything else going on?  Then NASTY Text Pop might be the answer for you!

Features
- Shows text over events, player, and followers on the map.
- Customize your text settings.  Change font, size, outlines, and more to fit your needs.

Screenshots

Spoiler
gallery_605_7_1142499.png


gallery_605_7_410259.png


More Coming Soon!

How to Use

Spoiler
You can call the text with the Plugin command:

NastyTextPop ID# template# #ofFrames String of text here

-ID#

0 = The event using the command

1-9999 = Event number on the map.

-1 = Your player

-2 = Follower 1

-3 = Follower 2

-4 = Follower 3

-Template#

This number coreponds to the plugin manager numbers for text size

font name, outline width, etc.

-#ofFrames

Number of frames before the text disappers. 60 frames in a second

Putting a 0 will hold the text there until the map is refreshed.

-String of text here

Place any text after the first 3 arguments, and it will all show

on the specified EventID, Player or Follower.

Ex. NastyTextPop -1 1 120 Tesing This!

This would show "Testing This!" over the Player for 120

frames and use the settings in the first plugin spot.

As of Version 1.1.0 you can now use the Script Command:

this.NastyTextPop({

argument1: value,

argument2: value,

argument3: value,

etc..

})

Arguments you can use:

text: "String Here" - What you want to pop up.

id: Number -

0 = The event using the command

1-9999 = Event number on the map.

-1 = Your player

-2 = Follower 1

-3 = Follower 2

-4 = Follower 3

template: Number - Template setup in plugin manager.

windowOpacity: Number - Opacity of window. 0 is default.

time: Number - Frames before text erases. 0 until map refreshes.

font: 'FontName' - Change font

fontsize: Number - Size of the font.

fontcolor: 'String' - Color of text

outlineColor: 'String' - Color of Outline text

outlineWidth: Number - Outline width

italic: true/false - Italic font?

width: Number - Offset of Window width

height: Number - Offset of Window height

x: Number - Offset of x

y: Number - Offset of y

Ex: Place this in script call~

this.NastyTextPop({

time: 0,

italic: true,

windowOpacity: 255,

fontsize: 28,

outlineColor: '#ff2456',

outlineWidth: 6,

width: -600,

height: 100,

text: 'Test This Right? \n\\I[10] \nThis is kinda cool bruh!\nTry not to abuse it..',

})
 

Demo
I'll make one if you guys want one! (LIES....I really don't want to....  <_<)

Script

GitHub:

https://github.com/Nelderson/NASTY_RPGMakerMV_Scripts

FAQ

Q: What does N.A.S.T.Y. stand for?
A: Nelderson's Awesome Scripts To You!

Changelog

- Version 1.0.0 - Initial Release

- Version 1.1.0 - Rewritten as windows instead of sprites for better compatibility. 

- Version 1.1.1 - Fixed the choice list bug

 -Version 1.1.2 - Made plugin more concise by wrapping in an anonymous function. 

Credit and Thanks
- Nelderson 

Terms of Use: 

Free to use for non-commercial use.  Any commercial use is fine as long as you credit and throw me a copy of your completed game if it ever gets finished    🙂
Really like this plugin!

One thing I've noticed, it seems that setting the ID# parameter to -1 actually sets the text to the event the plugin call comes from (as opposed to "your player").
Loving the extra effects you can get by using this plugin! So far so good. No issues.
Great stuff! I always liked the idea of the popup text feature. Great for chitter between characters and events.

Exactly the kind of thing I was planning to go with my selfswitch plugin 🙂
Question, does this work with the mouse plugin? Like say.. I wanted the text to show up if you hovered the mouse over it? Or does this script allow that automatically? Either way this is cool, thank you so much 🙂
Really like this plugin!

One thing I've noticed, it seems that setting the ID# parameter to -1 actually sets the text to the event the plugin call comes from (as opposed to "your player").
Gahhh....you're right.  I'll fix that in the next version

Question, does this work with the mouse plugin? Like say.. I wanted the text to show up if you hovered the mouse over it? Or does this script allow that automatically? Either way this is cool, thank you so much 🙂
I was planning on putting this feature in...so check back in 🙂

And I'm glad you guys/gals/goblins like the plugin!  More features are coming soon.  Currently working on hover options, true forever text on events, and escape characters for text.
hello;

Suppose your characters are trying to escape, will that effect the escape characters in the text as well?

thanks for your time.
hello;

Suppose your characters are trying to escape, will that effect the escape characters in the text as well?

thanks for your time.
LOLLLLLL  🤣

Escape characters are what they call the message codes on the backend.  

Ex. \V[10] - would show Variable 10's value

      \P[0] - Would be the Party leader. 

The name is super confusing....I know it messed me up at first.

As for the text moving with characters, it already does that 🙂
Ah, this is excelent.

Would you add a message code for showing icons?
Alrighty....so I was messing around with the message codes...and found it a hell of a lot easier to use windows instead of base sprites.  The only issue when starting to use windows and message codes is the amount of combinations that are possible, and that I have to account for....

So with that I'm thinking of making 2 versions.  A Lite version and a Full version.  

The Lite will be similar to above....mostly used for quick popups...maybe showing what you got for treasure....Or quick little quips between characters

The Full version will include all the nitty gritty for full on messages through hovering text boxes, using message codes, positioning tools and images instead of boxes.

The Lite version should be done soon, but I'm hoping to get the full version out this week 🙂

And just to show the BASIC concept behind the Full:

Spoiler
gallery_605_7_1003312.png
I'm getting an error when I tried to use the plugin command:

TypeError

Cannot set property of 'namepop' of undefined

Any ideas?
I'm getting an error when I tried to use the plugin command:

TypeError

Cannot set property of 'namepop' of undefined

Any ideas?
Give me a printout of the command in the event and of all other scripts you are using.

If you're using a lot of scripts a demo would be nice so I can troubleshoot quickly 🙂
Seems to be working now actually, I think the error was from the ID. Can't remember what was the ID's I tested with initially, but after switching it to player then back again to the event ID, it worked.

Thanks for the plugin, btw!
UPDATE:  Version 1.1.0 has been released.

Pretty much rewritten as a window for better compatibility with message codes and such.  I'm going to try and come out with a tutorial video, cause there is a lot you can do with this 🙂
This plug-in is exactly what I need, thank you for your work.

However, I am having a slight problem. Whenever I turn on this plug-in, the choice window is thrown off to the left of the screen, and doesn't scale to the length of the text anymore. I have disabled every other plugin I have on, narrowing it down to this plug-in. I even created a new project, and turned on only this plugin, and I still get this problem.
This plug-in is exactly what I need, thank you for your work.

However, I am having a slight problem. Whenever I turn on this plug-in, the choice window is thrown off to the left of the screen, and doesn't scale to the length of the text anymore. I have disabled every other plugin I have on, narrowing it down to this plug-in. I even created a new project, and turned on only this plugin, and I still get this problem.
Silly little issue on my end.  JavaScript is apparently very particular about returning a function 🙂

Updated on Github to 1.1.1 to reflect the changes,
what a great plugin! thnk you!! is there any way I can show variables??
what a great plugin! thnk you!! is there any way I can show variables??
Thanks!

You can show variables using the \\V[#] code

Ex script call:

Code:
this.NastyTextPop({text: 'Variable 10 =  \\V[10] ',})
Thanks!

You can show variables using the \\V[#] code

Ex script call:

this.NastyTextPop({text: 'Variable 10 =  \\V[10] ',})
thank you! 🙂
This script is amazing for atmospheric immersion. Is it possible to affect the z axis priority? I'm running some maps that consist of pictures and in some places the text doesn't show up as the z priority is lower than that of the overlay pictures.

Edit: I'm able to change the z priority of the text but it affects the parent sprite that it's attached to. How can I go about only affecting the z of the text itself?

Thanks

Original thread: https://forums.rpgmakerweb.com/threads/n-a-s-t-y-text-pop-over-events.49393/