Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Oct 2017
Location: Germany
T
stranger
OP Offline
stranger
T
Joined: Oct 2017
Location: Germany
Hi all,

is it possible to transfer stats from one item to an other?
I need to make a script that will put all stats from a item e.g. mage robe and put it to an other armor pice same class.
The item thats the reciever is normaly without stats. A new crafted robe maybe.

Thx
Thalon

Last edited by ThalonMook; 30/10/17 05:56 PM.
Joined: Oct 2017
F
stranger
Offline
stranger
F
Joined: Oct 2017
Hi mate, If I understood your question then the answer should be even easier. To take a stat from another item you just have to edit the stat string from the root template manager.
The root template manager should be open at the start of the divinity engine, otherwise you can just run it from the toolbar above, is one of the buttons on the left side.
With the root template manager up and running just click on the icon "open" at the top and it will load all the datas from the main game. Look for the item you want to change the "stats" from and on the property panel just scroll down till you find the string "stats", just edit it clicking on the "..." and select the "stats" you want to use.
if you struggle by following this little tip, when I get back home from work, in the evening, I will add screenshots as well, obviously if nobody comes first assisting you in the proper way :P


Fausto
Joined: Oct 2017
Location: Germany
T
stranger
OP Offline
stranger
T
Joined: Oct 2017
Location: Germany
Hi,

thx for your fast response.
I know how to change atributes with the editor.
But I want to change the item in game via crafting.
So I want to make a script where I can put the stats from one part to an other by using e.g. an anvil + source orb + scraps cloth + the old armor part. To geht the new one with the stats from old one.

Cu
Thalon

Last edited by ThalonMook; 31/10/17 09:18 AM.
Joined: Oct 2017
F
stranger
Offline
stranger
F
Joined: Oct 2017
I misunderstood your question then, well I'm curious about the answer too, so I keep watching the topic :)


Fausto
Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
You can use http://docs.larian.game/Osiris/API/Transform to transform an item from into another root template, optionally replacing the stats with those of the target root template. You cannot only replace the stats.


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