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

So dragonbones getting laggy xD
I even removed the fingers armatures.

Have to remake this guy after crashing ( corrupted file).
:rtear:

Although limited to only this shop for room decorations, I like this aspect for previewing items.
So yesterday I got a follower (follow my NSFW art account) who dmed me and said to me :
if you continue to be friends with [name of the artists] which make me uncomfortable I will have to unfollow and I am like :
... do it?
Did I add too many?? Is there such a thing?

Rabbit's Shop I've been reworking. Still some dated graphics but 99% satisfied I think.:kaophew:

Forum statistics

Threads
100,834
Messages
980,075
Members
132,482
Latest member
Smyles85
Top