Vehicle Restrictions (YEP)

From Yanfly.moe Wiki
Jump to navigation Jump to search


System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Download

Required Plugins

The following plugins are required in order to use this plugin.

Place the following plugins above this plugin located in the Plugin Manager.

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.

Click here if you want to help support Team Yanfly on Patreon.

Introduction

This plugin requires YEP_RegionRestrictions. Make sure this plugin is
located under YEP_RegionRestrictions in the plugin list.

This plugin expands region restrictions (and allowed regions) to vehicles.
On top of that, you can designate specific regions for vehicles to land in.
This way, you can make it so that small boats cannot traverse certain bodies
of water, land in only certain spots, etc. that ships can or vice versa!
Add a bit more variety to the way vehicles are handled for your game!

Notetags

NotetagsMV.png

RPG Maker MV's editor is unable to allow for custom traits/properties that a game dev may wish to associate with a database object, event, map, etc. Notetags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Notetags declared by the related plugin.

Here is a list of Notetag(s) that you may use.

Insert these notetags into the map noteboxes to allow for custom settings
for vehicles on that map only.

Map Noteboxes:

  <Boat Restrict Region: x>
  <Boat Restrict Region: x, x, x>
  <Boat Restrict Region: x to y>
  <Ship Restrict Region: x>
  <Ship Restrict Region: x, x, x>
  <Ship Restrict Region: x to y>
  <Airship Restrict Region: x>
  <Airship Restrict Region: x, x, x>
  <Airship Restrict Region: x to y>
  - These notetags will caused the vehicles to be unable to move past
  region(s) marked with x (to y) unless the player character is given the
  Through ON movement flag. These regions will be combined with the regions
  flagged by the plugin parameters.

  <Boat Allow Region: x>
  <Boat Allow Region: x, x, x>
  <Boat Allow Region: x to y>
  <Ship Allow Region: x>
  <Ship Allow Region: x, x, x>
  <Ship Allow Region: x to y>
  <Airship Allow Region: x>
  <Airship Allow Region: x, x, x>
  <Airship Allow Region: x to y>
  - These notetags will cause the vehicles to be able to move through these
  region(s) marked with x (to y). These regions will be combined with the
  regions flagged by the plugin parameters.

  <Boat Land Region: x>
  <Boat Land Region: x, x, x>
  <Boat Land Region: x to y>
  <Ship Land Region: x>
  <Ship Land Region: x, x, x>
  <Ship Land Region: x to y>
  <Airship Land Region: x>
  <Airship Land Region: x, x, x>
  <Airship Land Region: x to y>
  - These notetags will enforce vehicles to only able to land on region(s)
  marked by x (to y). They cannot land anywhere else. These regions will be
  combined with the regions flagged by the plugin parameters.

Changelog

Version 1.01:
- Updated for RPG Maker MV version 1.5.0.

Version 1.00:
- Finished Plugin!