Encounter Bar Script for (RPG Maker XP) Request. *Edited*

Good day.
I'm in need with encounter bar script because when I set random encounter and average step such as; 30 steps before battle processing. It is not 30 steps. Sometime it's only 2 step then battle which is very annoying.

So, is there any script that shows encounter bar? When the bar is full, it will transfer to battle process.
The "30" you have set acts as an average. You should be able to accomplish what you desire with this:


" Encounter Rate Minimum: Players are now given a minimum number of steps before a random encounter battle. The biggest complaint I've ever seen across so many RPG Maker games is the awful random encounter rate thanks to RPG Maker's horrible formula for it. This will fix the problem by putting in a calculation for a minimum number of steps instead of just a 1 to X value. (You can change this in the plugin parameters)"
@Grunwave, sadly that won't work since Nobody-but-guest uses Rpg maker XP not MV.
The "30" you have set acts as an average. You should be able to accomplish what you desire with this:


" Encounter Rate Minimum: Players are now given a minimum number of steps before a random encounter battle. The biggest complaint I've ever seen across so many RPG Maker games is the awful random encounter rate thanks to RPG Maker's horrible formula for it. This will fix the problem by putting in a calculation for a minimum number of steps instead of just a 1 to X value. (You can change this in the plugin parameters)"

First of all, thank you for your responding, @Grunwave. My bad, I didn't mention in thread name that I'm using XP.

Anyway, I will keep your link for MV in the future.
Hey, I found this:
Hey, I found this:

Thank you so much for your reply, @slimmmeiske2. I tried this script but, it doesn't work with SDK script 1.5. Also, I tried to run the script without SDK and it works well but, the thing is the bar is still show in non-encounter map which I don't know how to fix it.

I really appreciate your help, by the way. Thank you!
the bar is still show in non-encounter map
I believe you could try updating this part of the code:
Code:
if $game_system.encounter_disabled || $game_map.encounter_list.empty?
I believe you could try updating this part of the code:
Code:
if $game_system.encounter_disabled || $game_map.encounter_list.empty?

Thank you so much! It worked!

Original thread: https://forums.rpgmakerweb.com/threads/encounter-bar-script-for-rpg-maker-xp-request-edited.132111/