Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Oct 2017
stranger
OP Offline
stranger
Joined: Oct 2017
I made a new trader NPC for my own Skillbooks.
The problem is, that the NPC doesn't have my Skillbooks unless you start a game from scratch, existing saves can't see the Books.

I made sure that the Skillbooks actually work, so the problem is the Trader NPC itself.
Any way to fix this?

Joined: Oct 2016
Z
stranger
Offline
stranger
Z
Joined: Oct 2016
Either the trader doesn't have gold or the trader needs to re-stock.

Before I added a "Trader Gold" item to my trader the skillbooks didn't show up ingame

Last edited by Zreks; 11/10/17 04:15 AM.
Joined: Oct 2017
stranger
OP Offline
stranger
Joined: Oct 2017
omg fantastic, you are awesome! ill test this right away! (any way to like a comment? lol)

Joined: Oct 2017
stranger
OP Offline
stranger
Joined: Oct 2017
good advice i guess, but now the problem is, the trader has gold, but not the skillbooks, no clue what to do there ._.

Joined: May 2017
enthusiast
Offline
enthusiast
Joined: May 2017
My guess is the trader needs to regenerate their traded treasure before your books will show up in an existing save. You can force this with a script, or wait 2 hours in-game, or level up.

I think there's one more method where you get into a fight with the vendor, then flee and bribe them to up their attitude, and that regenerates their trade inventory, but I haven't tried that.

Joined: Oct 2017
stranger
OP Offline
stranger
Joined: Oct 2017
Originally Posted by LaughingLeader
You can force this with a script


How do I do that?
also, the game scripts dont seem to work on my editor, it always just says "Could not find blablabla script" for every single script i want to check

Joined: May 2017
enthusiast
Offline
enthusiast
Joined: May 2017
Did you add your game script to your project, under project settings? You also have to add them to script resources, and add those to a package in the resource editor.

I don't have the story editor open at the moment, but there's a function called something like "GenerateTradeItems" that you can use to force them to rebuild their traded treasure.

Joined: Oct 2017
stranger
OP Offline
stranger
Joined: Oct 2017
Originally Posted by LaughingLeader
Did you add your game script to your project, under project settings?


I dont have any scripts, honestly I have no clue about scripting, is there a chance that you could guide me through this?

Joined: Oct 2017
stranger
OP Offline
stranger
Joined: Oct 2017
Fixed it!
in case anyone in the future has that problem too

Its very important to (only inside the treasure table, not the object file) put a I_ in front of the name
ex. summon_blablabla skillbook would in the treasure table be named I_summon_blablabla

also, not sure if this was also one of the problems, but I did remove everything under "Act part" from it


Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5