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

Discussion in 'JS Plugin Releases (RMMV)' started by Nelderson, Oct 25, 2015.

  1. Nelderson

    Nelderson Coding Bitch Veteran

    Messages:
    164
    Likes Received:
    162
    Location:
    Rhode Island
    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:


    [​IMG]


    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: Jan 26, 2016
    #1
  2. Halrawk

    Halrawk Veteran Veteran

    Messages:
    97
    Likes Received:
    23
    First Language:
    English
    "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.
     
    #2
  3. Silent Darkness

    Silent Darkness Robomage Veteran

    Messages:
    2,284
    Likes Received:
    321
    Location:
    Dark Realms
    First Language:
    English
    I'll wait for a demo before I grab this one....
     
    #3
    SWAMPFOOT9000 likes this.
  4. kaine

    kaine Veteran Veteran

    Messages:
    129
    Likes Received:
    68
    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?
     
    #4
    SWAMPFOOT9000 likes this.
  5. Halrawk

    Halrawk Veteran Veteran

    Messages:
    97
    Likes Received:
    23
    First Language:
    English
    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: Oct 25, 2015
    #5
  6. Nelderson

    Nelderson Coding Bitch Veteran

    Messages:
    164
    Likes Received:
    162
    Location:
    Rhode Island
    First Language:
    English
    Primarily Uses:
    RMMV
    Whoops.  Fixed the pastebin file.  Thanks for reporting it!

    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!

    You are awesome!  

    Thanks a bunch for the assist.  Hope you enjoy the script!
     
    Last edited by a moderator: Oct 25, 2015
    #6
  7. MechaGS

    MechaGS Veteran Veteran

    Messages:
    40
    Likes Received:
    6
    First Language:
    English
    Thanks for this script, pretty easy to get working. Just need to make nicer looking graphics now.
     
    #7
  8. Nekonron

    Nekonron Veteran Veteran

    Messages:
    53
    Likes Received:
    27
    Location:
    Cat City
    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?
     
    #8
  9. Nelderson

    Nelderson Coding Bitch Veteran

    Messages:
    164
    Likes Received:
    162
    Location:
    Rhode Island
    First Language:
    English
    Primarily Uses:
    RMMV
    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: Oct 25, 2015
    #9
    Chickenlump likes this.
  10. Nekonron

    Nekonron Veteran Veteran

    Messages:
    53
    Likes Received:
    27
    Location:
    Cat City
    First Language:
    English
    Primarily Uses:
    RMMV
    I must have missed it when I went looking :(

    Thanks for the update! That works well for me!
     
    #10
  11. terrorchan

    terrorchan Literally a Gloop Veteran

    Messages:
    249
    Likes Received:
    179
    Location:
    USA
    First Language:
    English
    I can't get it to work :(

    You should really include a demo so we can see exactly what to do.
     
    #11
  12. terrorchan

    terrorchan Literally a Gloop Veteran

    Messages:
    249
    Likes Received:
    179
    Location:
    USA
    First Language:
    English
    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: Oct 26, 2015
    #12
  13. SystemLogoff

    SystemLogoff Villager Member

    Messages:
    7
    Likes Received:
    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.
     
    #13
  14. Nelderson

    Nelderson Coding Bitch Veteran

    Messages:
    164
    Likes Received:
    162
    Location:
    Rhode Island
    First Language:
    English
    Primarily Uses:
    RMMV
    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:

    [​IMG]

     

    [​IMG]
    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: Oct 26, 2015
    #14
  15. Nekonron

    Nekonron Veteran Veteran

    Messages:
    53
    Likes Received:
    27
    Location:
    Cat City
    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
     
    #15
  16. Nelderson

    Nelderson Coding Bitch Veteran

    Messages:
    164
    Likes Received:
    162
    Location:
    Rhode Island
    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.  
     
    Last edited by a moderator: Oct 26, 2015
    #16
    Chaos17 likes this.
  17. VanillaBrocker

    VanillaBrocker Veteran Veteran

    Messages:
    66
    Likes Received:
    80
    First Language:
    Portuguese
    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!
     
    #17
  18. Nelderson

    Nelderson Coding Bitch Veteran

    Messages:
    164
    Likes Received:
    162
    Location:
    Rhode Island
    First Language:
    English
    Primarily Uses:
    RMMV
    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
     
    #18
  19. SystemLogoff

    SystemLogoff Villager Member

    Messages:
    7
    Likes Received:
    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! :)
     
    #19
  20. Nekonron

    Nekonron Veteran Veteran

    Messages:
    53
    Likes Received:
    27
    Location:
    Cat City
    First Language:
    English
    Primarily Uses:
    RMMV
    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
     
    #20

Share This Page