Thanx, now its working, now i have a question, this part makes an error, if i want to have a hallway with a room to the left how to i put it correctly, this is how i tried it the room was map 45
@maps[1,0,3] = 20
@maps[1,1,3] = 107
@maps[1,2,3] = 106
@maps[0,3,3], @maps[1,3,3] = 45, 95
@maps[1,4,3] = 94
@maps[1,5,3] = 18
ITACHI:
its kinda complicated, it took me awhile to finally know how to plug the maps,
think of ur maps as blocks
OOO 123
OOO 456
OOO 789
^imagine those are blocks of maps of the size 20x15 and the map numbers are the ones to the right
you have 3 lines and 3 columns
in the first line where all the @maps begin youre gonna configure the first line of maps, whic connects to the sides and to north and south with the other maps, meaning that 1 connects only with map 2 and map 4
1rst line example:
@maps[0,0,0], @maps[1,0,0], @maps[2,0,0] = 1, 2, 3
in the numbers of the @maps[] u put X,Y and Z which is the # of the map connection, the first number is 0, not 1, and after the = is the ID of the maps ure joining in the order that u put in the @maps
the second line: Y changes because its the second line, the first number is 0 so the second is 1 and all the Y numbers become 1
@maps[0,1,0], @maps[1,1,0], @maps[2,1,0] = 4, 5, 6
and in the third line you must change the 1 to 2
@maps[0,2,0], @maps[1,2,0], @maps[2,2,0] = 7, 8, 9
and u configured the map's order then we go with the sizes, where u put the sizes of all the maps
in the line that looks like this:
# Create map size arrays
sm, long, large = [20, 15], [20, 30], [40, 15]
You configure the sizes, with their names, meaning that sm is = to 20x15, long is 40x15 and large is 20x30, take in mind that the maps must FIT so its important for this configuracion to be multiples.
in this case we have only small maps, to make it easier
so the next lines would read:
@sizes[0,0,0], @sizes[1,0,0], @sizes[2,0,0] = sm, sm, sm
@sizes[0,0,0], @sizes[1,0,0], @sizes[2,0,0] = sm, sm, sm
@sizes[0,0,0], @sizes[1,0,0], @sizes[2,0,0] = sm, sm, sm
where u specify the location of each map again and you put the size of the map
in case you use another size of the map:
lets say the map in the upper left corner is large: meaning that occupies 2 spaces:
@maps[0,0,0], @maps[1,0,0], @maps[2,0,0] = 1, 1, 3
@maps[0,1,0], @maps[1,1,0], @maps[2,1,0] = 4, 5, 6
@maps[0,2,0], @maps[1,2,0], @maps[2,2,0] = 7, 8, 9
there u specifie that the first and second blocks are occupied by map 1
then in the size part
u dont repeat the map again, u just put the first block 0,0,0 and the 3rd 2,0,0 specifying that the map of first block is large, and the script will know that it takes two blocks
@sizes[0,0,0], @sizes[2,0,0] = large, sm
@sizes[0,0,0], @sizes[1,0,0], @sizes[2,0,0] = sm, sm, sm
@sizes[0,0,0], @sizes[1,0,0], @sizes[2,0,0] = sm, sm, sm
And now if u want to join another set of maps, then u use Z
@maps[0,0,0], @maps[1,0,0], @maps[2,0,0] = 1, 1, 3
@maps[0,1,0], @maps[1,1,0], @maps[2,1,0] = 4, 5, 6
@maps[0,2,0], @maps[1,2,0], @maps[2,2,0] = 7, 8, 9
@maps[0,0,1], @maps[1,0,1], @maps[2,0,1] = 1, 1, 3
@maps[0,1,1], @maps[1,1,1], @maps[2,1,1] = 4, 5, 6
@maps[0,2,1], @maps[1,2,1], @maps[2,2,1] = 7, 8, 9
the ones with 0 in Z joins with the ones with 0 only and the ones with 1 only with the ones with 1, so u can continuing making different sets of maps just changing the Z
Edit: now it is incompatible to mog's map name, my map name only appears once in the whole game, and never again