Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: Alpha R3
Made for RPG Maker MZ 1.9.0

Added DataSome properties this plugin adds to actors, such as icons or busts, are meant to be used by other plugins. On its own, this plugin does not do anything with these parameters.

Developers can use these properties by calling:
actor.CGMZ_actorUpgradeData('icon');
or
actor.CGMZ_actorUpgradeData('bust');

These properties are also likely to be used throughout [CGMZ] plugins in optional integrations with this plugin.

Stat WeightsTo optimize equipment, the default formula is to just add up every stat point and see which is highest. While this might be decent, a lot of characters may want certain stats more than others. Your healer and and magician may want high magical attack instead of high attack. With Stat Weights, you can weight these stat points to be more valuable for these actors.

How it works is that each stat change of the equipment will be multiplied by that actor's stat weight, and then added together to get a total value for that piece of equipment. For example, if a sword has +10 attack and an actor has a 2x stat weight for attack, those stat points would be counted as 20 for that actor. Another actor may only have a 0.5x stat weight for attack, and the sword would only have a total value of 5 for that actor.

Plugin CommandsThis plugin supports the following plugin commands:
Set Bust - This will change the given actor's bust image

Set Icon - Change an actor's icon property mid game

Set Face - Change an actor's face hp images mid game

Error ReportingThis plugin reports common errors with parameter setup. If it doesn't seem to be working, please open the dev tools by pressing F8 during a playtest, and then selecting the CONSOLE tab at the top of the window that opens. Look for any warning logs which come from CGMZ_ActorUpgrade

Saved GamesThis plugin is fully compatible with saved games. This means you can:

✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.

Filename

The filename for this plugin MUST remain CGMZ_ActorUpgrade.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.


Known Issues

This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.


Compatibility

This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.


Version HistoryVersion AlphaR2
  • Added Set Icon plugin command to change actor icon
  • Added Set Face plugin command to change actor face hp images
  • Added face images by hp percentage for actors
Version AlphaR3
  • Added options for stat values beyond level 99

Back to Plugin