Help - Search - Members - Calendar
Full Version: Law's Encounter Fix
RPG RPG Revolution Forums > Scripting > Script Submissions > RGSS-Submissions
The Law G14
Law’s Encounter Fix

Version 1.1
The Law G14
9/11/09

Introduction
This very small script is more or less a fix to the default rmxp encounter rate. How many people have noticed that when they set the encounter step of the map to something like 30, they’ll encounter monsters after 4 or 5 steps or something bizarre like that? Well, this script fixes that. The default rmxp encounter rate makes it so that the encounter step that you put for the map will be the most amount of steps it’ll take to encounter another monster. The default script gets a random number from 1 to the number you chose plus 1. This script get’s a more reasonable number from the encounter step that you chose. So let’s say that you put in 30, you’ll probably get something around 25 – 35. I did this by using a few conditional branches that center the encounter step around the encounter rate you chose. Maybe their could’ve been a simple formula, but I was to lazy to think up one biggrin.gif


Features
Fixes the default rmxp encounter rate.


Script

Click to view attachment

Compatibility
This script is probably compatible with everything but if you happen to find any problems, please report it to me.

It's even compatible with vx

Installation
Just insert the script above main.


Terms and Conditions
Just give me credit where it is due.

Also, DON’T post this script on other sites unless you ask me first, and I’ll be more than happy to let you.
RzrBladeMontage
Good shit Law! Another sick script! biggrin.gif
The Law G14
Thanks, Balde biggrin.gif

If you find any problems, please tell me biggrin.gif
carnie_natas
Your the Bomb! a Nuke probably smile.gif
The Law G14
lol, thanks man, glad to find people using my scripts smile.gif
The Law G14
UPDATE TO VERSION 1.1

Yup, you read it correctly, the script is now at version 1.1. I made it so that the script is 100% accurate. It finds a number between the encounter rate minus half of it and the enounter rate plus half of it. Then, the script checks to see if the encounter rate is ten more or ten less the then encounter rate so that it can bring the script in even closer to the actual encounter rate you chose while still having variation.

Hope you guys like the new verion smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.