ID:135568
 
How does BYOND load up map files? Like if I were to make a map editor what would be the line of code to make it cearch for a map file inside like MAP folder?

Can BYOND even do this? Or is the map editors only loading objects...
The map files are all text. You may open them in any text editor to view the format.

You can prompt the user for a file with the input() proc using "as file".

There is no simple way to load maps at runtime, but Lummox JR's swap maps library can load dmp files.
In response to Shadowdarke
Shadowdarke wrote:
The map files are all text. You may open them in any text editor to view the format.

You can prompt the user for a file with the input() proc using "as file".

There is no simple way to load maps at runtime, but Lummox JR's swap maps library can load dmp files.

Minor erratum: It can't handle .dmp files that use layered turfs via underlays. Not yet, anyway.

Lummox JR