MUSH: Advance Achievement System

The plugin wasn't designed for such a feature unfortunately. It only sets the achievement name to the system color (the blue-ish color), or it grays it. If you're interested this is the function that changes the color:

Code:
Window_mushMenuAchievementCommand_P1.prototype.changeColor2 = function(unlocked, sd) {
    if (unlocked == true) {
        this.changeTextColor(this.systemColor());
    } else {
        var n = sd.textColorNotUnlocked;
        this.changeTextColor( this.textColor(n) );
    }
};

You can then do Ctrl+F in the code to see where that function is being called, it's only in 2 places. So you could modify the code so you can manually set the text color for each individual achievements.

Great thanks! I got it to work!

Now, for some people who might bump into the same problem as me, what I did is that I just changed the (this.systemColor()); into (this.textColor(14) );

Full code:

Window_mushMenuAchievementCommand_P1.prototype.changeColor2 = function(unlocked, sd) {
if (unlocked == true) {
this.changeTextColor(this.textColor(14) );
} else {
var n = sd.textColorNotUnlocked;
this.changeTextColor( this.textColor(n) );
}
};

Note that the 14 is the color I chose, it uses the color codes from RPGMAKER
Alright thanks! I'll tool around with it and see if I can figure something else out.
I LOVE this plugin! I figured out how to call the scene if anyone is using an alternative rather then the main menu.
Code:
SceneManager.push(Scene_mushMenuAchievementP1);
This seems to pull up the scene just fine. If you or anyone is still looking for a solution that is.
Hello everyone, sorry for being late to the party.
I'm using SumrndmDde's Alt Menu Screens : Icons - MV together with this plugin and would like to change the icon on the menu but can't seem to be successful, would anyone please be able to assist?
@AzureCrook it has mostly to do with the parameters in SRD plugin.

if it's below the achievement, place it above, otherwise vice versa.
@AzureCrook it has mostly to do with the parameters in SRD plugin.

if it's below the achievement, place it above, otherwise vice versa.
I can confirm with your help the issue was fixed, thank you soooo much ^^
The icon bind is mushAchievements
fixed.png
How to increase the size of images and move description text? If you make the size larger than 96, the image interrupts the text.
VERSION 1.06 IS OUT!!!

So I basically simply added a little auto-update check once the player loads the game. Before, modifying your achievement data (in the code, meaning modifying the reward or the unlocking condition) would only work once the player chooses new game (since the data is copied into the Game Party data at that moment), so any changes to conditions wouldn't apply to save data created before before the change. Now, the game will update the unlocking condition of achievements in a save data. Note that the achievement won't be reset to locked if it was unlocked.

Example:
  • "Monster Killer!" is an achievement that is unlocked after variable #1 >= 100.
  • The player has unlocked the "Monster Killer!" achievement in his playthrough and his variable #1 is currently at 150.
  • The developer changes a bit the game, and in the next game update the condition to unlock "Monter Killer!" is now variable #1 >= 200.
  • When the player enters the game, the game will now update the condition of "Monter Killer!" to 200 kills instead of 100 (that game wasn'T doing that before v.1.06 of the plugin. You had to do new game to see the new condition).
  • The player has still unlocked the "Monster Killer!" achievement, despite not fulfilling the condition since he had unlocked it previously. The lack of reset is to prevent players from receiving twice the achievement reward.
NOTE: The auto-update will only update achievements with the same name. Meaning if one of your modification was changing the achievement name, the game won't replace the old one and will add the new one while keeping the old one. Be careful.
Hey friend, i love ur plugins, and i use YEP_OptionsCore. How i add the achievement section to OptionsCore?
Hey friend, i love ur plugins, and i use YEP_OptionsCore. How i add the achievement section to OptionsCore?
Hi,

Unfortunately this is an old plugin and I don't really update it anymore, unless it's an important bug. I also unfortunately do not use any YEP plugins so there's really no chance at making any integrated features between both plugins.
Introduction:

Do you want an achievement system like the ones on Play Station (3 and 4) or XBox (sorry don't use XBox much so I don't know which ones have an achievement system)? Well you're in luck, I just made a plugin for that. It is highly customizable (can customize all the text, all bar colors, the number of achievements, the achievement logo being icon or sprite, the achievement name, the achievement description and reward, the achievement unlocking conditions, the scene's layout, etc.). That is if you don't mind modifying directly into the code. Indeed, because of the highly customizable form, it would be very tedious, long, and inefficient to use plugin parameters (since you need to create each of your individual achievements).

Fear not, I have a youtube video to help you through the process if you need help. Just check the youtube link at the end of this thread. Check the timestamp in the video description to jump to the part you need assistance with.

Since you need to go into the code, you will need an editor. If you don't have one, I'm using Sublime Text and you can use it for free.

Note:

I didn't test on rpg maker mv version 1.6.0+ since that version forces you to update your old js files and it makes my project (on version 1.4.0) crashes. I only tested this plugin on version 1.4.0 and 1.51.

Features:

There are 2 sections in the code where I planned having the developer bring his own modifications. The first section is customizing the scene's details (for example which scene view, the text, bar colors, icon or sprite size, number of lines per achievement, etc.). If you're having trouble finding the section, just copy and search (ctrl + f) this: qwe789

The second section is where you will create all your achievements. That includes: the logo (icon or sprite), the name, the reward, the description, the condition to unlock, and either to hide information or not when it is not unlocked yet. If you're having trouble finding the section, just copy and search (ctrl + f) this: asdf087

Important:

I forgot to mention some information in the video:
- For sprite images, place the image in the "Picture" folder.
- If you don't want a reward to be given when you complete an achievement, put "-1/0/0" in the reward part. Keeping the 2 slashes and 3 variables is important.

Image(s):

Scene View 1
Wnr6nag.png


Scene View 2
ASPnzpe.png

Updates:
v.1.01:
  • First release.
v.1.02:
  • Added the ability to frequently check for achievement update on the Scene Map. You can set the achievement check frequency (how many frames between each check).
v.1.03:
  • Added the ability to set an image as default image when an achievement is locked and when it's supposed to use an image instead of an icon (before it would just black out the image when the achievement wasn't unlocked yet).
  • Added the ability to disable the pop out window that appears on the map when completing an achievement. This is mainly for conflict with other plugins.
v.1.04:
  • Added the possibility to set a switch to activate/deactivate the attribution of achievements, and also to activate/deactivate the access to the achievement scene via menu.
v.1.05:
  • Fixed an issue where the pop window made the message window disappear.
  • Added touch input support.

Terms:

Basically, if your project's budget is less than 100 000$ Canadian Dollars and your project is not part of a company that has a net worth of over 1 000 000$ Canadian Dollars, you can use it for free, provided you credit me. For the complete terms and licenses, visit my website, license 101.

Here's the link: https://www.kamostudiogroup.com/terms--licenses.html

If you do happen to have invested more than 100 000$ Canadian Dollars in your project, or your project is part of a company that has a net worth >= 1 000 000$ Canadian Dollars, you can still use my work, but not for free. The cost should be negociated directly with me.

Links:
- Plugin: https://www.dropbox.com/s/adofysb9br0ani2/$MUSH_AchievementSystem_P1.js?dl=0
- Youtube (tutorial): youtu.be/6lsGHnV1U4E
- Icon when not unlocked file: www.dropbox.com/s/ph8gnbwzch83zxs/AchievementNotUnlockedIcon.png?dl=0
- Support on Patreon: https://www.patreon.com/kamostudiogroup
- Follow on Facebook: https://www.facebook.com/Kamo-Studio-Group-185550142221553/
What the script to call it? Like:
ScriptScene.push (AchievementScene)?
If you can reply me, i thank
@tuezin it's as simpel as:

SceneManager.push(Scene_mushMenuAchievementP1);

and it should work.
@tuezin it's as simpel as:

SceneManager.push(Scene_mushMenuAchievementP1);

and it should work.
It help me a lot. I was needing it to link the menu on a keybind, and it help me. Thanks!
the best plugin i already have been seen on my life. Easy to use, multi achievements types and more. Good job.
Hey! I'm really sorry to make questions on this subject once again and this late, but there is a way to make the achievements "global"? Like, the achievements transfer to every savefile, so you can do like death achievements and etc.
Hey! I'm really sorry to make questions on this subject once again and this late, but there is a way to make the achievements "global"? Like, the achievements transfer to every savefile, so you can do like death achievements and etc.
if it allow switches to be open (as I use another plugin that has it in-built),
you could use Olivia_metaControl plugin as that can save switch global and local
between saves nicely.

in case you only want it to be saved once you save the game, (not directly by default),
you need some modification to the metaControl plugin found [here].

as I had that issue what I wanted to achieve, I have the solution linked.

if it doesn't allow switches to be unlocked, we can modify to do so if you like.
toggle button freezes game with its turn off/disabled and being pressed,
Does anyone know how to fix it?

Original thread: https://forums.rpgmakerweb.com/threads/mush-advance-achievement-system.93569/