Greetings Shadowestien,Shadowestien wrote: ↑Fri Jan 10, 2025 8:46 amHello everyone, I was trying to use the spawn item in order to get the 2cnd orpheus githyanki book for the quest (as I didn't get the book before fighting the githyanki creche I couldn't finish the "discover orpheus mission").
But with the regular spawn item function, I'm just getting a broken githyanki book instead of the 2cnd orpheus book.
Here are the item and template id's:
Item: S_GLO_OrpheusChapter2_4dbaf850-49ff-4e41-adc2-7054e416c960
Template: BOOK_GTY_Book_A_1f4773b1-a218-46d6-ab3e-a5cd13dcc697
I hope someone knows if it's possible to edit the code and use both id's to spawn an item.
BG3 uses a lot of unique quest items that can't be spawned in a cheat table. They can be moved around to your location or camp chest though.
This first code tells your game you've read the Orpheus lore books. I included the "disabled" double-dashes in front of the third book's flag just in case you want to find that one the vanilla way. Delete the dashes if you're fine with cheating them all in instead.
Code: Select all
{$lua}
if syntaxcheck then return end
uuid =
{
"c8fa6c18-6491-48b6-9197-43285a07f9c9",--GLO_OrpheusChapters_State_ReadOrpheusChapter1_
"c382e9a1-c34d-42b2-8eca-ecfdb660e0ac",--GLO_OrpheusChapters_State_ReadOrpheusChapter2_
--"cd913886-8e41-47d2-bba1-fda22b129001"--GLO_OrpheusChapters_State_ReadOrpheusChapter3_
}
[ENABLE]
SetFlagOnPlayer(uuid)
[DISABLE]
UPDATE:
Cheating in quest items is a frequently asked topic for BG3. There are several ways that might be more appropriate depending on your situation. If you want to read the book yourself, you can drop it at your feet:
Code: Select all
{$lua}
if syntaxcheck then return end
--------------------------------------
sourceObject = "4dbaf850-49ff-4e41-adc2-7054e416c960" -- OrpheusChapter2
targetObject = GetHostCharacter()
--------------------------------------
SetArgToString(0,sourceObject)
SetArgToString(1,targetObject)
SetArgToLong(2,0)
SetArgToLong(3,1)
SetArgToLong(4,1)
SetArgToLong(5,1)
SetArgToLong(6,1)
SetArgToLong(7,1)
[ENABLE]
ExecuteCall("TeleportTo")
[DISABLE]
Code: Select all
{$lua}
if syntaxcheck then return end
---------------------------------------
entity = "4dbaf850-49ff-4e41-adc2-7054e416c960" -- OrpheusChapter2
player = GetHostCharacter()
---------------------------------------
SetArgToString(0,entity)
SetArgToString(1,player)
[ENABLE]
ExecuteCall("SendToCampChest")
[DISABLE]
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1