;-------------------- ; MAPS section ; ; Each map in the world (world, city, cave, etc.) needs an entry in this table ; Map 0 is always the main world map. ; ; As of release A77, you may now have 1000 maps (0-999) ; ; Each map needs the following arguments: ; ; arg0 the map ID (0-999) 0 is main world map Link points are via map numbers ; ; arg1 the image file name of the map (a JPG usually, but RLE BMP is OK) ; ; arg2 the OBL file name for the map (which places link point objects on that map ; Note: if a terrain file exists, it must share the same name, so do NOT ; put an extension on the file name. "iceland" would indicate both ; "iceland.OBL" and "iceland.TER" (and possibly other files as development ; continues. The OBL and TER files are created when you use the map editor. ; You are primarily responsible for generating the image file (JPG). ; This is also the root name of the MIDI music file played when wandering ; That map. (music files should be in the world or root MIDI folder) ; ; arg3 The map name. This appears briefly as the user changes maps. ; ; arg4 The Map FLAGS. This is a number, containing several flags, which controls ; specific behaviours of players while on a map. Add together the values ; of each flag you want and then set the map flags to that value. For example, ; if you want both flag 2 and flag 4, then set the map flags to "6" ; ; As of release A77, you can use hexadecimal values for the map flags (start the number with 0x) ; If you don't know what this means, just add the decimal values together for the combo you want ; ; The flag values are: ; ; DECIMAL HEX MEANING, WHEN INCLUDED ; ; 1 0x00000001 // enables pet vs pet battles (but protects players from pets) ; 2 0x00000002 // enables pets to be used against other players or pets (if pkers or no safehaven) ; 4 0x00000004 // enables "no protection from PKer" ; 8 0x00000008 // enables "no PKing allowed here at all" ; 16 0x00000010 // enables "LADDER" reporting. (PK kills on this map are reported to ladder server) ; 32 0x00000020 // enables "show all link names." ; // Normally link names are hidden until after first use of link. ; 64 0x00000040 // disables "Shadows" under heroes (and monsters) on map and in scenes of that map. ; 128 0x00000080 // disables the use of pets (cannot summon them) on this map. ; 256 0x00000100 // disables eavesdropping to and from players on this map. ; // (you can still whisper, shout, etc.) ; 512 0x00000200 // designates the map a GUILD HALL map. (not sure what this means yet...) ; 1024 0x00000400 // Prevents Humans from being able to damage monsters or pets ; 2048 0x00000800 // NO_REWARD. After a fight, no GP, XP or items are found to reward the survivors ; // Pets still get rewarded, coz I am a big softy ; 4096 0x00001000 // NO_HEAL. Heal spells and items provide only 1HP of sustenance. ; 8192 0x00002000 // NO_TICKETS. Tickets won't work here ; 16384 0x00004000 // NO_MINI_MAP. upper right minimap is uninformative here ; 32768 0x00008000 // NO_STUN. the non-buff disease spells will not work here ; // (stun, sleep, paralyze, etc.) ; 65536 0x00010000 // NO_BUFF. the buff/debuff disease spells will not work here. ; 131072 0x00020000 // NO_PKREZ. PKers cannot use resurrection spells on others ; 262144 0x00040000 // MAP_FLAG_HIDE_LINKS. don't show white link boxes on minimap until visited ; 524288 0x00080000 // MAP_FLAG_NO_WAYPOINTS disable automatic waypoint calculations (good for mazes) ; 1048576 0x00100000 // MAP_FLAG_NO_ITEM - No using of items in scene ; ; arg5 The map Sound Theme 0 (none) - 255 (see THEME table for making your own themes) ; If you provide this argument, it picks a sound theme which will be played while the player is walking ; on the map (not inside a scene of that map, though you might want a common theme.) Note that you ; cannot have multiple themes on one map. ; ; FOR EXAMPLE: ; ; arg0 arg1 arg2 arg3 arg4 arg5 ; ID image file OBL/TER/MID root Map Name (seen by player) Map FLAGS Map Theme ; ; 0, wormCave.jpg, wormCave, "Wyrm Cavern", 0, 0 ; 5, town2.jpg, westin, "Westin", 0, 3 ; 6, town3.jpg, stonetree, "Stonetree", 0, 0 0, evergreen.jpg, evergreen, "Evergreen", 131072 1, stonehenge.jpg, stonehenge, "The Rune Ruins", 131072 2, castle1.jpg, castle1, "Macgyver Castle", 8 3, floodedMaze.jpg, floodedMaze, "Maze of Eternity", 131072 4, wormCave.jpg, wormCave, "Wyrm Cavern", 131072 5, town2.jpg, westin, "Westin", 8 6, town3.jpg, stonetree, "Stonetree", 8 7, town5.jpg, shrimpee, "Port Shrimpee", 8 8, grotto.jpg, grotto, "Sea Grotto", 131072 9, rustRock.jpg, rustRock, "Goblin Rock", 131072 10, fireAndIce.jpg, inferno, "Inferno", 131072 11, dungDesert.jpg, roundtree, "Fort Roundtree", 131072 12, town1.jpg, NorthUmbrage, "North Umbrage", 8 13, town7.jpg, springwell, "Springwell", 131072 14, island1.jpg, animalKingdom, "Animal Kingdom", 131072 15, town6.jpg, isleLight, "Isle of Light", 131072 16, arenaTown.jpg, pkarena, "Field of Honor", 22 17, arenaTown.jpg, petarena, "Pokegatchi Arena", 9 ; ; Please leave some blank lines at the end to avoid running into a nasty bug ;