This tutorial is fairly basic and should not take much time.
All that you have to do to connect maps is place one notetag in the notebox of the two maps you’re connecting. <connect map: map_id offset_x offset_y recurse_limit>
I will explain what each term means:
- map_id – the id of the map that you are going to connect to your current map.
- offset_x – where the map is connected relative to the old map (horazontally)
- offset_y – where the map is connected relative to the old map (vertically)
- resurse_limit – how many times the map will repeat itself (optional)
The rest of the tutorial can be found in the header of Connected Maps:
“To connect a map to another, write a note-tag in the map object
<connect map: map_id offset_x offset_y>
<connect map: map_id offset_x offset_y recurse_limit>
The map_id is the ID of the map that you want to the current map.
Offset_x and Offset_y is the position that the new map will be placed.
You can use the letter “w” for offset_x to mean the width of the map.
You can use the letter “h” for offset_y to mean the height of the map.
The recurse_limit is special and will be described later.
— Positioning modes —
There are two types of map connecting modes in this script.
1. Absolute connection.
All offsets are specified relative to the current map, where the
origin is located at (0, 0), the upper-left corner of the current map.
2. Recursive connection.
All offsets are specified relative to the parent map, where the
origin is the position of the upper-left corner of the parent map.
If you are using recursive mode, you can use the recurse limit in the note-tag.
The recurse limit is meant to save you some effort when connecting maps.
For example, suppose you have the following connection between two maps, A
A –> B
B –> A
The recurse limit allows you to specify how many times these connections
should repeat. For example, if recurse limit is 2, then the connection is
allowed to repeat twice
A –> B –> A –> B –> A -> B -> A”
Note that it does say you can’t connect to the left of above, however I modified the script just place a negative value for offset_x of offset_y.