CGMZ Achievements

casper667

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

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.

  • 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

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

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in 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/

https://www.caspergaming.com/terms-of-use/

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
62
Reaction score
27
First Language
English
Primarily Uses
RMVXA
Thanks for this! Adding achievements always give something extra to do in a game.
 

AeroPergold

Veteran
Veteran
Joined
Feb 3, 2014
Messages
47
Reaction score
51
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
224
Reaction score
309
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

Veteran
Veteran
Joined
Feb 3, 2014
Messages
47
Reaction score
51
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
224
Reaction score
309
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

Veteran
Veteran
Joined
Feb 3, 2014
Messages
47
Reaction score
51
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
224
Reaction score
309
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

Veteran
Veteran
Joined
Feb 3, 2014
Messages
47
Reaction score
51
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
224
Reaction score
309
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

Veteran
Veteran
Joined
Feb 3, 2014
Messages
47
Reaction score
51
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
224
Reaction score
309
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

Veteran
Veteran
Joined
Feb 3, 2014
Messages
47
Reaction score
51
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
125
Reaction score
64
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
125
Reaction score
64
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
224
Reaction score
309
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
125
Reaction score
64
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.
 

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

Latest Threads

Latest Profile Posts

Why is there so much month left at the end of money? D=
Hello humans! How goes your day in this journey of living? I hope it is good, for I am human like you, and I am feeling great! Worship the altar.
Sand is basically small rocks

Forum statistics

Threads
105,622
Messages
1,015,032
Members
137,285
Latest member
AndrewRobertson
Top