[MZ] Prohibited Encounters

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

License: Free for personal or commercial use.

Context: The player enters the battle after moving a number of steps on the game map. Although quite functional, this is a static and uninteresting model of forcing the player to fight.

Description: This script allows you to add a little unpredictability to determine when the player will or will not enter a battle. At the same time, it gives the player the possibility to act strategically to enter or avoid the fight. it also allows the developer to temporarily turn off combat and reactivate it whenever he wishes.

Script configuration: you will need to determine the number of database changes that will indicate whether battle encounters are enabled or disabled.

To activate or deactivate meetings, use the plugin command: ON / OFF encounters.

Steps to determine the encounters.

An encounter is the moment when the player is taken into battle against a creature on another screen (battle screen). The encounter takes place after the player moves around the map a predetermined number of steps. This number of steps is determined in the map settings:

In the example above, the encounter will take place from the moment the player moves 10 times on the map.

Modifying the moments of encounter

This script allows the encounter to have a chance to happen after the player takes the number of steps determined in the map settings. This means that after traveling 10 times (for example) the event will not necessarily happen, instead it may or may not occur according to a percentage value.

For example: There is an 80% chance that the player will engage in combat after moving 10 steps. After the player moves 10 times, a function generates a random value (as if it were a roll of a dice with 100 faces) and compares it with the player's chance to enter combat. If the randomly generated value is less than or equal to the player's chance of entering combat, the encounter takes place. However, if the randomly generated value is greater than the player's chance to enter combat, the encounter does not take place. When the encounter does not take place, the number of steps for a new encounters reset.

Chance of a character entering combat

Each character in the database has a chance to engage in combat or not. By default, this chance is 100%, that is, he will always go into combat according to the normal settings of the RPG MAKER MZ.

The developer can change the chance of a character entering combat with the tag:

percent>

percent is the percentage value (from 0 to 100) that expresses the character's chance to enter combat. Example:

Chance of player entering combat

The percentage value that determines the player's chance to enter combat or not is equivalent to the simple average of the chances of the characters that are part of the group. This means that all the characters that make up the group influence the chance of the encounter happening or not.

Modifying a character's chance to meet

(1) It is possible to modify a character's chance of encounter. To do this, use the Increase / Decrease Rate plugin commands.

(2) Another way to modify a character's chance of meeting is through a status. In this case, it is necessary to set the status to call a common event which in turn calls the plugin command:

(3) It is still possible to have an item consumed to increase or decrease a character's chance of encounter.

Outros comandos de plugin

% actor into battle :assigns a character's chance of finding a database variable.

% party into battle: assigns the chance of encounter the group of characters to a variable in the database.

Conteúdo Extra:

One of the things that has always bothered me about RPG MAKER is that the player can avoid going into combat simply by standing in the same place. Since combats are only activated after the player moves a certain number of times, standing still is a strategy that never made much sense in my opinion.

To prevent this from happening, the POG_ProhibitedEncounters script has a function that makes the encounter can be activated after a certain time. This means that even if the player remains still, after a certain period of time he will still be at risk of going into battle.

Plugin configuration:

In the plugin settings, set the time (in seconds) that "equals" a player's movement. Thus, even if the player remains stationary every time that this period of time has passed, the RPG MAKER will reduce by 1 the necessary number of steps for the player to have an encounter.

The plugin command: change time allows you to change the encounter time:

Finally, it is possible to activate or deactivate the meeting time using the plugin command:

Platforms
Release date
Developer
TecnoAnalogica
Age rating
Not rated

System requirements for PC

System requirements for Web

Read more...
[MZ] Prohibited Encounters screenshot, image №2568572 - RAWG
Edit the game info
Last Modified: Oct 16, 2020

Where to buy

itch.io