Main Menu
  • Welcome to The RPG Maker Resource Kit.

Changing Troops Depending on Map Regions

Started by TMS, December 19, 2009, 04:19:10 PM

0 Members and 1 Guest are viewing this topic.

TMS

Hello. I am making a game with a world map, but would like the player to encounter different troops depending on what area of the map they are in. Is there any way to use events to change the troops encountered on a map?

modern algebra

I'm sure there's probably a script out there that creates areas, but no way through eventing alone I don't think, other than making several copies of the same map and transferring the player through each area without fade.

Kokowam

1) This isn't an RMXP Troubleshooting related problem. This part of the forums are for actual technical aspects. That's what troubleshooting is usually for. That applies here, too.

2) You'll need to use tileset terrain tags. Set the encounter areas to specific numbers for a map. Set a variable to the hero's terrain tag. Then run conditional branches to create encounters. I don't seem to see a "set map's encounters to" thing so you'll need to make small maps that have only certain encounters.

If you REALLY need some big map or something, you'll need to use random integers for every step you take so that it calculates whether or not you ran into a battle. Then, you use conditional branches to check what terrain tag you're on and give the proper battles.

Much props to one guy (I forgot who) who said terrain tags could be used. You could allow for more customization, but that takes more variables (like different rate of encounter in different areas). I used comments to separate conditional branches, but I didn't explain everything. Hopefully you can learn from this. If you can't learn, hopefully you can at least emulate. If you can't, this kind of system isn't for you :P Learn events a bit more (if ya need).

modern algebra

Yeah, terrain tags are a good idea if you wanted to event it. Also, apparently there is a script and I wrote it :P I haven't used RMXP for a looong time ;9

http://rmrk.net/index.php/topic,17124.0.html


I like moo's suggestion though - eventing will give you a lot more control.

TMS

Thank you both for the replies. I'll check out both methods.

DarkGamer

Well, the easier way is to create Areas in the maps adding the creatures that you want to appear there. I guess it is the easy way so far.
My Puzzle/StandAlone game in a week:
[spoiler]Link to topic: http://rmrk.net/index.php/topic,34230.0.html
Link to Download: http://www.megaupload.com/?d=CH8FFWIE[/spoiler]


Grafikal