ID:267079
Nov 24 2002, 3:54 am
|
|
I wanted to be able to open a dmp file I just made so I can edit it. Is there any way I can transfer my mob to another dmp file? Then if so could you please show me how?
|
Nov 24 2002, 3:55 am
|
|
Each DMP file winds up adding to another Z level, so..yeah.
|
In response to Hanns
|
|
Hanns wrote:
Each DMP file winds up adding to another Z level, so..yeah.Im confused do you mean if I have a new map then if I goto world.z=2 it will be that other map?[EDIT] I see what you mean now hanns when I made my world.z=2 it showed up another map but there is a problem. when I made my max x and y only = 10 while my first loaded map = 100 there were black blank turfs all around it. Do you know how to fix this? and maybe open the map file with a file name instead of a z num. |
In response to Green Lime
|
|
There is no way to "fix" resizing of maps. When you create a new map, it is automaticly resized to match the dimensions of the largest map. There is no way around this. As for handling maps by name, AbyssDragon made a library that does this called MapName.
~X |
In response to Xooxer
|
|
Hmmmmm This angers me that you cant do it. hmmm maybe if I // comment out all other maps in the .dme file and just leave the one I enter in the input(). Then reboot() the world and it loads the only map file that is included in the dme file.
Or I could set up a tag system that opens the filename that is helled by the obj. and then just open the z level that has the obj. Hmm What would you prefer? |
In response to Green Lime
|
|
Green Lime wrote:
Hmmmmm This angers me that you cant do it. hmmm maybe if I // comment out all other maps in the .dme file and just leave the one I enter in the input(). Then reboot() the world and it loads the only map file that is included in the dme file. I'm sure that would keep your 10x10 map at 10x10, but you wouldn't be able to add that kind of functionality to a game without giving people access to the code. Or I could set up a tag system that opens the filename that is helled by the obj. and then just open the z level that has the obj. Hmm I don't think objects can damn filenames, but who knows, it's a crazy universe.... What would you prefer? I prefer using multiple maps, and simply switching z leves when needed. If you're really concerned about it, though, you could try utilizing maps more effectively. You don't need to make the world as big as the map file, you know. Unused space can be used for other pieces of the world. ~X |
In response to Xooxer
|
|
Hmm I been thinking and I think heres what Im going to do.
Un include all my map files so it doesnt load any. Then when I click open file. It allowes you to select a map file. Then after selecting one it will be auto written to a dm file #include filename filename is a var of the file you selected. Then to end it it moves you to 1,1,1 or the map you just included and loaded. What you think? |