File: T1.rsc
An items is shown as the 'dropped item' icon whenever there is an item somewhere (1st section) that does not have a corresponding icon in the 3rd section of this file.
Interestingly enough, if you remove the icon from the 3rd section, the icon is still visible in the game (but the corresponding item from the 1st section now makes sure the generic 'dropped item' icon is also shown.
If you pick up an item that has a corresponding icon in the 3rd section, the item is removed, the icon is not removed and instead an overlay is added in the 4th section. So in effect, the icon is hidden by the overlay. This all leads me to believe that the actual icons are also specified in the static base map.
If you open or close a door, an overlay is added in the 4th section of this file. Surprisingly, when you re-close a door that was initially closed, a second overlay is added (the 'door open' overlay is still there). Whatever you do to the door after that won't cause any further changes to this file. As a consequence, if you open, close & open a door; save the game and reload. The door is closed again.
Offset | Type | Description | |
---|---|---|---|
From | Length | ||
Items on floor in dungeon sector. 1000 blocks in total, each block 6 bytes in length. | |||
0x0 | 2 | Integer | itemId |
0x2 | 1 | Byte | charges left in item |
0x3 | 1 | Byte | xPos of item on dungeon floor |
0x4 | 1 | Byte | yPos of item on dungeon floor |
0x5 | 1 | Byte | item identified status |
0x1770 | 2 | Integer | total numer of items on floor in this dungeon sector |
Interactive elements in dungeon sector: Traps, secret doors, containers, encounters, etc.. 64 blocks in total, each block 4 bytes in length. | |||
0x1772 | 1 | Byte | xPos of element on dungeon floor |
0x1773 | 1 | Byte | yPos of element on dungeon floor |
0x1774 | 2 | Integer | index identifying interactive element and type |
0x1902 | 1 | Byte | total number of interactive elements in this dungeon sector |
Icons for items initially on dungeon floor in this sector. 64 blocks in total, each block 4 bytes in length. | |||
0x1903 | 1 | Byte | xPos of icon on dungeon floor |
0x1904 | 1 | Byte | yPos of icon on dungeon floor |
0x1905 | 2 | Integer | icon offset |
0x1A93 | 1 | Byte | total number of initial icons in this dungeon sector |
Overlays for initial items picked up from dungeon floor in this sector: opened/closed doors, opened chests, found secret doors, etc.. 190 blocks in total, each block 4 bytes in length. | |||
0x1A94 | 1 | Byte | xPos of overlay on dungeon floor |
0x1A95 | 1 | Byte | yPos of overlay on dungeon floor |
0x1A96 | 2 | Integer | overlay offset |
0x20D4 | 2 | Integer | total numer of overlays for this dungeon sector |
Note: Integer = Unsigned short (16 bit, little endian) Bytes = Signed byte Real = 48 bits/6 byte (Turbo Pascal) Real (a floating point type)
[ Add Comment ]