Rankti wrote: ↑Sun Feb 25, 2024 12:08 pm
Hi!
I'm trying to add the Battered Lute to my inventory but somehow it is not working. I already finished the quest and used it for it but I thought you can keep it but it vanished and I'd like to have it in my collection
I already tried the suggestions posted here
viewtopic.php?p=316646#p316646
but it doesn't work.
Can someone maybe help? That would be great, thank you
EDIT: NVM, I found a solution how to get it after you finish the quest. You simply pickpocket it from Art Cullagh
How to move unique items back to your inventory
This piece of code, far below, will allow you to get back a unique item. Unique items can not be spawned at will, they can only be moved around
once they have been instanciated by the game (during a quest or a scripted event).
This is thus different than "spawning items" where you create new generic objects (items or characters) endlessly.
The game has
unique story items and characters which are based on templates but these have additional properties that makes them unique! There are so much amazing unique NPC and the same goes for Items!
Internally, a Template is referenced by a "UUID" (Universal Unique ID) and each instantiated game object by a unique "GUID" (Game Unique ID?).
Examples of such items are:
Sussur Bloom
. They are generated (and hardcoded) by the game from these two templates "UNI_UND_SussurTreeFlower" and "TimelineTemplate_9c23e119-ace1-4e96-84c9-5496f6495210".
They are only about 8 unique
Sussur Bloom
in the game and they only exist if you have been exposed to them (during a quest, an event or approaching them). They have each a unique
"GUID"
, e.g. "UNI_UND_SussurTreeFlower_3832ff5f-8b25-4a1c-6204-ee55c18f10bb" but are based on one of the templates;
To make it simple: to move a unique item back to your inventory, you must already have it in your "save game" ... somewhere
So, for your Battered Lute, this is the solution:
Assuming that you where already once at the house of healing (where this object can be found)
- The Template UUID is :
"TOOL_GEN_Music_Guitar_Lute_A_8f98a7e7-c773-4b58-9127-5cf79b9206e9"
- The item GUID is:
"S_HAV_AncientFist_ImportantItem_Surgeon_1329c22c-d23a-4d31-96b0-6b734074f1dc"
Move an Item to your inventory
- With Cheat Engine:
Code: Select all
ToInventory( "1329c22c-d23a-4d31-96b0-6b734074f1dc", GetHostCharacter(),1,1)
- With Script extender
Code: Select all
Osi.ToInventory( "1329c22c-d23a-4d31-96b0-6b734074f1dc", GetHostCharacter(),1,1)
I went to the Grand Mausoleum (region where that lute can be found) to test it with success.
You will find more GUID/UUID in my sheets "
GameObjects_Items_Characters.xlsx" or "
GameObjects_Characters_dict.json"
You can differentiate a Template UUID form a Game Object GUID by looking at the
RootFolder
Folder column: for a template, the folder name will contain either "RootTemplates" or "TimelineTemplates".
--------------------
Useful quick links:
- BG3 Cheat tables, based on original Zanzer's work (CT files):
- BG3 Data files search:
- Noway3 - BG3 Data files exports (json, excel, sqlite) Forum link [Link]
- Norbyte - BGE Search Engine [Link]
- blueneuron - BG3 Data Browser Forum link [Link]
- Search in this forum: [Link] <- add your own keywords in this Google's search box