Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: 1.3.0
Made for RPG Maker MZ 1.10.0
REQUIRED: All [CGMZ] Plugins require [CGMZ] Core placed above them in the Plugin Manager.

Quick Start GuideTo get started using this plugin, follow the below steps:

1) Set up your vehicle encounter parameters in the plugin params

2) If enabled, set up each map's encounter list with the vehicle map region set in the plugin params as desired

3) The plugin handles the rest

Map RegionsThis plugin allows you to have a global list of encounters the vehicle can always encounter, as well as specific encounters pulled from the map's encounter list.

To set up the encounters from the map encounter list, you need to set up the vehicle's map region in the plugin parameters, and then when creating encounters in the map encounter list enter that as the first region id. The vehicle will not actually need to be in that region id, it is just how the plugin determines which encounters from the map encounter list belong to that vehicle.

You can use the other 2 region requirement slots to set actual region requirements for your vehicle encounters on the map, if desired.

Plugin CommandsThis plugin does not have any plugin commands.

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_VehicleEncounters.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 1.0.1
  • Documentation update
  • Added Spanish documentation language
  • This plugin no longer crashes if your JSON parameters are invalid
Version 1.0.2
  • Small code optimization
Version 1.1.0
  • Added integration with [CGMZ] Animated Battle Backs
Version 1.2.0
  • Added weights to encounter troops
Version 1.3.0
  • Added option to use encounters from map encounter list

Back to Plugin