CGMZ Achievements

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
138
Reaction score
253
First Language
English
Primarily Uses
RMMZ
CGMZ Achievements
By: Casper Gaming
Last Update: 9/14/2020
Latest Version: 1.1.0


Introduction
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.

Features
  • 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
Screenshots
An achievement that has been earned

A secret achievement

An achievement with automatic tracking and a gauge progress tracker

An achievement with a lot of criteria/rewards

Achievement window can scroll if needed to show additional information

How to Use
Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Plugin
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/

Credit & Terms
https://www.caspergaming.com/terms-of-use/

Version History
Version 1.0:
- Initial Release

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

BrentBAM

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

AeroPergold

Villager
Member
Joined
Feb 3, 2014
Messages
21
Reaction score
34
First Language
English
Primarily Uses
I got an error that said:

TypeError
Cannot read property 'isSecret' of undefined​
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
138
Reaction score
253
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

Villager
Member
Joined
Feb 3, 2014
Messages
21
Reaction score
34
First Language
English
Primarily Uses
@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
138
Reaction score
253
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

Villager
Member
Joined
Feb 3, 2014
Messages
21
Reaction score
34
First Language
English
Primarily Uses
@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
138
Reaction score
253
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

Villager
Member
Joined
Feb 3, 2014
Messages
21
Reaction score
34
First Language
English
Primarily Uses
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
138
Reaction score
253
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:

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

Latest Threads

Latest Posts

Latest Profile Posts

Ami
--- Currency ---

Hero: This city cannot accept Gold to buy the items.
Merchant: You can exchange Gold into TC,depending the rate of TC this time.
Hero: Really? Then,i want to exchange 999999999G.
Merchant: Let's see……Wait a second,are you Cheating again?
Hero: Hell No!!! I earn it with myself!!!
There's always a time when you're super excited to create something but you already have no energy left. :I
I think of all the effects in my game, the light passing through fog has got to be my favorite....

...Also I spent all day trying to figure out how I had suddenly messed it up and made it start dropping frames like crazy. So I had all day to look at it... mocking me... with it's previous 60fps reduced to 30fps... At least it's fixed now.
Dalph wrote on slimmmeiske2's profile.
Slimmm, we should team one day and make "Reid in Wonderland" or "Aluxes in boots".

Forum statistics

Threads
103,480
Messages
999,651
Members
135,028
Latest member
DOAmaster
Top