Hi all,
What is the best "Step Average" in large maps???
I think it's annoying when the battle scene appears too much.
Most of my maps dimensions are 40x30. I gave "Step Average" value of 45. Is it good or not?
Thanks a lot...
Moving to General Discussion, as this isn't really a support question or limited to a single maker
Having said that, I think it just depends on how much you want encounters to happen.
Ace is like MV. If you set the encounter steps to 45, it will make an encounter anywhere between 1 and 90 steps.
"between 1"
That's really core of the problem with random encounters...
As for the question, 40x30 isn't too large to be honest. Depending on how the map is made, I'd say 10-20 steps between encounters.
This is a big problem with all RM's. the fact its between 1 and x. If someone sets a 30 step encounter rate it should be between 15 and 45 or 20 and 40 etc... The fact RM can throw 2 battles in 3 steps and than possibly another 90 steps before the next is annoying. There was a script fixing this on Ace and I'm sure XP had one too.
Thanks all of u for ur comments, but what should I do now to fix this problem???
You'll need a plug-in. I know ksjp17 has posted on the forums a fix using Yanfly's system options (for ACE), and I wrote a script that allows you to notetag the map to have a fixed minimum number of steps before any fights (also for ACE). I don't think anyone has fixed this in MV though.
But in general, my step sizes tend to be between 16 and 64 steps for most maps, though if the map is supposed to be really dangerous I might go 6 to 35 or something that generates many, many fights like that. But then again, those dangerous maps are there for grinding anyways, and not required for the plot, so those who hate high encounter rates can just skip them.
It's possible to adjust the default encounter rate calculation by going into the base scripts of the game.
For RPG Maker VX Ace (as per your info), go to the Script Editor and choose "Game_Player". Search for "Create Encounter Count". After "@encounter_count = ", you can put in whatever formula you wish to use. "n" is whatever number you set as the Steps Average in the map settings (For example, I use "n/2 + rand(n)".)
If you're using MV, it's a little trickier to find by yourself. Go to the menu and choose "Game > Open Folder". Once at the project folder, open the "js" folder and open "rpg_objects" in a text editor (like Notepad). Search for "Game_Player.prototype.makeEncounterCount", and put the encounter formula after "this._encounterCount = ".
(Note that MV and VX Ace use different code and thus the code to get a random number is different with each.)
As bgillisp mentioned my method, here it is.
[SIZE=10.5pt]The code that determines how many steps until a battle is this:[/SIZE]
[SIZE=10.5pt]In the default script Game_Player the code which sets the random rate is this:[/SIZE]
[SIZE=10pt]class Game_Player < Game_Character[/SIZE]
[SIZE=10pt] #--------------------------------------------------------------------------[/SIZE]
[SIZE=10pt] # * Create Encounter Count[/SIZE]
[SIZE=10pt] #--------------------------------------------------------------------------[/SIZE]
[SIZE=10pt] def make_encounter_count[/SIZE]
[SIZE=10pt] n = $game_map.encounter_step[/SIZE]
[SIZE=10pt] @encounter_count = rand(n) + rand(n) + 1[/SIZE]
[SIZE=10pt] end[/SIZE]
[SIZE=10pt]end[/SIZE]
[SIZE=10.5pt]There are a couple ways you could change it depending on exactly what you want.[/SIZE]
[SIZE=10pt]@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]
[SIZE=10pt]@encounter_count = [rand(n) + rand(n) + 1, $game_variables[5]].max[/SIZE]
[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 result in a fair number of battles at that minimum amount of steps. This is the one I prefer as it makes it more exact exact and definitely prevents the problem of getting another encounter just a few steps after the first one.[/SIZE]
[SIZE=10.5pt]How exactly that would translate into MV I don't know, but I would have thought that anyone with knowledge of JavaScript who saw the above would be able to do it for you quite simply. [/SIZE]
It took me two years to develop my game and unfortunately MV has been released.
But I'm still using ACE...
Anyway, I will try the code now.