SMO - Achievements Menu v1.03

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
SMO_Achievements.js
by SMOValadorn

Description:
Creates an achievements menu for your game.

Features:
- Pop up on unlock (optional):
When unlocking an achievement, a pop up will be shown on the screen. The player can click on the pop up and it'll lead him to directly to the achievemnt menu (as long as the player is not on a dialog);

- Auto update (optional):
The requirements for locked achievements will be checked every 1 second. It's possible to change this interval on the plugin's parameters, or even deactivate it and check manully using a plugin command if you want;

- Categories (optional):
It's possible to make many categories, and each achievement can be on multiple categories;

- Trophies (optional):
After completing all achievements on a specific category the player unlocks a trophy;

- Sort (optional):
It's possible to add/remove or edit the sort options through the plugin's parameters (some JS knowledge may be required).
E.G: A-z, Locked, Unlocked...

- Global/Local range:
It's possible to make global achievements, in this case any achievement unlocked on a playthrough will keep unlocked until you use a plugin command to reset it.

- Requirements and Rewards:
Each achievement may have many requirements and rewards;

- Hidden and Secret achievements:
It's possible to make an achievement secret or completely hide it until it's unlocked;


- Unlocked date:
The info window shows the unlocked date;

These are the main features.
Optional features may be deactivated using the plugin parameters.
Screenshots:
Categories and trophies:
Categories.png

Achievements:
Achievements.png

Info window:
InfoWindow_big.png

License:
This plugin is under MIT License.
You can use it for free on both comercial and non-commercial projects. Credit me as SMO.
You can read more about the license here.


Download:
Clicking below you'll see the raw file, use RMB and click on "Save as..." to download it.
Download Plugin

You'll find a demo below, it's a non encrypted project stored on Google Drive ~ 27 MB.
Download Demo


How to use:
You'll find all the info you need on the plugin's help section, you can use the plugin's parameters to add achievements and customize the menu.

Changelog:
V 1.03
- The info window now open/close instead of just appearing/disappearing;
- Improved wrap text mechanic, and it also works on the info window now;
- Improved performance on the menu;
- Achievements are now refreshed after transfering; - Parameter "Unlocked In" changed to "Unlocked On";
- New parameters for trophies on "Categories and Trophies": "Hide Trophy",
"Trophy Image" and "On Unlock";
- New parameter inside "Use Trophies": "Trophy Selector";
- Added option to select images for locked and secret achievements (check
out "Locked Achiev Background" and "Secret Achiev Background";
- Added text codes for the pop up's text and for the "Unlocked On" text;
- It's possible to set a different image for the pop up for each achiev,
check out "Pop Up Image" inside "Achievements Data";
- Fixed bug where advanced requirements were not working properly;

V 1.02
- Fixed bug with plugin commands;
- Fixed bug where achievements unlocked with script calls were not
being saved on global range;

V 1.01
- New parameter added: Global Rewards;

V 1.00
- Plugin released!

Please let me know if you have any suggestions or if you find any bug (or even a spelling mistake, I'm trying to improve my english hehehe)

Cheers everyone!
:kaoluv:
 
Last edited:

ravenhood

Veteran
Veteran
Joined
Feb 26, 2020
Messages
62
Reaction score
29
First Language
Chinese
Primarily Uses
RMMV
@SMO_Valadorn wow, the best achievements plugin i ever seen, i've checked through the demo, everything i ever needed was there :o
 

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
@SMO_Valadorn wow, the best achievements plugin i ever seen, i've checked through the demo, everything i ever needed was there :o
I'm happy to hear that buddy :smile:

Before making this plugin I searched for other achievements' plugins and I tried to add as many features as I read on their comments + some features I wanted.

I really hope I didn't add too much and that I haven't complicated things too much either haha.
 

ravenhood

Veteran
Veteran
Joined
Feb 26, 2020
Messages
62
Reaction score
29
First Language
Chinese
Primarily Uses
RMMV
Hey @SMO_Valadorn , i have a question, Achievement can be set as Global right?
But i guess that the rewards from them only given to player once? Can we have an option which to reward players whenever he start a new game for achievements he achieved?
 

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
Hey @SMO_Valadorn , i have a question, Achievement can be set as Global right?
But i guess that the rewards from them only given to player once? Can we have an option which to reward players whenever he start a new game for achievements he achieved?
Yeah, it's possible to use global achievements, if you do so you'll be able to see the achievements from the title (this is also optional), and yeah currently the player only receives rewards once but I like your idea! I'll add that :smile:

EDIT: V 1.01 - New param added: Global Requirements, if on it'll give the player the rewards of all the unlocked achievements when starting a new game (for global range only).
 
Last edited:

Banjo

Veteran
Veteran
Joined
Jan 4, 2013
Messages
92
Reaction score
19
First Language
English
Primarily Uses
RMVXA
This is amazing, everything I wanted in an Achievements plugin! Thanks!

I've hit one problem, though: I want my achievements to be global, but when I used the Plugin Command to reset the achievements, I get an error message "Reference Error: lowerCommand is not defined". Any idea what I'm doing wrong? Using other Plugin Commands seem to work.
 

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
This is amazing, everything I wanted in an Achievements plugin! Thanks!

I've hit one problem, though: I want my achievements to be global, but when I used the Plugin Command to reset the achievements, I get an error message "Reference Error: lowerCommand is not defined". Any idea what I'm doing wrong? Using other Plugin Commands seem to work.
Oops my bad, thanks for reporting it!

EDIT: Fixed on v1.02 :smile:
 
Last edited:

HalcyonDaze

Smoke and Mirrors
Veteran
Joined
Feb 6, 2013
Messages
336
Reaction score
223
First Language
English
Primarily Uses
RMMZ
I love this plugin. It really is close to perfect, imo.
 
Last edited:

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
605
Reaction score
139
First Language
English
Primarily Uses
RMMV
Is it possible to add our own window design based on images?
 

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
Is it possible to add our own window design based on images?
Not yet, for now it uses only the default windows from RPGMV (which means that changing it with other plugins may also change it here).

I have plans to make the design more flexible.
 
  • Like
Reactions: J-G

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
605
Reaction score
139
First Language
English
Primarily Uses
RMMV
Sweet! I can't wait for that
 

Banjo

Veteran
Veteran
Joined
Jan 4, 2013
Messages
92
Reaction score
19
First Language
English
Primarily Uses
RMVXA
Oops my bad, thanks for reporting it!

EDIT: Fixed on v1.02 :smile:
Wow, thanks for fixing it so fast! Really love this plugin, so thanks again for making it!

EDIT: One thing I did notice is that if I reset all achievements within the game, the last one I got still "pops" and is awarded. Not sure if that's something I've done wrong, a bug or intentional?
 
Last edited:

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,861
Reaction score
1,004
First Language
Dutch
Primarily Uses
RMMV
while the plugins seems nice, and has some nice features (CGMV_Achievement) my favorite
does have the categories seperated like you do.

I dont know if it comes with auto reward as well or popup using an image.

Another things is that is more Unlocked on instead of Unlocked in, can be language barrier.
I dont know if I change from CGMV to yours, but the pro's I like in yours mostly is
the seperated categories to add in, nicely and visible or sorted in difficulty:

Easy,
Normal,
Hard,
Epic

and find out how to unlock them instead of Gameplay, battle, Bosses etc,
or combined. also using a image for trophy is a nice Idea. I will try out the Demo though,
but is it possible to add an Image as popup? or is it possible to add it?

if you can add an image based on popup, rather than text (or chooseable) than I might switch.
not because CGMV is better in some ways, but I like the seperation of categories :)

and also the compleetly hidden achievement is very intresting :)
 

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
while the plugins seems nice, and has some nice features (CGMV_Achievement) my favorite
does have the categories seperated like you do.

I dont know if it comes with auto reward as well or popup using an image.

Another things is that is more Unlocked on instead of Unlocked in, can be language barrier.
I dont know if I change from CGMV to yours, but the pro's I like in yours mostly is
the seperated categories to add in, nicely and visible or sorted in difficulty:

Easy,
Normal,
Hard,
Epic

and find out how to unlock them instead of Gameplay, battle, Bosses etc,
or combined. also using a image for trophy is a nice Idea. I will try out the Demo though,
but is it possible to add an Image as popup? or is it possible to add it?

if you can add an image based on popup, rather than text (or chooseable) than I might switch.
not because CGMV is better in some ways, but I like the seperation of categories :)

and also the compleetly hidden achievement is very intresting :)
Hi, I'm glad you liked the plugin :)

Currently, the player automatically receives it's reward when unlocking an achievement, but I have plans to add a button like "Get Rewards" on the info window, of course this will also be optional.

Thanks for pointing out about the "Unlocked on", I'll make that default on the next update, you can still change it on the plugin's parameters.

About the pop up, if the achievement itself has an image, the pop up will use the same img as background, perhaps I should add the option to use a fixed img to it? I'll think about it. You can delete the text on the plugin's parameters if you don't want to use it, check the "Texts and Colors" parameter.

The difficulty is something I also though about when creating the plugin, but I was afraid to be adding to much stuff to it hahaha, I'll think about it again.

I'm planning lots of things to add to the plugin and I'm working on a editor for the menu right now, it's already possible to move windows by clicking and dragging them, I'll share more info when I have something more solid.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,861
Reaction score
1,004
First Language
Dutch
Primarily Uses
RMMV
I dont mean the difficulty addon, while if it has a description, it can be added.

as for the image popup (instead of the tiny image in the upper right corner,
just the image below. (sample image below)

Achievement Rarity.png

While this was my old one, I have an imrpoved version suited for my save scene.
so I want to use those as a popup (like I can do in CGMV_Achievement, which I modified
in the other plugin required.

the window that show the information is something I like to change later on, to suit it more.
in overall its nice, maybe I will let that be, but while CGMV requires 3 plugins to get the
achievement fully function, yours require 1, and has popup included.

yours has:
seperated categories
trophies (if name can be changed)
image on those icon and see all the achievements

compleetly hidden on category, if you have 3, and 2 hidden, it shows 1, but you know
there are 3 at least, but you cant gues which ones.

Secret, nice window for it (if text can be changed) is also brilliiants.

those 5 pro's is a feature I really like, which lacks on the other plugin.

Cons (for now)
no image popup (like the sample above)
structure maybe a bit less, but I love the js functionality, but you need more
details in the helpfile for more examples (maybe its possible for a popup
through that one (if its possible, it would be nice) but low information about it.

same for battle count, value1, value 2 and compare (advanced) dont know
what's to use there for js (maybe a bit userfriendly)

for CGMV I use currently which might be a bit above, or the same level.
Pro's on there, user friendly (maybe if you have time to check it out, so you
can see where you can improve or make it more user friendly.

image pop up.

cons, can be hidden, but not like yours.
no categories (thats teh good thing on yours )
require another plugin for popup.

while those are a few pro's and cons compare to yours.
if you can make it happen for the images based popup (which I like)
to see what's unlocked more clearly than the tiny box currently,
I'm going to switch, because I love the category.

But I also have 1 question
when achievements are local, its each save seperatly while global is
all together (even from a different slot)

would it be possible if you have categorized the achievement like:
dungeons cleared
special items obtained
hidden bosses defeated (also compleetly hidden)

and dont count achievements for trophy but still get rewards if all is obtained:
easy,
normal
hard
epic
legend

for example?
 

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
I dont mean the difficulty addon, while if it has a description, it can be added.

as for the image popup (instead of the tiny image in the upper right corner,
just the image below. (sample image below)

View attachment 148146

While this was my old one, I have an imrpoved version suited for my save scene.
so I want to use those as a popup (like I can do in CGMV_Achievement, which I modified
in the other plugin required.

the window that show the information is something I like to change later on, to suit it more.
in overall its nice, maybe I will let that be, but while CGMV requires 3 plugins to get the
achievement fully function, yours require 1, and has popup included.

yours has:
seperated categories
trophies (if name can be changed)
image on those icon and see all the achievements

compleetly hidden on category, if you have 3, and 2 hidden, it shows 1, but you know
there are 3 at least, but you cant gues which ones.

Secret, nice window for it (if text can be changed) is also brilliiants.

those 5 pro's is a feature I really like, which lacks on the other plugin.

Cons (for now)
no image popup (like the sample above)
structure maybe a bit less, but I love the js functionality, but you need more
details in the helpfile for more examples (maybe its possible for a popup
through that one (if its possible, it would be nice) but low information about it.

same for battle count, value1, value 2 and compare (advanced) dont know
what's to use there for js (maybe a bit userfriendly)

for CGMV I use currently which might be a bit above, or the same level.
Pro's on there, user friendly (maybe if you have time to check it out, so you
can see where you can improve or make it more user friendly.

image pop up.

cons, can be hidden, but not like yours.
no categories (thats teh good thing on yours )
require another plugin for popup.

while those are a few pro's and cons compare to yours.
if you can make it happen for the images based popup (which I like)
to see what's unlocked more clearly than the tiny box currently,
I'm going to switch, because I love the category.

But I also have 1 question
when achievements are local, its each save seperatly while global is
all together (even from a different slot)

would it be possible if you have categorized the achievement like:
dungeons cleared
special items obtained
hidden bosses defeated (also compleetly hidden)

and dont count achievements for trophy but still get rewards if all is obtained:
easy,
normal
hard
epic
legend

for example?
Hm, currently you can edit the pop up by using the plugin's parameters, you can customize it's position, size and the "Unlocked:" text. The image shown is the same as the unlocked achievement's background and there's no way to add custom images to it YET.

The editor I'm working on is specific for the achievement's menu, when using it, it'll also be possible to customize the pop up window, and give it a new look just like you want it :)

All texts are already customizable, the "trophies", the secret achievement's text, etc. Some of them like the trophies' description also use word wrap.

I'll add a lot on the next update. I'll take a look at the plugin you mentioned and see what I could improve on mine, thanks for pointing that out.

Sorry but I didn't understand your question, you don't want to use trophies but you want to give the player something when it unlocks all the achievements on a specific category, is that it?
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,861
Reaction score
1,004
First Language
Dutch
Primarily Uses
RMMV
more, you have 4 categories, and 4 besides those, the 4 besides dont count as trophies,
but will reward if all "items" are achieved, like if you have the following

game play (trophy)
bosses (trophy)
crafting (trophy)

easy (no trophy) 0/4
normal (no trophy (3/3 but gain reward when all is achieved)
hard (no trophy) 1/5

around this one, normal doesn't count for trophy, but will gain reward when maxed.
maybe adddition reward when trophy is be obtained?


EDIT:
I forgot to mention as well, when you check "all" category, or any other, and go through them,
the index when last selected, doesn't go back to 1. you might want to fix that if possible :)
 
Last edited:

SMO_Valadorn

Villager
Member
Joined
Aug 31, 2019
Messages
20
Reaction score
33
First Language
Portuguese
Primarily Uses
RMMV
more, you have 4 categories, and 4 besides those, the 4 besides dont count as trophies,
but will reward if all "items" are achieved, like if you have the following

game play (trophy)
bosses (trophy)
crafting (trophy)

easy (no trophy) 0/4
normal (no trophy (3/3 but gain reward when all is achieved)
hard (no trophy) 1/5

around this one, normal doesn't count for trophy, but will gain reward when maxed.
maybe adddition reward when trophy is be obtained?


EDIT:
I forgot to mention as well, when you check "all" category, or any other, and go through them,
the index when last selected, doesn't go back to 1. you might want to fix that if possible :)
Oooh I got it now, those are things I was already wondering if I should add to the plugin, I'll surely add it now :)

About the index not going to 1, you mean that after selecting a category, let's use the "Battle" category as example, when you close it and go back to the categories selection it'll auto select the "Battle" category instead of the first one? Because that's intentional, RPGMV does that too and I like that mechanic, I can show you where to change it on the code if you want, but that's not something I want to change on the official plugin
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,861
Reaction score
1,004
First Language
Dutch
Primarily Uses
RMMV
like index of all, you have 4 trophies: 1, 2, 3, 4, but you cant go from 4 to 1 to start over.
if this is intentional, I would like to know how to get 4 to 1 again.

but see if you can add the suggestion mention, because auto reward + popup inside
1 plugin is always better than 3 (of CGMV core, achievemen + toast for popup)
which I modified for the image part.

the plugin further is very powerfull, get it done and your achievement become nr1 for me,
cgmv 2nd (while his is extremely easy to use), while yours can be extended with some
js knowledge, just need to figure out which one if not everything you can add as function.
because you use 1 for audio, which I believe, it might be done with images (cant tell)
because I need to find my code for calling pictures.

as for the editor, im curious how you build it up. but when I like it, I will switch anyway =)

AS A SIDENOTE:
you have a structure with
1. text text text
2. text text text
3 textext text
4. indext 6 is count as 1
5. ------ gameplay -----
6. code for achievement (index 1)
7. code for achievement (index 2
8 ------- battle -------
9 battle 1 (index 3?)
10 battle 2 (index 4?)
11 ------- misc -------
12 misc stuff (index 5)?

or do I see this wrong?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Evil7 added!


I did a bit of a remake on one of the maps, also I made a particle for jumping into the portal, and one for traveling through the portal. I'll probably add more sparkles later to embellish it. :LZSwink:
Polished the animation and added details :kaojoy:
Ami
What do you think about the Wood Bridge inside of Volcano?
Yet another gaming question, i'm currently playing Last of Us 2 and want to get another game to play next but can't decide between Ghost of Tsushima, Miles Morales & Jedi Fallen Order. After the latest mandalorian i AM on a star wars kick, but i also LOVED the last spiderman game that prequels Miles Morales. Ghost of Tsushima is the bottom of my list but i heard it was AWESOME. Just want a good story & fun gameplay.

Forum statistics

Threads
105,686
Messages
1,015,538
Members
137,362
Latest member
sdramose
Top