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

VanillaBrocker

Veteran
Veteran
Joined
Jul 25, 2015
Messages
68
Reaction score
82
First Language
Portuguese
Primarily Uses
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
As I thought, it was something really simple I was missing. Setting "debug mode" to "true" resolved it. Thanks! ;)
 

Anime_Fusion

Veteran
Veteran
Joined
Oct 24, 2015
Messages
79
Reaction score
49
First Language
English
Did I do something wrong as well? I don't see where window names are located either . :/

help.png
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
Did I do something wrong as well? I don't see where window names are located either . :/
Considering line 4 should be completely commented out....I would go back to the script link and replace the code.  It should work after that :)

EDIT: Also updated to version 1.0.3.  Pretty much just added optimization so that if the file is not named exactly the plugin parameters will still work. (Thanks lavra!)
 
Last edited by a moderator:

Potato Coach

LOLWUT?
Member
Joined
Jun 12, 2014
Messages
10
Reaction score
0
First Language
Taglish
I don't think it should still be N.A.S.T.Y. It should be N.A.P.T.Y. since it's a plugin. Nice script btw
 

MikeMakes

Veteran
Veteran
Joined
Sep 30, 2015
Messages
186
Reaction score
46
First Language
English
Primarily Uses
Can I use this for plugins with new menus or is this only for default Windows that MV comes with?
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
Can I use this for plugins with new menus or is this only for default Windows that MV comes with?
Any window that uses the Window_Base as a parent can. I would assume most Windows are made from the base, selectable or command windows. So yes, it would work if the menu creator uses standard Rpgmaker methods.
 

MikeMakes

Veteran
Veteran
Joined
Sep 30, 2015
Messages
186
Reaction score
46
First Language
English
Primarily Uses
That's very convenient then. Thank you.
 

 Nova

Veteran
Veteran
Joined
Feb 8, 2015
Messages
163
Reaction score
136
What if I need to replace more than 30 windows with pictures? :(
 

Helyx

Villager
Member
Joined
Oct 12, 2015
Messages
20
Reaction score
2
First Language
French
Hi,

try to copy this line:

 * @param Window 30 Picture Name

 * @desc Name of the picture in the img/pictures folder:

 *

And this one:

Nasty.Param.PicWindow_Obj[string(Nasty.Parameters['Window 30 Object Name'])] =

String(Nasty.Parameters['Window 30 Picture Name']);

 

Don't forget to change the number "30"
 

cward3223

Villager
Member
Joined
Dec 27, 2015
Messages
10
Reaction score
0
First Language
English
I cannot seem to get the image to change on Window_MenuActor it is working for everything else so far, but this refuses to change, I have tried renaming the image, switching parameters with another putting it on top, but nothing, it remains default.
 

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
I cannot seem to get the image to change on Window_MenuActor it is working for everything else so far, but this refuses to change, I have tried renaming the image, switching parameters with another putting it on top, but nothing, it remains default.
I'm assuming you mean Window_MenuStatus....Window_MenuActor is for when you use Skills and Items on actors...

And I'm glad everything else works great :)
 

cward3223

Villager
Member
Joined
Dec 27, 2015
Messages
10
Reaction score
0
First Language
English
I'm assuming you mean Window_MenuStatus....Window_MenuActor is for when you use Skills and Items on actors...

And I'm glad everything else works great :)
I feel really silly now, honestly I should have rebooted the program before posting, it wasn't showing Window_SkillStatus in the debug console, so I just assumed since Window_MenuActor was the only other one there that I hadn't already assigned that it was the one that I needed to change, but after you posted this and I rebooted the software it showed Window_SkillStatus xD so it is all working now, thank you so much for this awesome plugin :D
 

cekobico

Veteran
Veteran
Joined
May 8, 2015
Messages
353
Reaction score
159
First Language
Indonesian
Primarily Uses
Is it possible to make several window activates when on Battle only and not when on Map Menus? 


I know I can simply make Common Events to call plugin command and put it on every battle, but it'd be a nice convenience to have xD


EDIT: Actually, nope. Can't change window picture inside battle :(  Please consider adding this feature please >_<
 
Last edited by a moderator:

Nelderson

Coding *****
Veteran
Joined
Mar 17, 2012
Messages
165
Reaction score
168
First Language
English
Primarily Uses
RMMV
Is it possible to make several window activates when on Battle only and not when on Map Menus? 


I know I can simply make Common Events to call plugin command and put it on every battle, but it'd be a nice convenience to have xD


EDIT: Actually, nope. Can't change window picture inside battle :(  Please consider adding this feature please >_<
You can use this with battle windows.  Battle windows are named different.  I think for skills it Window_BattleSkill or something like that.  Totally having fun at a party and not near a computer to check, but you can find the exact names of the windows by enabling the debug option and opening up the console.


Enjoy :)
 

cekobico

Veteran
Veteran
Joined
May 8, 2015
Messages
353
Reaction score
159
First Language
Indonesian
Primarily Uses
You can use this with battle windows.  Battle windows are named different.  I think for skills it Window_BattleSkill or something like that.  Totally having fun at a party and not near a computer to check, but you can find the exact names of the windows by enabling the debug option and opening up the console.


Enjoy :)


They do, except for Window_Help lol that one seems to be universal for menu scene and battle scene :(
 

gRaViJa

Veteran
Veteran
Joined
Mar 16, 2012
Messages
882
Reaction score
398
First Language
Dutch
On a fresh project i can replace Window_Status but when i try the same for Window_Message, nothing happens. Any idea why this is? Window_Message is the window for dialogues, right?
 

OroCrimson

Villager
Member
Joined
Aug 17, 2013
Messages
15
Reaction score
10
First Language
English
Primarily Uses
What if I need to replace more than 30 windows with pictures? :(
Hi,
try to copy this line:
* @param Window 30 Picture Name
* @desc Name of the picture in the img/pictures folder:
*

And this one:
Nasty.Param.PicWindow_Obj[string(Nasty.Parameters['Window 30 Object Name'])] =
String(Nasty.Parameters['Window 30 Picture Name']);

Don't forget to change the number "30"
Funny enough I ran into this exact issue myself before looking into the code and seeing it was a pretty easy fix (Basically what Helyx said). Now I have a version with 99 options instead of 30. I'll gladly post a link to it to save people from the effort but please don't post this elsewhere, link it to here unless Neldie says its okay. Want to make sure all the traffic for the script still goes through him. https://www.dropbox.com/s/2dd9ovzpslxe996/Nasty_Replace_99Windows_with_Pictures.js?dl=0
 

Azymus

Villager
Member
Joined
Mar 28, 2014
Messages
25
Reaction score
1
First Language
english
Primarily Uses
@Nelderson , I need your help! This plugin won't work with yanfly itemcore. =/
 

mpurnell

Veteran
Veteran
Joined
Dec 6, 2015
Messages
82
Reaction score
10
First Language
english
Primarily Uses
i know this is old, but just found it and its great.

@Azymus have you tried rearranging the order? or not letting item core touch the window side of things?
 

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

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,881
Messages
1,017,227
Members
137,607
Latest member
Maddo
Top