CGMV Professions

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
63
Reaction score
89
First Language
English
Primarily Uses
RMMV
CGMV Professions
By: Casper Gaming (Casper667)
Last Update: 7/2/2018
Latest Version: 1.2


Introduction
This plugin allows you to implement a profession or skill system in your game. Professions can level up/down with experience awarded via plugin commands, or via other plugins that interact with this one.

Features
- Professions / skill system
- Earn experience, level up professions through easy-to-use event commands
- Unlimited professions

Screenshots


How to Use
Import into plugin manager and enable the plugin. Some set up may be required.

Plugin
Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmv/professions/
Requires CGMV Core, which can be found here: https://www.caspergaming.com/plugins/cgmv/core/

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

Version History
Version 1.0 - Initial Release

1.1:
- Added support for CGMV Achievements

1.2:
- Fixed some default values for plugin parameters
- Added ability to not use an icon for a profession. An Icon Index of -1 means the icon will not display.
 
Last edited:

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
63
Reaction score
89
First Language
English
Primarily Uses
RMMV
Small update today. If you plan to make profession achievements, please also update my achievement plugin as well.

1.1:
- Added support for CGMV Achievements
 

dyoghenes

Veteran
Veteran
Joined
Jul 14, 2014
Messages
38
Reaction score
5
First Language
Hungarian
Primarily Uses
RMMV
Hi!

Using MV 1.6.1 I get the following error message when I use CGMV Core and Professions and try to start the game:

SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at CGMV_Profession.initialize (CGMV_Professions.js:211)
at new CGMV_Profession (CGMV_Professions.js:199)
at CGMV_Core.initializeProfessionData (CGMV_Professions.js:383)
at CGMV_Core.createPluginData (CGMV_Professions.js:373)
at CGMV_Core.initialize (CGMV_Core.js:325)
at new CGMV_Core (CGMV_Core.js:319)
at Function.DataManager.createGameObjects (CGMV_Core.js:606)
at Function.DataManager.setupNewGame (rpg_managers.js:217)
at Scene_Boot.start (rpg_scenes.js:402)

If I disable CGMV Core then the game loads but of course the Professions plugin doesn't work. What could I do?

Thanks!
 

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
63
Reaction score
89
First Language
English
Primarily Uses
RMMV
Thanks for bringing this to my attention.

That JSON Parse error would mean something has gone wrong while parsing the parameters set up for the professions. It's hard to know which one is the issue, but I have updated the plugin since there were some missing default values for some parameters which may have caused it. Please redownload it and let me know if fixed.

If still having the same problem after updating, could you please go to Plugin Manager -> CGMV_Professions -> Professions (parameter) -> Text and copy what you see and post it here?

Version 1.2 changes:
- Fixed some default values for plugin parameters
- Added ability to not use an icon for a profession. An Icon Index of -1 means the icon will not display.
 

dyoghenes

Veteran
Veteran
Joined
Jul 14, 2014
Messages
38
Reaction score
5
First Language
Hungarian
Primarily Uses
RMMV
Thank you for being so quick!

It works now. Also when I wrote my post, I did not set any icon, description and color. By default these are empty and that causes the problem. When I click on description or color and then hit Enter, it changes to "" and [], respectively.

So it says
Code:
{"Name":"Woodcutting","Discovered":"true","Level":"1","Max level":"20","Use Experience Curve?":"true","Experience Curve":"[30,20,30,30]","Icon":"","Color":"","Description":"","Toast Sound Effect":""}
instead of
Code:
{"Name":"Woodcutting","Discovered":"true","Level":"1","Max level":"20","Use Experience Curve?":"true","Experience Curve":"[30,20,30,30]","Icon":"0","Color":"[]","Description":"\"\"","Toast Sound Effect":""}
Edit: I don't know if this is intentional, but although I set a profession's "discovered" to "false", it still shows up on the Professions scene.

Edit2: I can hide the profession with the plugin command but the total level counter is a bit off. My profession has a level cap of 20 and I am on level 1. When I hide the profession, the plugin subtracts the 20 from the maximum level, but it doesn't subtract the 1.

So if my total level was 5/100, it doesn't show 4/80 but rather 5/80. Is there a way to fix this? Thanks a lot! Sorry for writing so much :\

Edit3: Oops, now I see that my first point was actually fixed in version 1.2. My bad.
 
Last edited:

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
63
Reaction score
89
First Language
English
Primarily Uses
RMMV
Must have been something I overlooked! I updated it again, let me know if that fixes the issue.
 

dyoghenes

Veteran
Veteran
Joined
Jul 14, 2014
Messages
38
Reaction score
5
First Language
Hungarian
Primarily Uses
RMMV
Everything works great now, thank you very much! :)
 

magoale1

Warper
Member
Joined
Jan 6, 2014
Messages
2
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
How can i make a event that check the user profession level?
 

casper667

Veteran
Veteran
Joined
Mar 15, 2012
Messages
63
Reaction score
89
First Language
English
Primarily Uses
RMMV
You can use the script command:

$cgmv.getProfession("YOUR PROFESSION NAME HERE")._level
 

magoale1

Warper
Member
Joined
Jan 6, 2014
Messages
2
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
Thanks a lot! Loved your plugins :ehappy:
 

elsingaa

Warper
Member
Joined
Feb 9, 2017
Messages
1
Reaction score
0
First Language
Dutch
Primarily Uses
RMVXA
@casper667
Is there any way to add profession exp by using scripts instead of plugin commands?
Would love to see a list of available script commands.
 

Xina

Villager
Member
Joined
Feb 23, 2019
Messages
23
Reaction score
3
First Language
English
Primarily Uses
RMVX
I'm using your Toast plugin but I frequently use random numbers for items received. Is there a way to reference a variable in a toast popup?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Who knew a adding menu commands would be so hard for something that should be a basic feature.
When you discover great tileset resources that you completely forgot that you had. :kaomad3::kaopride:
Just got a better look at the MZ RTP. I'm very happy with it, especially the sci-fi tiles and sprites. Glad I pre-ordered.
I've just checked the VisuStella Plugins for MZ and there are already 11 plugins. The Yanfly team(perhaps a big one?) really works so effectively and efficiently that some MZ users can likely use tons of Yanfly plugins right after MZ's released (still 13 days from now). I wonder if any other plugin developer(or team) will try to compete with Yanfly this time, no matter how slim the chance to win is :)
Hello! :kaopride:I am new to RPG Maker, though I have been lurking the forums for a while. :kaoswt: Hope to make some friends and learn some stuff here! :kaothx:

Forum statistics

Threads
100,596
Messages
977,603
Members
132,198
Latest member
Glasty
Top