I know this seems like an absolutely ABSURD question, but I would like to be able to have 100,000,000 turfs and like the idea of a 100 x 100 map where each turf represents another 100 x 100 map. Having 10,000 map files is ridiculous, however. I was wondering, since the turf items are all going to be one of only several types, and since I am not going to manually place anything on any of the maps, is there a way to only have one 100 x 100 "uber" map, and have some code that generates each of the 10,000, 100 x 100 "mini" maps at either compile-time, or, if that is too much on resources, only when each map is required at run-time.
I was thinking of saving the map information for the 100,000,000 square map in one file, and all the unique information in a different one.
To sum it all up, here is an example:
This 100,000,000 turf map theoretically consists of plains, hills, mountains, forests, fresh water, coast/beach, ocean, desert, jungle and arctic turfs. These are static and are defined by one million variables inside a "mapname" savefile. Another savefile, which is the dynamic file, contains things like cities, resource locations, dungeons, etc in it. These are handmade, so they would be QUITE fewer in number.
Would it be possible to generate the turf maps from those two savefiles, or is it still too much for byond? Please don't respond simply to ask me what in blazes I want a one-hundred million turf map for.
=$= Big J Money =$=
ID:170248
Feb 28 2005, 11:29 am (Edited on Feb 28 2005, 11:39 am)
|
|
In response to Wizkidd0123
|
|
And you can use my SwapMaps Housing demo for an explanation on how to use it.
|
In response to Dession
|
|
And you can use Lummox's tutorial on SwapMaps to get the 'nitty-gritty': http://alchemisten.serveftp.net/~jimm/digitalbyond/ viewtopic.php?t=26
:) |
In response to digitalmouse
|
|
Thanks a TON guys. I'll post my results in a new thread, a LONG time from now since, at this point, I was only trying to find out if a 'game system' for a project of mine was going to be plausible. Either way, it was going to affect other decisions I am making for the project right now. At least now I've got SwapMaps and the documentation for when I need it.
=$= |
Generate the maps only as needed, and deleted when through with them.