waynee95's Achievements Plugin

● ARCHIVED · READ-ONLY
Started by waynee95 37 posts Page 1 of 2 View original ↗
  1. WAY_Achievements
    by waynee95​

    NOTE: I am no longer working with RPG Maker and have no interest in getting back into it. This means that I will NOT add any additional features to my plugins nor fix bugs unfortunately. Feel free to make edits yourself. Please refrain from contacting me privately about my plugins.

    Create Achievements for your game.

    Webp.net-compress-image.jpg
    IconSet made by Avery
    The used Iconset can be found here https://forums.rpgmakerweb.com/index.php?threads/avys-icon-workshop-back-to-buisness.21623

    Features
    • Uses the new MV1.5.0 Plugin Parameter
    • Create many different categories
    • Notification popup window
    • Compatible with YEP_MainMenuManager
    • Use any JavaScript code as the condition for your achievement
    How to use
    Put this plugin at the bottom of the list.

    How to add an achievement to the game:
    1. Open the plugin in the Plugin Manager
    2. Click on the Achievement List parameter
    3. Click on an empty slot
    4. Now you can create an achivement
    Check out the help file for more infos!

    Note: Due to time constraints and shift of interests all my plugins are in maintenance mode only which means I only fix critical bugs but don't implement any new additional features.

    Download: https://raw.githubusercontent.com/waynee95/mv-plugins/master/dist/WAY_Achievements.js

    !!! Make sure to also install WAY_Core !!!
    You can get it here https://raw.githubusercontent.com/waynee95/mv-plugins/master/dist/WAY_Core.js

    If you want to use this plugin with RPG Maker MZ, check out Project FOSSIL made by @Restart

    Terms of Use
    This work is licensed under the MIT license.
    More info here: https://github.com/waynee95/mv-plugins/blob/master/LICENSE
  2. Welcome back Waynee! Missed you bro!
    Edit: No screenshots?
  3. Awesome!

    Small question, is it possible to put an achievement into multiple categories?
  4. @Jewelraffe
    That's a good idea. I implemented it just now. Just download it again.

    WAY_Achievements v1.1.0
    - Allow achievements to be part of multiple categories

    Now you can specify multiple categories for the achievement. Just add all the category names to the Category parameter of the achievement and seperate them by a space, like "All Battle Items". Then the achievement would appear in all those 3 categories.
  5. Oh nice! Thanks waynee95!

    I even figured out two possibly useful conditions for people to use:

    $gameParty.members().indexOf($gameActors.actor(putIDhere)) > -1 will grant the achievement if that actor is in your party and while probably common knowledge amongst programmers, but I managed to string together a bunch of conditions with && and !condition works for inverses too. I even strung 5 level checks to give an achievement for 5 specific heroes being at L50.

    So $gameSwitches.value(1) && !$gameSwitches.value(2) would grant achievement if switch 1 is on while switch 2 is off. Figured I'd mention this so laymen can find even more ways to use this cool plugin. I didn't even know this worked until I tried it!
  6. @Jewelraffe
    Really cool to see what people come up with, I will add a small example for the "!" and "&&" to the plugin help file. :)
  7. WAY_Achievements v1.2.0
    I added an option and plugin commands for enabling/disabling the notification popups.
  8. hi great plugin. i need help getting the id of the achievement getting the common event please . i want to make an if condition. like if $gameSwitches.value(1) what do i use for if $gameAchievements.value(1) ? would that return an achievement with the id of 1 ?

    also to expand on this i`m trying to make a check to stop the achievement from coming back multiple times. once the achievement(1) comes the common event tells a switch(1) to come on and if the switch is on achievement doesnt pop up again.
  9. @Raggon
    To get the achievement for a corresponding id, you use
    Code:
    $gameAchievements.achievement(id)

    What do you mean by

    "stop the achievement from coming back".

    It shouldn't come back, unless you revert the condition somehow?
  10. i have an intro and if someone watches it i put
    Code:
    $gameSwitches.value(401)
    before that i just switched the switch 401 on . for some reason . it keeps popping back up...

    And thankyou for your code...

    Now this is not working. im trying to tell the common event if someone watches the Achievement with id 7 run this .

    which is going to be a check to stop any more coming up. i can do it with multiple common event calls but i was trying to do it with this one common event.

    At the moment all of them are loading even if only id 7 has been achieved....

    Hey can you tell me what the code is
    to check if id 7 has been achieved? :)
    code.png

    p.s. i had 400 frames for notification popup put it down to 120... i guess on auto change map the achievement popup plays a sound and comes back..
  11. @Raggon
    To check if an achievement is completed, you do
    Code:
    $gameAchievements.achievement(id).check()
    inside an if. If this will evaluate to true, then the achievement is completed.

    EDIT: What is the condition specified in the plugin params for the achievement that "comes back"?
  12. Hi, I wanted to use your Achievements plugin, but no matter where I place it in the Plugin Manager, the attached error pops up. Not sure what I am doing wrong...
  13. @Jenova
    Did you create an achievement already or do you just put the plugin into the manager and it does not even start?

    What happens when you disable all other plugins?
  14. waynee95 said:
    @Jenova
    Did you create an achievement already or do you just put the plugin into the manager and it does not even start?

    What happens when you disable all other plugins?

    Sorry it took so long. I was working on my website.

    I cant disable ALL plugins because then I get an error from Orange Time System that its not enabled. But once I turn it on (all others but your plugins and OTS are off) the error still comes back (Left Hand error)

    I do have ONE achievement. Its just to take 100 steps. I set it up to react when a switch is turned on.

    Funny thing is, I cant even start a New Game without this error happening.

    EDIT: To fix this kind of issue, make sure you have TWO symbols in your Achievements Condition instead of the one I had.

    Example:
    Code:
    $gameVariables.value(30) == 600
    Do you see how I have "==" and not just "="? If you wanted to make something equal, you would make it "==" instead of "=". This was my mistake. I hope this helps others with their issues of this kind. :)
  15. How big does the background need to be?
  16. @CorpseFather
    I guess the size of the game window would be optimal.
  17. does Way Achievement scroll overflow?
  18. deleted
  19. @Dolphin458
    JavaScript:
    $gameSwitches.value(1)

    Should work though. Then the achivement would be unlocked when you turn on the switch with ID 1.