casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
366
Reaction score
488
First Language
English
Primarily Uses
RMMZ
CGMZ Achievements
By: Casper Gaming
Last Update: 5/15/2022
Latest Version: 1.2.3
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
 
Last edited:

BrentBAM

Veteran
Veteran
Joined
Jul 22, 2020
Messages
92
Reaction score
52
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
315
Reaction score
374
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
366
Reaction score
488
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
315
Reaction score
374
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
366
Reaction score
488
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
315
Reaction score
374
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
366
Reaction score
488
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
315
Reaction score
374
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
366
Reaction score
488
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
315
Reaction score
374
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
366
Reaction score
488
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
315
Reaction score
374
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
138
Reaction score
87
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
138
Reaction score
87
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
366
Reaction score
488
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
138
Reaction score
87
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
366
Reaction score
488
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 Profile Posts

Played and finished Mad Father, one of the older RPGmaker horror games out there. That was one mad, MAD father
Hi, I am new here, exciting! Emmm where to change my head portrait?
I now have an idea of how to approach my IGMC entry for this year's theme, as well as a working title (TBA). Given the limited time I can spare, I'm going with a game design that doesn't require a battle system. Something that could be expanded if I want to make it a longer game, but can probably be played through within 2 hours (the goal for now), at least on a speed run.
很好,我喜欢你的游戏独特的用户界面
In last 5 years, I have bought 4 MSI computer components and had issues with all 4 of them. With two of them these issues were so huge the board was quite unusable. I think it's safe to day it's my last MSI product purchase.

Forum statistics

Threads
123,370
Messages
1,156,104
Members
161,805
Latest member
unitedcapta
Top