Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#548920 30/08/14 03:22 AM
Joined: Aug 2014
P
Platuni Offline OP
stranger
OP Offline
stranger
P
Joined: Aug 2014
Here we go with yet another question! opa
Asking as I hope to avoid 4 hrs trying to figure out this problem.

This is the problem, i've created custom stats for some boots.
If I simply place the boots then assign the stats, everything works fine. I'm able to equip them and they are visible on the Player character.

However, if I go ahead and create a new item from the selected boots and assign the stats then placing them, they turn invisible when I equip them!

Any ideas what's causing this? I've tried with several different armor pieces, same result.

edit - Also, does anybody know how to make a character equip armor? this work wonders for Players, but when I try the same lines for a npc.. (Placed the helmet next to the npc to see if anything happened at all).

IF
GlobalEventSet("EquipPlayer")
AND
ItemGetHandle(ITEM_HadrianHelmet, _Handle)
THEN
CharacterEquipItemhandle(CHARACTER_L1_Hadrian, _Handle);

The helm disappears so the npc does react to the script.
What I assume is that the helm turns invisible when equipped!

Last edited by Platuni; 30/08/14 03:40 AM.
Platuni #548959 30/08/14 08:25 AM
Joined: Aug 2014
W
stranger
Offline
stranger
W
Joined: Aug 2014
Did you link the item to the GUID number in the link/ .txt file? If not the game doesn't know what model to use and it will be invisible.

Platuni #549111 30/08/14 11:23 PM
Joined: Aug 2014
P
Platuni Offline OP
stranger
OP Offline
stranger
P
Joined: Aug 2014
Sorry the late reply!
Of course I have.

I found a workaround tho, instead of simply adding the template of the equipment to the player (Which makes the equipment invisible when equipped), I have to create each item individually as Global, then use the ItemtoCharacter Command.

As for the npcs, this does not work for them..
Has anyone ever managed to equip a npc with an armor piece?

Platuni #549180 31/08/14 06:57 AM
Joined: Apr 2013
N
addict
Offline
addict
N
Joined: Apr 2013
Which NPC are you trying to equip with which armor piece?


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