EAthena Map Names
From TheManaWorld
The current map naming scheme used with eAthena is sufficient, but lacking. Map names only roughly describe the order they were conceived in. I propose a new scheme that better describes function and relationship between maps. Note that map names should be restricted to 16 characters (not counting the .gat) to prevent trimming problems.
Format
Format: XXX-Y
Definitions:
- XXX
- Map number
- Y
- Level. Outdoor maps are level 1, indoor have 2, caves have 3+.
This scheme can be used for all current maps and can be easily extended for new maps types as they are added. We might also split the the overworld into terrain types, but this can cause problems with the the other two types because of duplicate numbers.
Mapping with old system
| Old vs new | |
|---|---|
| Old | New |
| new_1-1 | 002-1 |
| new_2-1 | 002-3 |
| new_3-1 | 001-1 |
| new_4-1 | 011-3 |
| new_5-1 | 002-4 |
| new_6-1 | 001-3 |
| new_7-1 | 005-1 |
| new_8-1 | 001-2 |
| new_9-1 | 011-1 |
| new_10-1 | 019-1 |
| new_11-1 | 020-1 |
| new_12-1 | 020-3 |
| new_13-1 | 020-2 |
| new_14-1 | 010-1 |
| new_15-1 | 003-1 |
| new_16-1 | 007-1 |
| new_17-1 | 011-4 |
| new_18-1 | 008-1 |
| new_19-1 | 009-1 |
| new_20-1 | 009-2 |
| new_21-1 | 020-4 |
| new_22-1 | 005-3 |
| new_23-1 | 010-2 |
| new_24-1 | 006-1 |
| new_25-1 | 006-3 |
| new_26-1 | 012-1 |
| new_27-1 | 012-3 |
| new_28-1 | 013-1 |
| new_29-1 | 014-1 |
| new_30-1 | 014-3 |
| new_31-1 | 015-1 |
| new_32-1 | 016-1 |
| new_33-1 | 017-1 |
| new_34-1 | 004-1 |
| new_35-1 | 009-3 |
| new_36-1 | 013-2 |
| new_37-1 | 018-1 |
| new_38-1 | 018-3 |
| new_39-1 | 017-3 |
Comments
After discussion with Fate and Platyna, please use the following naming scheme: XXX-Y-(map|cave|in)[-name]. Where XXX is the unique ID (padded with 0's), Y the level, then the type of map (like you have at the start above) and then optionally a name for clarity. Advantages are convenient ordering, still being able to parse the name for the magic system and allowing for (short) names. --Bjørn 20:40, 6 October 2008 (CEST)
