How to figure out permanent location format from location data
Posted: Fri Dec 08, 2023 9:42 am
I had a script made for adding places as permanent locations, specifically Hazelnut helped me to get a few dungeons set to permanent. I'm attempting to add another dungeon to the script myself as it seems relatively easy to do. I'm just missing one piece of info to make the script work. What does this number correspond to in terms of location data? Is it hex data for the coordinates or something? How do I figure it out?
Example in Quest-Places.txt :
AlcaireCoven, 0xc35a, 0x0001, -1
Example in Hazelnut's script for a dungeon exterior :
"Stonekeep_Ext, 0xC3BA, 1, -1",
Example in Hazelnut's script for a dungeon interior :
"Stonekeep, 0xC3BB, 1, -1",
The dungeon I need this kind of number for is The Prison of Tristynak in Glenpoint. I need the interior as I am planning to teleport the player inside the dungeon in a quest. How do I find it?
//edit//
I think it's called a location key as described in Quest-Places.txt
"-- Location classes for the Places section of a Qbn file.
-- The cataloguer joins #2 and #3 to create a unique internal code,
-- as does the game engine to create a unique location key. The
-- last byte of the sequence (01, 02, 03, 04, etc) indicates a
-- site transfered to by the teleport cheat."
Example in Quest-Places.txt :
AlcaireCoven, 0xc35a, 0x0001, -1
Example in Hazelnut's script for a dungeon exterior :
"Stonekeep_Ext, 0xC3BA, 1, -1",
Example in Hazelnut's script for a dungeon interior :
"Stonekeep, 0xC3BB, 1, -1",
The dungeon I need this kind of number for is The Prison of Tristynak in Glenpoint. I need the interior as I am planning to teleport the player inside the dungeon in a quest. How do I find it?
//edit//
I think it's called a location key as described in Quest-Places.txt
"-- Location classes for the Places section of a Qbn file.
-- The cataloguer joins #2 and #3 to create a unique internal code,
-- as does the game engine to create a unique location key. The
-- last byte of the sequence (01, 02, 03, 04, etc) indicates a
-- site transfered to by the teleport cheat."