N.A.S.T.Y. Replace Window with Picture

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
166
First Language
English
Primarily Uses
RMMV
N.A.S.T.Y. Replace Window with Picture
By: Nelderson



Introduction


Want to make super special windows in your game? Sometimes the windowskin isn't enough, that's where Nasty Replace Window with Picture plugin comes in!


This script uses pictures instead of windows you specify.  While this looks very simple on the surface, for the Photoshop nerds this will be invaluable. 


Features
- Have a picture instead of the default windowskin.
- Use pictures on only the windows you want


- Should be compatible with most custom scripts and windows

Screenshots

Spoiler



Courtesy of Halrawk:





Coming Soon!



How to Use



All you need to do is define the window object name and the picture name


located in your img/pictures folder


If you don't know the window object name, fret not! You can use the


nifty debug tool. This will give you a list of all window objects that


are currently loading, and will also tell you the width and height!


You can also change windows on the fly with the Plugin Command:


ChangeWindowPic Window_Object PictureName


Ex:


ChangeWindowPic Window_Status Pic3


This would change the Status Window background to pic3 in the


img/pictures folder!


 

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.1 - Added feature for transparent and dim message windows.


- Version 1.0.2 - Added the Plugin Command ChangeWindowPic to change Window Pics before a scene is called.


- Version 1.0.3 - Added optimization so that the filename can be anything and the plugin parameters still run.


- Version 1.0.4 - 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:

Halrawk

Veteran
Veteran
Joined
Dec 14, 2012
Messages
97
Reaction score
24
First Language
English
Primarily Uses
"Window 1 Object Name" and "Window 1 Picture Name" both show up twice in the plugins manager settings. It seems if I attempt to modify those settings, they just reset each time. Window 2 seems to work fine (haven't tried lower yet).

Love this script though, easy way to really add a lot of character to a game.
 

kaine

Veteran
Veteran
Joined
Sep 29, 2015
Messages
141
Reaction score
71
First Language
Italian
Primarily Uses
RM2k3
interesting! I'll wait the demo to see if it works as I think.

Meanwhile a couple of questions.

you can use more pictures?

if the answer is yes, you can also use options to set the percentage of transparency?
 

Halrawk

Veteran
Veteran
Joined
Dec 14, 2012
Messages
97
Reaction score
24
First Language
English
Primarily Uses
Basic instructions on how I set it up. It's pretty easy to do, just need to grab window names using F8 in game. It'll list all the window names and sizes.

Edit: Forgot attachment. The name of the image I created is "Window_BattleStatus" for the sake of making it easy.

nastywindows.jpg
 
Last edited by a moderator:

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
166
First Language
English
Primarily Uses
RMMV
"Window 1 Object Name" and "Window 1 Picture Name" both show up twice in the plugins manager settings. It seems if I attempt to modify those settings, they just reset each time. Window 2 seems to work fine (haven't tried lower yet).

Love this script though, easy way to really add a lot of character to a game.
Whoops.  Fixed the pastebin file.  Thanks for reporting it!

interesting! I'll wait the demo to see if it works as I think.

Meanwhile a couple of questions.

you can use more pictures?

if the answer is yes, you can also use options to set the percentage of transparency?
Why wait for the demo?  Try it out.  Take any image off the web, place it in the pictures folder, then fill out the Window object to Window_TitleCommand to see how it works when you start the game :)

As for the transparency....any photo editor can make something opaque...but I'll think about putting it in the next version!

Basic instructions on how I set it up. It's pretty easy to do, just need to grab window names using F8 in game. It'll list all the window names and sizes.

Edit: Forgot attachment. The name of the image I created is "Window_BattleStatus" for the sake of making it easy.
You are awesome!  

Thanks a bunch for the assist.  Hope you enjoy the script!
 
Last edited by a moderator:

MechaGS

Veteran
Veteran
Joined
Apr 26, 2012
Messages
40
Reaction score
6
First Language
English
Thanks for this script, pretty easy to get working. Just need to make nicer looking graphics now.
 

Nekonron

Veteran
Veteran
Joined
Sep 16, 2015
Messages
59
Reaction score
28
First Language
English
Primarily Uses
RMMV
This is a pretty cool plugin, thanks!

I was actually looking for something like this in Ace.

I have a question though. I've only tested with Window_Message so far, but I noticed it totally replaces the text area even when I've selected "Dim" or "Transparent" windows. Is there anyway to change this?
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
166
First Language
English
Primarily Uses
RMMV
This is a pretty cool plugin, thanks!

I was actually looking for something like this in Ace.

I have a question though. I've only tested with Window_Message so far, but I noticed it totally replaces the text area even when I've selected "Dim" or "Transparent" windows. Is there anyway to change this?
1. I did make this for Ace(Runs a lot smoother in MV): http://forums.rpgmakerweb.com/index.php?/topic/37699-nasty-replace-window-with-picture/?hl=nelderson

2.  Updated the script for Dim and Transparent windows :)
 
Last edited by a moderator:

Nekonron

Veteran
Veteran
Joined
Sep 16, 2015
Messages
59
Reaction score
28
First Language
English
Primarily Uses
RMMV
I must have missed it when I went looking :(

Thanks for the update! That works well for me!
 

terrorchan

Literally a Gloop
Veteran
Joined
Mar 17, 2014
Messages
249
Reaction score
179
First Language
English
Primarily Uses
I can't get it to work :(

You should really include a demo so we can see exactly what to do.
 

terrorchan

Literally a Gloop
Veteran
Joined
Mar 17, 2014
Messages
249
Reaction score
179
First Language
English
Primarily Uses
I can't get it to work :(

You should really include a demo so we can see exactly what to do.

*It double posted??? I don't know why! Sorry Mods!*
 
Last edited by a moderator:

SystemLogoff

Villager
Member
Joined
Oct 25, 2015
Messages
7
Reaction score
4
First Language
English
Would you consider hosting your new stuff on github? It would make it easier to track updates to your work, and give you a central place to put your stuff!

Thanks for the work on this, it makes it much easier to have things look awesome.
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
166
First Language
English
Primarily Uses
RMMV
I can't get it to work :(

You should really include a demo so we can see exactly what to do.
Hmmm.....what's not working?  Does it give an error, or nothing loads.  A demo is automatically about 400mb...so I'm trying to avoid that as long as possible, but I don't mind doing one if needed.

Also random pics from the internet as background pics to show it does work:



 

Would you consider hosting your new stuff on github? It would make it easier to track updates to your work, and give you a central place to put your stuff!

Thanks for the work on this, it makes it much easier to have things look awesome.
Just used GitHub for the first time last night.....really no need to before for me :)

https://github.com/Nelderson/NASTY_RPGMakerMV_Scripts
 
Last edited by a moderator:

Nekonron

Veteran
Veteran
Joined
Sep 16, 2015
Messages
59
Reaction score
28
First Language
English
Primarily Uses
RMMV
I'm not really sure what happened, but the dim and transparent windows stopped working when I added a second entry for Window_ChoiceList.

Is this a bug or am I doing something wrong? :o
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
166
First Language
English
Primarily Uses
RMMV
I'm not really sure what happened, but the dim and transparent windows stopped working when I added a second entry for Window_ChoiceList.

Is this a bug or am I doing something wrong? :o
I have no clue what's wrong, but an honest suggestion would be to use Galv's script specifically for Message Windows.  His seems to handle stuff like this better than mine.  The message window is complex, and I haven't even attempted to see if it works with Yanfly's Message Core....

With that said, here's the link to Galv's script: http://forums.rpgmakerweb.com/index.php?/topic/47395-galvs-message-background/

When I get the time I will look into the message window and see if I can make more improvements :)

UPDATE:  Version 1.0.2 is released.  It includes a PluginCommand to change any window to any picture before a Scene starts.  
 
Last edited by a moderator:

VanillaBrocker

Veteran
Veteran
Joined
Jul 25, 2015
Messages
68
Reaction score
82
First Language
Portuguese
Primarily Uses
Hi, Nelderson!

I'm having some issues with that script. One little problem, to be honest, and it's caused due to my noobness.

I want to see the the window object name of the window I'm on, but when I open the debugger through F8, it stays blank. I also tried cycling through the other tabs (elements, sources, timeline...), but I don't see nothing.

Sorry about my english and if it's a really simple question. I'm sure I'm missing something really dumb! :/

Thanks!
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
166
First Language
English
Primarily Uses
RMMV
Hi, Nelderson!

I'm having some issues with that script. One little problem, to be honest, and it's caused due to my noobness.

I want to see the the window object name of the window I'm on, but when I open the debugger through F8, it stays blank. I also tried cycling through the other tabs (elements, sources, timeline...), but I don't see nothing.

Sorry about my english and if it's a really simple question. I'm sure I'm missing something really dumb! :/

Thanks!
Make sure the debug mode is set to true and the js file is named correctly. It should be Nasty_Replace_Window_with_Picture.js
 

SystemLogoff

Villager
Member
Joined
Oct 25, 2015
Messages
7
Reaction score
4
First Language
English
Thanks for hosting your stuff on github, it's much eaiser to keep an eye on updates.

Thanks for the hard work! :)
 

Nekonron

Veteran
Veteran
Joined
Sep 16, 2015
Messages
59
Reaction score
28
First Language
English
Primarily Uses
RMMV
I have no clue what's wrong, but an honest suggestion would be to use Galv's script specifically for Message Windows.  His seems to handle stuff like this better than mine.  The message window is complex, and I haven't even attempted to see if it works with Yanfly's Message Core....

With that said, here's the link to Galv's script: http://forums.rpgmakerweb.com/index.php?/topic/47395-galvs-message-background/

When I get the time I will look into the message window and see if I can make more improvements :)

UPDATE:  Version 1.0.2 is released.  It includes a PluginCommand to change any window to any picture before a Scene starts.  
I saw his, but thought would be better if I could just stick to using a single plugin instead of two.

I'll give it a try later, hopefully I can run both his and yours without a problem :D
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I was today years old when I realized I could choose where to put choices in VNMaker. Oi.
What if I start to make final boss first then crawl down from there to make lesser bosses
i don't even know why i bother. Trying to to a simple candle light to flicker. Hour later no progress.

Forum statistics

Threads
97,841
Messages
947,285
Members
129,059
Latest member
bazza1234
Top