Encounter rates?

I have a small question, people have been saying in my videos that random encounters happen too often.

This is true, but I have NO idea how to lower the encounter rate.

To anyone who says "Steps Average" is the solution, you are wrong. Steps Average determines the average amount of steps you take before encounters start occurring on the map. Like, say, whenever you set Steps Average to 30, once you enter said map, it takes you around 30 steps before encounters start happening, it doesn't effect how much fights you are going to face.

Is there any reasonable solution to lowering encounter rates?
it doesn't effect how much fights you are going to face.
..Yes it does. If you don't get into as many battles because the average is higher, then you are affecting how many fights will take place...

the number of steps it takes for a random encounter is defined as

n = $game_map.encounter_step

@encounter_count = rand(n) + rand(n) + 1
Increasing the step count will definitely change the number of random encounters you end up getting.
Steps Average determines the average amount of steps you take before encounters start occurring on the map. Like, say, whenever you set Steps Average to 30, once you enter said map, it takes you around 30 steps before encounters start happening, it doesn't effect how much fights you are going to face.
That's wrong.


If you look at the help file it tells you what Steps Average is

Steps Average


Specifies the frequency of encounters while moving on the map using a value that stands for the average number of steps taken (1 to 999 steps with each step representing traveling over one tile). Use a smaller value if you want to have monsters appear more frequently.
So steps average determines encounter rate.
That being said, the way RPG Maker determines random encounters is flawed. While mathematically it should work out that what you input is indeed the average, it's possible to have an encounter on every single step! But it is also quite easy to change how it works at least. Just change the bit that Zalerinian mentioned. I know in the one game I developed that had random encounters, I believe that I added the step average to the encounter count so that it became the minimum instead of the average. I think I also lowered the randomness a bit, but that has more to do with personal preference.
This is 110% theoretical but if 

@encounter_count = rand(n) + rand(n) + 1

was changed to

@encounter_count = 0

Wouldn't that change the encounter rate to 0 so no random battles occur, so therefore you'd be able to change @encounter_count into whatever number you wanted, or such, so say you wanted it every step set @encounter_count = 1 so each step is a battle?

This is just a theory, but would that be possible, or am I completely wrong and sound foolish?
Here is what I do.

[SIZE=10.5pt]This is fairly simple. The code that determines how many steps until a battle is this:[/SIZE]

[SIZE=10.5pt]In Game_Player[/SIZE]

class Game_Player < Game_Character #-------------------------------------------------------------------------- # * Create Encounter Count #-------------------------------------------------------------------------- def make_encounter_count n = $game_map.encounter_step @encounter_count = rand(n) + rand(n) + 1 endend

[SIZE=10.5pt]There's a couple ways you could change it depending on exactly what you want.[/SIZE]

[SIZE=10.5pt]@encounter_count = rand (n) + rand(n) + 1 + $game_variables[5][/SIZE]

[SIZE=10.5pt]This would simply add the amount in variable 5 to the encounter count. This would increase the average by that amount and ensure that many steps have been taken before a battle.[/SIZE]

@encounter_count = rand (n) + rand(n) + 1 + $game_variables[5].max



[SIZE=10.5pt]This would ensure if the determined number of steps is less than the variable amount, it is set to the amount in the variable. This would probably result in a fair number of battles at that minimum amount of steps.[/SIZE]

[SIZE=10.5pt]I've used this in 3 games now, because I give my players the choice between random and on map encounters, and no one has ever complained about the encounter rate.[/SIZE]
(Accidental post 🙁 )

Original thread: https://forums.rpgmakerweb.com/threads/encounter-rates.16955/