Maliki's Encounter Rate Options ver 1.4a

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A

Maliki's Encounter Rate Option Menu


ver 1.5





Features: This Plugin allows players the freedom to edit the random encounter rate via the Options Menu up to and including complete removal of random battles.


This is done via percentages.


Developers can edit the upper limits of the encounter rate to allow higher than normal amounts of battles if the player wishes.


Howto: After installing the plugin, you can set the optional rate change in the Plugin Manager.


Otherwise, it's Plug-and-Play.


Plugin Conflicts: There shouldn't be any conflicts with this plugin, however let me know if any are found and I'll try to correct them.


Note that the Encounter-half and Encounter-none effects can still work, although I doubt it would be used if this plugin was also available to the player.


Also note that the Plugin's file name must remain "MalEncounterRateOptions".


Updated: Fix to allow values higher than 100 to be saved and loaded properly.


Updated: Now allows developers to lock the encounter rate and change it for specific areas/situations via script calls!


Updated: Now allows developers to allow encounters to occur even if players are not moving. Amount of time needed to start encounters can vary based on plugin settings.

Updated: Fix to give players reprieve from random encounters starting immediately upon finishing a previous battle. Players must now take 1 step to start the no-step timer.

Permissions: This plugin can be used in any project, commercial or otherwise, as long as credit is given.


Download: http://pastebin.com/3gdrB6ri
 
Last edited:

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A
Updated to version 1.2.


Added option to choose offset value.


Also cleaned up code a bit and aliased where possible.
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A
Updated to version 1.3.


Added ability for devs to lock/unlock the rate, keeping the player from changing it.


Also, devs can set the rate to whatever they want via script call to allow higher encounter rates in specific areas or via item use, etc.
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A
Updated to version 1.4.

Added ability to allow players to have random encounters even while standing still.
The time between encounters can be reduced by increasing the EncounterSpeed param.
 

Solis

Veteran
Veteran
Joined
Oct 24, 2015
Messages
367
Reaction score
84
First Language
English
Anyway to increase the rate in which something spawns based on player level?
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A
Anyway to increase the rate in which something spawns based on player level?
I made a tiny update to ver 1.4a.
The $gameSystem.setEncounterRate(); Script call can now accept evals.

What this means is you can make a parallel common event which runs this script call:

$gameSystem.setEncounterRate(100 + ($gameParty.averageLevel() * 10));

and it will take the party's average level, multiply it by 10, then add that number to 100!
You can also use variables or any other script call that would return a number.
(The variable call would be $gameVariables.value(x); for those that don't know.)
(Just note that you might want to lock the rate so that the player can't change the number on their own.)
 

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
79
Reaction score
9
First Language
English
I like this script, I would only use it to force the player to choose between like 15%, 25% and 50%. or for example: Light, Average, Condensed but in percentage form.

How would anyone else here use this script!?!? :ahappy:
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A
I like this script, I would only use it to force the player to choose between like 15%, 25% and 50%. or for example: Light, Average, Condensed but in percentage form.

How would anyone else here use this script!?!? :ahappy:
I tried to set it up so that devs could decide that.
One example could be an item/skill that increases encounters. A common event can set the rate to double or triple for a time, then reset or unlock the rate to the player.
Also, a zone could be made easily that has a very high encounter rate without having to use an extra region to do it.
Or, if a story event requires a world map or other area to have no encounters for a set time but allow the player to move around freely outside of an event.

There are quite few interesting ways this plugin can be used.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
Working on breaking the limits of RPGMaker! :cool:
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.

Forum statistics

Threads
95,427
Messages
929,082
Members
125,659
Latest member
AphoticAmaranth
Top