Graphics Changer

Discussion in 'JS Plugin Releases (RMMV)' started by Jeneeus Guruman, Oct 28, 2015.

  1. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    Graphics Auto-Changer
    Version: 1.2.2
    By Jeneeus Guruman​
    Introduction

    This plugin allows to change sprite, face, and sideview graphics automatically depending on the current battler's states, equipment, and class.

    Features

    • Changes sprites depending on states, equipment, and class.
    • Changes faces depending on states, equipment, and class.
    • Changes battler graphics depending on states, equipment, and class.
    • Changes weapon animation depending on states.
    • You can change the default graphics (if you don't equip anything that assigned to replace it) by Change Actor Graphic event command.
    Screenshots

    Base on these characters...
     
    [​IMG]
     
    Harold is changing class to Bandit.
     
    [​IMG]
     
    If the boys are equipping these rings...
     
    [​IMG]
     
    [​IMG]
     
    They will become...
     
    [​IMG]
     
    And then there's this weapon...
     
    [​IMG]
     
    That make the wearer change too...
     
    [​IMG]
     
    All of the changes can be also applied in battle.
     
    [​IMG]
     
    Even states can change them.
     
    [​IMG]
     
    How to Use

    To use this, you need to put the following notetags:
     
         To change sprites:
              <ge: actor_id, sprite_name, sprite_index>
             actor_id: The ID of the actor to be change graphics.
             sprite_name: The filename of the sprite graphic to be placed.
             sprite_index: The index of the sprite graphic to be placed.

         To change face:
             <fe: actor_id, face_name, face_index>
             actor_id: The ID of the actor to be change face.
             face_name: The filename of the face graphic to be placed.
             face_index: The index of the face graphic to be placed.

         To change sideview sprites:
             <sve: [-]battler_id, sideview_name>
             battler_id: The ID of the battler to be change for sideview graphics.         Placing a negative sign will call the enemy instead.
             sideview_name: The filename of the sideview graphic to be placed.

        To change weapon animations:
            <ae: battler_id, animationId, weaponSlot>
            battler_id: The ID of the battler to be change sideview graphics.
            Putting 0 instead will affect all actors inflicted.
            animationId: The ID of the animation.
            weaponSlot: The slot in the weapon to be changed the animation.

         Notes:

    • If you use a single-sprite file (files with $ at the beginning), you may also add it but the index must be 0.
    • If the notetag is not fit in a single line, shorten the filename or use the other method below.
    • You may put many notetags for the different actors at the same state, equipment, or class.
    • The priority on the changes in graphics starting from the highest priority are states, equipment, and classes.
    • The priority in "priorityEquip" is arranged from the highest priority to the lowest.
    • The actor sideview battler image to be changed must be in "sv_actors" folder while the enemy must be in "sv_enemies".
    Script

    Pastebin

    GitHub

    Known Bugs

    • Not compatible with "Yanfly Item Core" when using this for changing graphics on equipment only. (FIXED)
    Update

    • v1.2.2: Now compatible with Yanfly Item Core.
    • v1.2.1: Will now load all possible sideview battler changes at the start of the battle to remove the blinking bug.
    • v1.2.0: Now enemies can be change their battler images.
    • v1.1.1: Renamed parameters to be readable easily.
    • v1.1.0: Added "ae" tag to also change weapon animations depending on the actor's state.
    Author's Notes

    • This script is free to use commercially or not. If commercially, you must credit me. If not, just don't claim this as your own but not crediting me is okay if you don't want to.
     
    Last edited by a moderator: Nov 9, 2015
    #1
    Kike, Uzuki, bhindi1224 and 25 others like this.
  2. fm2107

    fm2107 Veteran Veteran

    Messages:
    77
    Likes Received:
    19
    First Language:
    english
    this is wonder full, now we can change our actors cloths as he gets more powerful equipment and change the color as well very, very, very nice
     
    #2
    Andronius and Bokou like this.
  3. Joronjo

    Joronjo Veteran Veteran

    Messages:
    155
    Likes Received:
    29
    First Language:
    English Spanish
    This looks great. Does it change sprites/graphics/faces back to normal after states, classes and equip are removed?
     
    #3
  4. Einreicht

    Einreicht Villager Member

    Messages:
    26
    Likes Received:
    8
    First Language:
    English
    Sorry, but everytime I tried to download the script or copy pasting it to a notepad, MSE always deleted it and warned me of a Trojan.
     
    #4
  5. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    Uploading screenshots... I'll edit both this post and the top post if I successfully take screenshots.
     
    EDIT: Screenshots uploaded successfully.
     

    Thanks. I hope this plugin will help you a lot. :D

     
    Yes. It will be removed once they are removed either in menu, map, or battle automatically, unless you changed them using "Change Actor Images..." event command.
     

     
    I just tried scanning the file using Avira and AVG (from my other PC) and it shows that this is not a virus. I'll try to scan this from my friends' antivirus program if it really is a virus. I'll try to look what should I do to remove the malware from this.
     
    Last edited by a moderator: Oct 29, 2015
    #5
  6. Iliketea

    Iliketea Tea lover Veteran

    Messages:
    848
    Likes Received:
    913
    Location:
    Germany
    First Language:
    German
    Sorry but I have a very stupid question? How can I download this o0 ?
     
    #6
    Andronius likes this.
  7. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    There's a download button on the upper left of the screen (just the right side of my profile pic and below my name) and save to the "Plugins" folder in your project (or somewhere if you don't want to use it yet) and name it "ChangeGraphic.js".
     
    #7
  8. brunovisk2

    brunovisk2 Veteran Veteran

    Messages:
    53
    Likes Received:
    40
    Location:
    São Paulo
    First Language:
    Portuguese
    Thank you janeeuse it will help me a lot with transformations xD

    Is that a possibility to set a new atk animation for each state? For example , if I become a werewolf, I want to atk with my claws and not the sword xD
     
    #8
  9. Iliketea

    Iliketea Tea lover Veteran

    Messages:
    848
    Likes Received:
    913
    Location:
    Germany
    First Language:
    German
    Thank you :kiss:   !! I guess i was totally blind XD 
     
    #9
  10. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    I saw somebody who made a script that changes animation depending on the state inflicted but that was on Ace. I'll try to put that if possible. :)

    Glad it helped. :D
     
    #10
    brunovisk2 likes this.
  11. brunovisk2

    brunovisk2 Veteran Veteran

    Messages:
    53
    Likes Received:
    40
    Location:
    São Paulo
    First Language:
    Portuguese
    Thank you Janeeus it will help me a lot xD
     
    #11
  12. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    Update

    • v1.1.0: Added "ae" tag to also change weapon animations depending on the actor's state.
    Here you go. Take note that it only works on actors having those states specified.
     
    #12
  13. Shiroi Akuma

    Shiroi Akuma Shut up and take my Monet    ( ͡° ͜ʖ ͡°) Veteran

    Messages:
    350
    Likes Received:
    273
    Location:
    Right in front of your screen.
    First Language:
    German
    Primarily Uses:
    N/A
    Awesome, exactly what I was looking for!
     
    #13
  14. Sol Rising

    Sol Rising Veteran Veteran

    Messages:
    162
    Likes Received:
    21
    First Language:
    English
    i'm having problems making this work as a skill for stats. I'm trying to make a hero be able to change his appearance and stats of a unused actor by casting a skill that gives him a stat buff and changes appearance and skills. Is this able to do this? or it just changes appearance? Is it possible to input the commands into a stat or skill? or items only.

    Can you give a example of how it should be inputted in the notes for items/stats/skills etc? I'm having a hard time getting this to work.
     
    Last edited by a moderator: Oct 30, 2015
    #14
  15. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    Glad it helped you.

    The only things this plugin can be applied to are classes, equipment (weapons and armors), and states.

    I'm not sure on what you are trying to say but I'll try to understand. I think most of the things you want to accomplish can be achievable through using common events that will make it change to other class (since the base stats depends on the class the actor is) and learning some skills manually Though "Change Skills" event command).
     
    #15
  16. Sol Rising

    Sol Rising Veteran Veteran

    Messages:
    162
    Likes Received:
    21
    First Language:
    English
    I'm wanting to input it in stats, However the commands aren't working? I'm not sure if I have it correctly, but the command I input is below, am I inputting it incorrectly? 

    [​IMG]
     
    #16
    Andronius likes this.
  17. Jeneeus Guruman

    Jeneeus Guruman The Returnee Veteran

    Messages:
    1,078
    Likes Received:
    183
    Location:
    Philippines
    First Language:
    Filipino
    @sol: You put the tag wrong though. The actor_id in <sve: actor_id, sideview_name> tag is the ID number of the actor in the database, which means only numbers are allowed. For example, <sve: 1, sideviewActor1_7> will make the sideview graphic of the 1st actor in the database change to the specified file, which is "sideviewActor1_7".
     
    #17
    Andronius likes this.
  18. Sol Rising

    Sol Rising Veteran Veteran

    Messages:
    162
    Likes Received:
    21
    First Language:
    English
    working! thx
     
    Last edited by a moderator: Oct 30, 2015
    #18
  19. Sol Rising

    Sol Rising Veteran Veteran

    Messages:
    162
    Likes Received:
    21
    First Language:
    English
    Did not mean to double post, sorry

    nvm i got it working.. My plugins for some reason needed time to take effect. Thank you!
     
    Last edited by a moderator: Oct 30, 2015
    #19
  20. Shiroi Akuma

    Shiroi Akuma Shut up and take my Monet    ( ͡° ͜ʖ ͡°) Veteran

    Messages:
    350
    Likes Received:
    273
    Location:
    Right in front of your screen.
    First Language:
    German
    Primarily Uses:
    N/A
    One moment, is it possible that this script can't affect enemies? It doesn't work, just only on my hero.  :( I thought it would change the battler in the sv_enemies folder as well, or did I mistaken.

    Just wanted to mention that I found another solution for myself, even if it takes more work.

    The plugin should come in handy anyways, I got an nice idea. :) Thank you very much!
     
    Last edited by a moderator: Oct 30, 2015
    #20

Share This Page