The Dink Network

map.dat

September 17th 2008, 01:48 PM
duckdie.gif
Is there a way to link map.dat files to one another?
September 17th 2008, 01:49 PM
dinkdead.gif
What do you mean? Change map in-game?
September 17th 2008, 01:50 PM
duckdie.gif
Yes. Switch maps in order to creat a larger world.

Also is there a way to have multiple users in a single
game.
September 17th 2008, 02:05 PM
dinkdead.gif
Kind of, you can use more than one map but the player will have to change it manually. This has only been done in 1 D-Mod so far, Legend of Tenjin.

There's been recent experiments about two player Dink, see Magical Mayhem and these threads:
http://www.dinknetwork.com/forum.cgi?MID=83152
http://www.dinknetwork.com/forum.cgi?MID=88820
September 17th 2008, 02:14 PM
duckdie.gif
Thanks for the replys Sparrowhawk. I'll look into these.
September 17th 2008, 02:48 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
From the dinkc reference:

load_map
Category: Game Info
Version: 1.08+
Prototype: void load_map(string[49] map_dat, string[49] dink_dat);

load_map loads in a new map file using map_dat and dink_dat. The new map will not be visible until the player changes screens.

It is recommended to run clear_editor_info after load_map, so all editor information is cleared. Therefore, it is also recommended that the player not be able to switch back-and-forth between maps... all of the old barrels and chests would be available to open again.