MAP
The MAP lump holds general info about every map. The size of the records is stored in BINSIZE.BIN. The number of records equals the number of maps.
Formal Specs[edit]
0 | INT | default map tileset (for layers that don't specify otherwise) |
1 | INT | ambient music (-1 = same as last map, 0 = off, or music_num + 1) |
2 | INT | minimap available (0 = no, 1 = yes) |
3 | INT | save anywhere (0 = no, 1 = yes) |
4 | INT | display map name for (n) ticks (0= don't display) |
5 | INT | map edge mode (0=Crop,1=wrap,2=use default edge tile) |
6 | INT | default edge tile |
7 | INT | autorun Plotscript Trigger |
8 | INT | script argument |
9 | INT | harm-tile damage (or heal) amount, in HP |
10 | INT | harm-tile flash (0=none) |
11 | INT | foot offset. +n = down n pixels. -n = up n pixels |
12 | INT | after-battle Plotscript Trigger |
13 | INT | instead-of-battle Plotscript Trigger |
14 | INT | each-step Plotscript Trigger |
15 | INT | on-keypress Plotscript Trigger |
16 | INT | Hero/npc draw order: 0=Heroes over NPCs |
17 | INT | .N and .D lump loading:
0=load from state file if available |
18 | INT | .T and .P lump loading:
0=load from state file if available |
19 | INT | Bitsets:
0-14 - Layers 1-15 enabled |
20 | INT | RSAV x offset |
21 | INT | RSAV y offset |
22-24 | INT * 3 | Layers 0-2 tilesets: 0=use default, x > 0 = tileset x - 1 |
25 | INT | Number of NPC instances in L lump |
26-30 | INT * 5 | Layers 3-7 tilesets: 0=use default, x > 0 = tileset x - 1 |
31 | INT | Number of map layers drawn below NPCs and heroes, 0 means default to 2 |
32 | INT | Default NPC movement zone |
33 | INT | Default NPC avoidance zone |
34-369 | VSTR(1i+40b=21i) * 16 | Map layer names |
370-377 | INT * 8 | Layers 8-15 tilesets: 0=use default, x > 0 = tileset x - 1 |
378 | INT | Default NPC pathfinding obstruction rules. (can be overridden by individual npcs) 0=Default (same as 1) |
379 | INT | Main menu available (1 = no, 0 = yes) |
ARCHINYM.LMP
. ATTACK.BIN
. BINSIZE.BIN
. BROWSE.TXT
. DEFPAL#.BIN
. DEFPASS.BIN
. distrib.reld
. FIXBITS.BIN
. general.reld
. heroes.reld
. heroform.reld
. LOOKUP1.BIN
. MENUITEM.BIN
. MENUS.BIN
. PALETTES.BIN
. PLOTSCR.LST
. SFXDATA.BIN
. SLICELOOKUP.TXT
. slicetree_#_#.reld
. SONGDATA.BIN
. UICOLORS.BIN
Map Format :
E
. D
. L
. N
. P
. T
. Z
BAM
. DOR
. DOX
. DT0
. DT1
. DT6
. EFS
. FNT
. FOR
. GEN
. HSP
. HSZ
. ITM
. MAP
. MAS
. MN
. MXS
. PAL
. PT0 ... PT8
. RGFX
. SAY
. SHO
. SNG
. STF
. STT
. TAP
. TIL
. TMN
. VEH