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

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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





More Coming Soon!

How to Use

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    :)
 
Last edited by a moderator:

Kilgore Trout

Veteran
Veteran
Joined
Oct 16, 2015
Messages
55
Reaction score
34
First Language
English
Primarily Uses
N/A
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").
 

StrifeSoldierVII

Villager
Member
Joined
Nov 5, 2015
Messages
5
Reaction score
3
First Language
English
Loving the extra effects you can get by using this plugin! So far so good. No issues.
 
Last edited by a moderator:

Lyson

Potholders!
Veteran
Joined
Sep 4, 2012
Messages
91
Reaction score
36
First Language
English
Primarily Uses
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 :)
 
Last edited by a moderator:

hermesisdead

Villager
Member
Joined
Oct 26, 2015
Messages
13
Reaction score
1
First Language
English
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 :)
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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.
 

winkr7

Veteran
Veteran
Joined
Oct 27, 2015
Messages
95
Reaction score
26
First Language
english
Primarily Uses
N/A
hello;

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

thanks for your time.
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
hello;

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

thanks for your time.
LOLLLLLL  :guffaw:

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 :)
 

Shin

Veteran
Veteran
Joined
Mar 18, 2012
Messages
60
Reaction score
10
Ah, this is excelent.

Would you add a message code for showing icons?
 
Last edited by a moderator:

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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:

 

Nekonron

Veteran
Veteran
Joined
Sep 16, 2015
Messages
59
Reaction score
28
First Language
English
Primarily Uses
RMMV
I'm getting an error when I tried to use the plugin command:

TypeError

Cannot set property of 'namepop' of undefined

Any ideas?
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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 :)
 

Nekonron

Veteran
Veteran
Joined
Sep 16, 2015
Messages
59
Reaction score
28
First Language
English
Primarily Uses
RMMV
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!
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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 :)
 

FeralVermin

Warper
Member
Joined
Oct 13, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
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.
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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,
 

yongilcool

Veteran
Veteran
Joined
Nov 7, 2014
Messages
60
Reaction score
10
First Language
English
what a great plugin! thnk you!! is there any way I can show variables??
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
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] ',})
 

Overclocked

Overclocked
Member
Joined
Feb 8, 2013
Messages
18
Reaction score
1
First Language
English
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts


finally, the B-tile is added to the forum and steam!
I hope my annual #DoItForHargon contest gets lots of entries this year (since a Playstation 5 is a pretty big prize lol) XD On further news - I'm back to game devving next week after hiatus cause of that tragedy of losing everything I own.
Rome Trastevere deserve a tileset. Mumble mumble...
Before the full time job, I can make 1 MZ plugin per day, even though it's still hard; With the full time job, making 1 such plugin per week becomes just as hard lol

Forum statistics

Threads
102,989
Messages
996,505
Members
134,463
Latest member
adafon
Top