Dink looking for DMOD files
I'm currently working on a DMOD that will need more than one map. Is there any way to change the map file used or change the screens' contents(edit) without using DinkC commands?
The map file you have to change manually as far as I know.
The only way you can chane screens without using DinkC is to walk off the edge! Anything you want to happen will use DinkC.
The only way you can chane screens without using DinkC is to walk off the edge! Anything you want to happen will use DinkC.
From the ever-helpful dinkc.chm file:
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.
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.










