Save-Point
Extended Random Encounters - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Extended Random Encounters (/thread-140.html)



Extended Random Encounters - Kread-EX - 06-14-2010

Extended Random Encounters

Version: 1.0 Initial release

Author: Kread-EX

Release Date: 14/06/2010


Introduction
For the random encounters lovers out there (bleh), here is a simple script to make them slightly more interesting. First, a colorful circle to know when the fight will start. More red the circle is, closer the battle is. Secondly, a Gust-ish system to allow a maximum number of battles for each area.

Instructions
By default, the maximum number of battles are 10. For all the game. Of course, you want to change this. There are two ways:
1. In the map name, put this: #EC[number]. The number represent the maximum allowed random encounters for an area. It is set until you change it, without another map for instance.
2. With a Call Script command: $game_system.set_encounter_ratio(number).
The most efficient way is to set a number for an entire area via map name.

You can hide the circle with this command: $game_system.display_encounter_dot = false.

Script
Just here.
Don't forget to import the pictures.

Compatibility
I don't foresee any compatibility problems, except the usual SDK one.

Terms and Conditions
You are free to adapt this work to suit your needs.
You can use it for both non-commercial and commercial purposes. Credit is appreciated.


Extended Random Encounters - Ace - 06-14-2010

Amazing, I'm a big fan of random encounters but sadly my friends don't like them very much :/
Nevertheless great work^^


Extended Random Encounters - Kread-EX - 06-15-2010

Lol, I hate random encounters. I still don't know why I wrote this script. Glad you like it anyway.


Extended Random Encounters - Mzale - 06-16-2010

Interesting... If I open the menu I get a NoMethodError on line 89, undifined method 'dispose' for nil:NilClass... I can't find what's wrong so I'm asking for help with that ._.


Extended Random Encounters - Kread-EX - 06-17-2010

The menu ? What menu ?


Extended Random Encounters - Mzale - 06-17-2010

The menu in-game... You know...


Extended Random Encounters - Kread-EX - 06-17-2010

I found a small bug so I fixed it. It doesn't have anything to do with the main menu, but the spriteset, so maybe your issue is resolved.