Equipment Rarity Colors

Discussion in 'JS Plugin Releases (RMMV)' started by Jeremy Cannady, Nov 1, 2015.

  1. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    EquipmentRarityColors.js v1.2

    DownloadLink v1.2

    http://pastebin.com/BjyHr2kD

    11/1/15 11:45 AM Central :I have updated the script to allow you to change the colors in the plugin window.
    Let me know if there are any bugs please



    Jeremy Cannady
    Introduction
    Simple script to change the items color in the menus based on what rarity value you assign to it.

    Not sure if this has already been made but thought I would put it out here.

    If there is an existing script I will take mine down.

    Features
    Changes the weapon/armor item color in the game based on what rarity value you assign.



    Screenshots

    [​IMG]
    Notetags

    [​IMG]

    How to Use
    Put the script, must be named EquipmentRarityColors.js and needs to be Java script and not text file. If any one know of a good site to host js files let me know!

    Author's Notes
    Send a message if there is any questions or would like to know how to change the colors to what you want them to be instead of my default ones I have used. Thanks
     
    Last edited by a moderator: Nov 3, 2015
    #1
  2. CameronCalvert

    CameronCalvert LazyCam Veteran

    Messages:
    48
    Likes Received:
    4
    First Language:
    English
    Primarily Uses:
    N/A
    Thank you so much, something so simple, yet makes a game much much better!

    EDIT: Downloaded it and added it and set the notetags and doesn't seem to make a work for me. :(
     
    Last edited by a moderator: Nov 1, 2015
    #2
    Jeremy Cannady likes this.
  3. ThePedro004

    ThePedro004 Villager Member

    Messages:
    9
    Likes Received:
    7
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    But how i download it?
     
    #3
    Silent Darkness likes this.
  4. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    Updated with a download link now.
     
    #4
  5. Solis

    Solis Veteran Veteran

    Messages:
    366
    Likes Received:
    84
    First Language:
    English
    Seems to work fine for me. 
     
    #5
  6. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    Thanks let me know if there is any bugs or things you want to be changed with it.
     
    #6
  7. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    Just like this with capital "R" and no spaces.

    <itemRarity:5>

    [​IMG]
    Only thing you change is the number.
     
    Last edited by a moderator: Nov 1, 2015
    #7
  8. Bernkastel

    Bernkastel Veteran Veteran

    Messages:
    75
    Likes Received:
    15
    First Language:
    English
    Awesome plugin! Thanks again. do you have a key for how to easily change colors in the code?
     
    #8
  9. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    I haven't spend the time to figure out how the colors work. I think you can do a RBG format but I need a more experienced person to chime in.

    I will probably update it in the future with a way to change the colors in the plugin menu. So far I have just used the window.png picture to select them.

    Please see the grid below.

    [​IMG]
    For example if you wanted rare 5 to be yellow you need to change:

    }else if (rarity == 5){this.changeTextColor(this.textColor(30))

    to

    }else if (rarity == 5){this.changeTextColor(this.textColor(17))
     
    Last edited by a moderator: Nov 1, 2015
    #9
    Bernkastel and Roguedeus like this.
  10. Bernkastel

    Bernkastel Veteran Veteran

    Messages:
    75
    Likes Received:
    15
    First Language:
    English
    For example if you wanted rare 5 to be yellow you need to change:

    }else if (rarity == 5){this.changeTextColor(this.textColor(30))

    to

    }else if (rarity == 5){this.changeTextColor(this.textColor(17))
    Works great. thanks!
     
    #10
    Jeremy Cannady likes this.
  11. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    To all , I have updated it to allow the user to change the colors in the plugin manager window.

    http://pastebin.com/BjyHr2kD

    Let me know if there is any bugs please.

    Also: anyone can use my scripts for whatever, no credit necessary 
     
    Last edited by a moderator: Nov 2, 2015
    #11
    Bernkastel likes this.
  12. G4merSylver

    G4merSylver Villager Member

    Messages:
    17
    Likes Received:
    10
    Any Updates on the YanFly compitability?
     
    #12
  13. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    The person who said he had issues with it says it is ok now. 
    It works with my Yanfly core as well.
    Current version should be the one in the original post.
     
    #13
  14. Lowell

    Lowell The Walking Atelier Veteran

    Messages:
    292
    Likes Received:
    68
    First Language:
    English
    as a heads up, link at the bottom goes to your item combination system
     
    #14
    Jeremy Cannady likes this.
  15. Riff

    Riff Eorzean Veteran

    Messages:
    261
    Likes Received:
    82
    Location:
    Brunei Darussalam
    First Language:
    English
    Primarily Uses:
    RMMV
    Hello. Thanks for the simple, but useful script!

    I found few minor bug though.

    I am using a lot of Yanfly's plugins, and I found that it doesnt allow the Instant Cast plugin (http://yanfly.moe/2015/10/30/yep-22-instant-cast-2/) to draw the overlapping instant icon indicator on any skills.

    I also found that it doesnt color the item/equipment name when in the mini-menu when attempting to upgrade the item/equipment from using Yanfly's Item Upgrade Slot add-on (http://yanfly.moe/2015/10/16/yep-12-item-upgrade-slots/).
     
    #15
  16. Jeremy Cannady

    Jeremy Cannady Coldfire Veteran

    Messages:
    449
    Likes Received:
    261
    Location:
    Texas
    First Language:
    English
    Hmm, I don't have those plugins. I will have to investigate.
     
    #16
  17. TheHarmp

    TheHarmp Non-Profit Mephobiac Veteran

    Messages:
    62
    Likes Received:
    91
    Location:
    Ridderkerk, The Netherlands
    First Language:
    Dutch

    I'm using the Item Upgrade Plugin as well, but it works fine for me.

    Edit: I misread what Riff was saying. It does not show the color in the mini menu. (But it doesn't really bother me personally.)

    [​IMG]

    Nevertheless thanks for this plugin! Simple, yet very effective.
     
    Last edited by a moderator: Nov 4, 2015
    #17
  18. StarWarrior00

    StarWarrior00 ~ King of Cuteness ~ Veteran

    Messages:
    769
    Likes Received:
    88
    Location:
    Shreveport, LA, United States
    First Language:
    English (US)
    Primarily Uses:
    N/A
    What are the terms of use for this plugin? Please specify this in your opening post.
     
    #18

Share This Page