[resolved] combine map

Content and general development discussion, including maps, quests, and server code from the development team.
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

[resolved] combine map

Post by veka » 26 Feb 2009, 18:00

Hi all,

I am looking how to combine the map between them.
but I can not find the solution anywhere.

can you help me?
Last edited by veka on 28 Feb 2009, 17:06, edited 1 time in total.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 26 Feb 2009, 18:16

Can you be more descriptive?
Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 26 Feb 2009, 18:28

so sorry for the way I talk

I created 2 maps.
I would like to know how to make that my character can go from map 1 to map 2.

Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 27 Feb 2009, 14:30

up
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 27 Feb 2009, 14:47

You need to define warps for them. Notice in our server data files, there are _warps.txt files that contain warp statements. You need to have those. We've documented the format for those statements here: http://wiki.themanaworld.org/index.php/ ... ap_Objects.
Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 27 Feb 2009, 17:34

Thank you,

I can modify an existing line.

But I can not create a line.

Do you have an explanation?

OK Line :
021-1.gat,50,43 warp toBazaar -1,3,001-1.gat,44,20

don't OK Line :
021-1.gat,40,43 warp toBazaar -1,3,001-1.gat,51,22
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 27 Feb 2009, 18:19

Note that you need tabs (actual tabs, not just spaces):
021-1.gat,40,43 <tab> warp <tab> toBazaar <tab> -1,3,001-1.gat,51,22
Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 27 Feb 2009, 18:34

User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 27 Feb 2009, 19:01

Is that file being loaded? In out setup, the map configuration file loads npc/_import.txt, which loads npc/(map)/_import.txt, which has the npc: npc/(map)/_warps.txt entry (which is the most important, as it tell the server to parse that file).
Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 27 Feb 2009, 19:11

Yes loading works well.

I can change the first line and it works.

But not the second line that I add
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 27 Feb 2009, 19:16

You have 2 tabs after toVeka. You need one tab.
Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 27 Feb 2009, 19:22

User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 27 Feb 2009, 19:25

You seem to have two tabs after 021-1.gat,40,43, though it seems to work fine for the first line....
Image
veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 12:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka » 27 Feb 2009, 19:29

exact

I corrected all these small problem but does not work better

http://veka-server.dyndns.org/test/images/_warps.txt
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: combine map

Post by Jaxad0127 » 27 Feb 2009, 19:36

Is the destination tile walkable?
Image
Post Reply