Can't add item to creature inventory with weidu
Drexxik
Member Posts: 18
in BG:EE Mods
Hello, I've made a tiny mod that adds a custom item to the game. Specifically it's a weapon that should appear in Greywolf's inventory. The item exists because i can summon it via console but Greywolf refuses to drop it when killed.
The code is : //Part 3 (add item to Greywolf)
COPY_EXISTING ~GREYWO.cre~ ~override/GREYWO.cre~
ADD_CRE_ITEM ~sper055.itm~ #0 #0 #0 ~IDENTIFIED~ ~inv5~
I can't find my error anywhere and Weidu installs the mod without any problems. As I said the item gets created but it's not where it's supposed to be.
P.S. Could it be that i just loaded a savegame not a new game? Also Weidu copies the files to override in game directory while the original override file is in documents so which one is the correct one.
Thanks in advance.
The code is : //Part 3 (add item to Greywolf)
COPY_EXISTING ~GREYWO.cre~ ~override/GREYWO.cre~
ADD_CRE_ITEM ~sper055.itm~ #0 #0 #0 ~IDENTIFIED~ ~inv5~
I can't find my error anywhere and Weidu installs the mod without any problems. As I said the item gets created but it's not where it's supposed to be.
P.S. Could it be that i just loaded a savegame not a new game? Also Weidu copies the files to override in game directory while the original override file is in documents so which one is the correct one.
Thanks in advance.
0
Comments
If you are already in the area, it's not going to add it to him, only it will be created when you go to the area the first time. So you can load an earlier savegame (ie autosave from previous area) or you can
C:CreateCreature("GREYWO.cre") to create a new copy of him in whatever area.
I've messed around with modding off and on for years and am still learning everytime I go back to it. You've got to start somewhere, the journey of a thousand miles begins with a single step and all that.
Well we all learn from mistakes ^^