casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
CGMZ Achievements
By: Casper Gaming
Last Update: March 10, 2023
Latest Version: 1.5.0
Forum-Header-Introduction.png
Adds an achievements system including achievement points, secret achievements, difficulty, and more. Achievements offer automatic tracking as well as manual unlocking. Achievements can also have rewards such as items or gold, or even switches/variables. This plugin works well with CGMZ Toast Manager for pop ups when an achievement is earned. This plugin also allows for achievements based off of CGMZ Encyclopedia and Bestiary completion percentage.
Forum-Header-Features.png
  • Add an achievement system with automatic tracking
  • Secret achievements with different descriptions for before/after earn
  • Achievement Points (optional)
  • Rewards can include items, switches, variables, and more
  • Criteria can include items, switches, variables, currency, and more
Forum-Header-Screenshots.png
An achievement that has been earned
achievement1.png
A secret achievement
achievement2.png
An achievement with automatic tracking and a gauge progress tracker
achievement3.png
An achievement with a lot of criteria/rewards
achievement4.png
Achievement window can scroll if needed to show additional information
achievement5.png
EBsAIiJ.png


Forum-Header-HowTo.png
Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.
Forum-Header-Download.png
Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/achievements/
Requires CGMZ Core (v1.2+) plugin: https://www.caspergaming.com/plugins/cgmz/core/
To easily add this plugin to the menu, use my Menu Command Window: https://www.caspergaming.com/plugins/cgmz/menucommandwindow/
To enable pop up messages when the user earns an achievement, use my Toast Manager: https://www.caspergaming.com/plugins/cgmz/toastmanager/
This plugin also supports achievements for completion percentages in my Encyclopedia and Bestiary: https://www.caspergaming.com/plugins/cgmz/encyclopedia/
This plugin also supports achievements for my Profession system:
https://www.caspergaming.com/plugins/cgmz/professions/
Forum-Header-CreditAndTerms.png
https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png
Version 1.0
- Initial Release

Version 1.1.0
- Fixed crash if there are no achievements
- Added support for CGMZ Professions

Version 1.1.1
- Fixed bug with variable tracking when using the "=" operator

Version 1.2.0
- Added ability to use text codes in achievement descriptions
- New achievements should now be automatically recognized by saved games
- Added ability to change pre and post descriptions
- Added option to change the label / header text color
- Added option to change text alignment of list window
- Added option to change text alignment of totals window
- Fixed bug with toast audio on achievement earn
- Fixed bug with padding on list window
- Removed plugin command to manually recognize new achievements in saved game

Version 1.2.1
- Fixed crash when not using CGMZ Encyclopedia

Version 1.2.2
- Fixed bug with variable achievements not auto completing when they should

Version 1.2.3
- Fixed crash with achievements that had switch/variable rewards

Version 1.3.0
- Added ability to choose which order & info to display for achievements
- Added param for Points text in total window (separate from Display window)
- Added param to display total achievements possible in total window
- Added param to display total points possible in total window
- Added text params for achievement requirement text (on progress bar)
- Documentation Updated

Version 1.4.0
- Added categories of achievements
- Added plugin command to change an achievement's secret property
- Added param for transparent windows in achievement scene
- Added param to use a custom background image in achievement scene
- Updated color parameters to use the new color selector for plugins

Version 1.5.0
- Added common event as reward for achievement
- Added ability to mark an achievement as failed via Plugin Command
- Added some display window options for failed achievements
- Added option to fill space where touch UI buttons would be
 
Last edited:

BrentBAM

Veteran
Veteran
Joined
Jul 22, 2020
Messages
94
Reaction score
58
First Language
English
Primarily Uses
RMVXA
Thanks for this! Adding achievements always give something extra to do in a game.
 

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
346
Reaction score
406
First Language
English
Primarily Uses
RMMZ
I got an error that said:

TypeError
Cannot read property 'isSecret' of undefined​
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
@AeroPergold could you press F8 in game to open the developer tools console and let me know what the full error trace is?
 

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
346
Reaction score
406
First Language
English
Primarily Uses
RMMZ
@AeroPergold could you press F8 in game to open the developer tools console and let me know what the full error trace is?

So I fixed it by adding an achievement, as for doing the F8 thing, when it spits out the error it doesn't tell me anything in the console. But I think it just gives an error because there are no achievements to load if there is no achievement data.
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
@AeroPergold Well, I am glad to hear you were able to fix the issue. I was able to reproduce it if I opened the achievement window with no achievements set up. I will add a check for this in the next version so that it at least won't crash in that case.
 

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
346
Reaction score
406
First Language
English
Primarily Uses
RMMZ
@AeroPergold Well, I am glad to hear you were able to fix the issue. I was able to reproduce it if I opened the achievement window with no achievements set up. I will add a check for this in the next version so that it at least won't crash in that case.
I'm glad to have found this weird quirk. Thank you for making a plan to fix it as well as making the plugin itself.
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
Hi all, released an update today which fixes the crash if no achievements are set up and also adds support for my CGMZ Professions plugin:

Version 1.1.0:
- Fixed crash if there are no achievements
- Added support for CGMZ Professions
 

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
346
Reaction score
406
First Language
English
Primarily Uses
RMMZ
Hi all, released an update today which fixes the crash if no achievements are set up and also adds support for my CGMZ Professions plugin:

Version 1.1.0:
- Fixed crash if there are no achievements
- Added support for CGMZ Professions

Oh cool! But rhetorical question but what does professions do?
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
@AeroPergold I am not sure I understand the question, but CGMZ Professions is another plugin of mine that adds professions or skills that you can level up like cooking/mining/etc.

 
Last edited:

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
346
Reaction score
406
First Language
English
Primarily Uses
RMMZ
So I'm not sure if this is a bug or I'm using these two plugins wrong but:

I have achievements that can be earned by completing the bestiary from the encyclopedia plugin.
But for some reason the bestiary achievements won't be achieved even if the requirements are met (i.e. the achievement for completing 5% won't be obtained despite being 5% of the bestiary is completed.)

Sorry if this reads in a fashion that would give Godzilla a stroke.
bandicam 2020-10-21 14-01-13-449.jpg
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
@AeroPergold Are these achievements set to "automatic tracking" in the parameters?

Edit: Nevermind, I see the issue. It is with the encyclopedia plugin. An update will be released shortly to fix this.
 
Last edited:

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
346
Reaction score
406
First Language
English
Primarily Uses
RMMZ
@AeroPergold Are these achievements set to "automatic tracking" in the parameters?

Edit: Nevermind, I see the issue. It is with the encyclopedia plugin. An update will be released shortly to fix this.
Sorry for not getting back but yes its set to automatic...But no matter, you figured it out.

Also Thanks for the fix.
 

TheGameAfter

I'm here to help and to learn!
Veteran
Joined
Apr 20, 2019
Messages
139
Reaction score
91
First Language
Hebrew
Primarily Uses
RMMV
Hi casper667, hope you doing well.

So I'm trying out your plugins, I can't find clear info on 'How to create a new Achievement', should I put a script in the item, not a tag like with your 'crafting' plugin or there is another way? what scrtip/not tag to put? can't find it anywhere in the plugin info (only 'check/call' script).
 

TheGameAfter

I'm here to help and to learn!
Veteran
Joined
Apr 20, 2019
Messages
139
Reaction score
91
First Language
Hebrew
Primarily Uses
RMMV
One more question: I also want to use it with your other plugins related to this one (Professions, Encyclopedia, CGMV TOAST), so how do I add an achievement I create to the specific 'Professions' category I made (in the 'Professions' parameters).
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
@TheGameAfter You set achievements up in the plugin parameters, there is a parameter at the top of the list called "Achievements". You'll be able to set up a lot of things such as any profession requirements there as well.
 

TheGameAfter

I'm here to help and to learn!
Veteran
Joined
Apr 20, 2019
Messages
139
Reaction score
91
First Language
Hebrew
Primarily Uses
RMMV
@TheGameAfter You set achievements up in the plugin parameters, there is a parameter at the top of the list called "Achievements". You'll be able to set up a lot of things such as any profession requirements there as well.
Ok, my bad, I did set it up before asking, however, the script I use was for 'recipe' (crafting), oops, works now, thanks.
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
432
Reaction score
544
First Language
English
Primarily Uses
RMMZ
Hi all,
Small bugfix today for variable tracking in the window when using "=".

Version 1.1.1:
- Fixed bug with variable tracking when using the "=" operator
 

Divided

Warper
Member
Joined
Mar 24, 2021
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMZ
I get a bug where I use the Toast Manager for the notification and sound, the sound only comes out of the right audio channel.
 

Latest Threads

Latest Posts

Latest Profile Posts

ScreenShot_3_30_2023_10_5_45.pngstarted working on a new area today. It's a warped version of being inside someone's home. Also moved the face and Panic gauges to be out of the way of the map names. switching moods actively changes what you encounter. Calm is normal while anxious is all the way up to Manic.
Ads.png
Some advertisements for M

And yes kiddos smoking, alcohol and too much coffee or tea are bad for you - but in the 20's we didnt know that yet xD


This is for demonstration of random vocal.
My mom showed up yesterday and I wanted to proudly show off my comic con web page. So of course, it no longer existed. I guess when the 4 day event was over they removed it.
Feeling like a creative Pattato this morning...

Forum statistics

Threads
129,979
Messages
1,206,692
Members
171,209
Latest member
910Ninocc
Top