Daggerfall Mod:DFRemake/Resource - Location Types

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

These are a list of the predefined location types. Note that the location type is a bit field with the low 4-bits being the basic location type and the high 4-bits any additional flags.

Constant Value Description
DF_LOCTYPE_LARGETOWN 0x00 Light Rose
DF_LOCTYPE_MEDIUMTOWN 0x01 Medium Rose
DF_LOCTYPE_SMALLTOWN 0x02 Medium Rose
DF_LOCTYPE_FARM 0x03 Medium Rose
DF_LOCTYPE_LARGEDUNGEON 0x04 Orange
DF_LOCTYPE_TEMPLE 0x05 Light Blue
DF_LOCTYPE_TAVERN 0x06 Dark Rose
DF_LOCTYPE_MEDIUMDUNGEON 0x07 Dark Orange
DF_LOCTYPE_MANOR 0x08 Light Pink
DF_LOCTYPE_SHRINE 0x09 Dark Blue
DF_LOCTYPE_SMALLDUNGEON 0x0A Medium Red
DF_LOCTYPE_SHACK 0x0B Dark Pink
DF_LOCTYPE_GRAVEYARD 0x0C Red
DF_LOCTYPE_COVEN 0x0D Black
DF_LOCTYPE_SHIP 0x0E Location of the player's ship
Unknown 0x0F Never used
DF_LOCFLAG_HIDESTART 0x80 It is unsure exactly what this flag means, but most of these locations will be hidden when the player starts a new game.
DF_LOCFLAG_SHOWALWAYS 0x20 When this flag is set the location is always shown on the players map. This overrides the DF_LOCFLAG_SHOWSTART flag. Unconfirmed whether this flag value should be 0xA0 instead. The two flags are always combined.

It has been confirmed that these flags and types include everything used in Maps.bsa.