Region Map Connecting

Connect Regions with each other.


Table of Contents


Function of the Setting

The Region Connecting Settings Section includes various Settings to Connect 2 or more Regions and make it act as 1 big Region on the Region Map.

UseRegionConnecting

Use this Setting to enable or disable the Region Connecting Feature on the Region Map. Each Region will only be visible once visited. In the map_metadata.txt and town_map.txt PBS files you should just setup the locations like they are single locations as this Feature handles everything else for you according to the RegionConnections Setting.

Possible Values

  • true = Region Connecting will be used.
  • false = Region Connecting will not be used.

RegionConnections

This Setting may be used to setup the Region Connecting. It does require an additional Region Graphics where the Regions you want to connect are already placed as you want them to. The Region Connecting Setting only converts the Map Position with the given data in this Setting.

Possible Values

It is very likely that you'll be adding more than 1 Region but if that would be the case, then each Region needs to contain the following:

  • Region2 = The Merged Region Graphic name.
    • 0 = The Region ID of the first Region.
      • :beginX => 30 = The Map X Position the Region will start.
      • :endX => 61 = The Map X Postion the Region will end.
      • :beginY => 0 = The Map Y Position the Region will start.
      • :endY => 25 = The Map Y Position the Region will end.
    • 1 = The Region ID of the second Region.

According to this example, the Region with ID 1 will remain on it's normal position and Region with ID 0 will be placed on the right on the same Y position.

Hint

If you connect Regions vertically, then it's recommended to make sure all Regions have the same Width.
If you connect Regions horizontally, then it's recommended to make sure all Regions have the same Height.
If that's not the case then you'll see a black area on the map even though the cursor will be prevented from going there.