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. | |||
0 | 2 | Integer | itemId |
2 | 1 | Byte | charges left in item |
3 | 1 | Byte | xPos of item on dungeon floor |
4 | 1 | Byte | yPos of item on dungeon floor |
5 | 1 | Byte | item identified status |
6000 | 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. | |||
6002 | 1 | Byte | xPos of element on dungeon floor |
6003 | 1 | Byte | yPos of element on dungeon floor |
6004 | 2 | Integer | index identifying interactive element and type |
6402 | 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. | |||
6403 | 1 | Byte | xPos of icon on dungeon floor |
6404 | 1 | Byte | yPos of icon on dungeon floor |
6405 | 2 | Integer | icon offset |
6803 | 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. | |||
6804 | 1 | Byte | xPos of overlay on dungeon floor |
6805 | 1 | Byte | yPos of overlay on dungeon floor |
6806 | 2 | Integer | overlay offset |
8404 | 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 ]