Re: Reading maps from .map files
Any programming language could probably do it. Afraid I cant help you with the Java thing, I do mine in Basic.
I think you would be working with an array. Read in all of the #neighbor lines as a starting point.
The problem with "areas" is the same problem that we had with DomMap working with terrain. If an area is too large then you have people landing somewhere on the map which might be fantastic all around them, or horrible all around them. Of course some of that is going to happen but you might want to make sure that its not TOO far for a player to reach for something else.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|