How to do random battles?

Hi again! I successfully created lots of maps,rooms and all, but i need help again ;-;


I want to make random battles in a map. BUT only in an specific area. But i hate when you walk 2 tiles and there's a battle. I want a battle after 15 tiles at least and i want to do a loot system. So, when you kill the enemies, you can loot them. This will make the game a lot fun and even help my "scary castle" map. How do i do this?
You will need to go into the Map Properties and select which troops to appear and assign them to a region. Then, use the Region Tool to place where those random encounters occur (For example, setting a troop to 1 will require you to place the 1 Region where you want the encounters to happen)

Spoiler
top.png




Spoiler
kek.png
For that, you will want to start learning how to use Map Properties and Regions. You can designate how many steps (on average) it takes before running into a monster. If you right-click on your map name and then click on "Map Properties" there is a number on the bottom left called "Steps Average" That is where you can change it how many steps. Also located in Map Properties is a Troops list. This is where you want to place all your troops that you will fight on that specific map. 


This is where Regions can come into play. Double click on a blank space under Troops and another window will pop up. If you do not have any Regions on your map, that is fine, all troops will be able to attack you on that whole map. This is where you can use Weight. The higher the weight, the more frequently you will encounter that specific enemy. You can search for tutorials for more in depth on that. Back to Regions: if you place regions all over your map, you can then decide what troops go to what regions by clicking "Specify by Region ID". You can also adjust the Weight when you use Regions.


To apply Regions to your map, go to your map editor screen. Top of the screen you should see the word "Game" and right below that you will have three symbols. Hover over them and you should see "Map(F5)", "Event(F6)", and "Region(F7)". Click on the Region button. Now on the left you should have a coloured grid with numbers from a blank one in the top left corner and then 1-63. You can now click on a region an then click on your map (like you are placing tiles) to add it. The blank Region just deletes the coloured Regions.


I think that is about the basic intro into Regions. Look up tutorials for more in depth stuff especially on "Weight" because I'm not 100% on that. I can't help you on a loot system unfortunately because I'm just using the basic Enemy Drop system.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-do-random-battles.59533/