
BG1: Your Item Only
#1
Posted 13 September 2008 - 12:06 AM
Unfortunately I cannot, for the life of me, remember how I did it! I've tried looking through my documents but they don't contain anything of the sort.
If this sounds familiar and someone knows how where I got this information from, I'd appreciate it if you could point me in the right direction.
#2
Posted 13 September 2008 - 12:36 AM
Icen
#3
Posted 13 September 2008 - 12:38 AM
What editor are you using? As for making item that can't be used by anyone else than a specific char, it's kinda depends on the char... class, alignment and stat requirements are easy to do, after you know the characters class, alignment and stats....

Deactivated account. The user today is known as The Imp.
#4
Posted 13 September 2008 - 01:16 AM
Heh, don't I feel silly. I could've sworn that I had read an article/tutorial on making an item for your character only through use of something other than stats and class. Mayhap I was mistaken?
EDIT: Now that I think about it, for Xan, that was probably something hard-coded into the game itself, no?
StrRef 10220: ((This blade resists any attempt at using it. Likely it is attuned to its owner and none other can wield it. The hilt bears the name "XAN." ))
Edited by Drifter, 13 September 2008 - 01:28 AM.
#5
Posted 13 September 2008 - 11:26 AM
...found it: Complicated item making from the ground up by Lone Wolf over at the Pocket Plane boards.
Of course, it probably uses a lot of tools from 2004 or so, so it may not be very helpful, but it may be worth a look for inspiration.
The Slithering Menace | Rupert the dye merchant | Lion Warrior kit | Werewarrior kit | The Portable Hole | Sarevok's True Power | High Level ABILITIES
#6
Posted 13 September 2008 - 11:58 AM
You also can include checks into baldur.bcs
IF OR(5) HasItem("PConly",Player2) HasItem("PConly",Player3) HasItem("PConly",Player4) HasItem("PConly",Player5) HasItem("PConly",Player6) THEN RESPONE #100 ActionOverride(Player2,DropItem("PConly",[0.0])) ActionOverride(Player3,DropItem("PConly",[0.0])) ActionOverride(Player4,DropItem("PConly",[0.0])) ActionOverride(Player5,DropItem("PConly",[0.0])) ActionOverride(Player6,DropItem("PConly",[0.0])) END
PS It would better to use HasItemEquipped instead of HasItem, but the former seem to present in BG2 only.
Edited by GeN1e, 13 September 2008 - 12:02 PM.
Retired from modding.
#7
Posted 13 September 2008 - 12:06 PM
By the by, awesome avatar.

GeN1e, seems sound. I'll see if I can't get that to work. My IE coding skills are a bit weak, that won't stop me from trying though.
Thanks.