Aller au contenu

Photo

baseitems.2da question


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
azaz1234

azaz1234
  • Members
  • 81 messages

i'm tweaking basitems.2da to require a pc to equip wands and rods before use. i'm encountering some peculiar behaviour i can't figure out. i've got rods, staves, and wands all set up to where EquipableSlots is 0x1c030, which should allow the items to be equipped to either hand. in fact, when i pull up the radial menu over one of the items, i do have both possibilities. but for some strange reason, i can't seem to equip rods and wands to the main hand. when i try this expressly using the radial menu, the request is ignored.

 

some examples of what i've observed -

  • equipping longsword allows equipping of wand, staff, or rod to off hand. so far so good.
  • equipping rod alone => must equip to off hand.
  • having equipped longsword in main and mace in off hand, trying to replace longsword w/rod or wand causes rod or wand to be equipped in off hand, request for main hand is ignored.
  • equip staff in main hand, rod in off hand -- ok. but reversing them doesn't work.
  • trying to equip 2 rods or wands or rod+wand results in only 1 being equipped, to the off hand. the other one is dropped back into inventory.

what am i doing wrong ?



#2
SHOVA

SHOVA
  • Members
  • 522 messages

Try adding 2 to the weapon size for it. I ran into a similar issue making spears one handed, it wasn't enough to make the 1c30 in the one slot, the weapon type needed to be change as well.

 

also you can only equip shields and torches in the off hand with nothing in the main hand, that has been a NWN thing since the beginning.



#3
AndrueD

AndrueD
  • Members
  • 134 messages

I wonder if ne1 make wand/rod animaton yet wen equip on toon. Think sum stuff like this already dun. Mayb could use other animaton (like shortsword) until one made that work ok.



#4
azaz1234

azaz1234
  • Members
  • 81 messages

thank you both for your help !

 

it turns out the problem was with baseitems.2da, but not the weapon size. both the WeaponWield and WeaponType columns also needed to be set.



#5
Grymlorde

Grymlorde
  • Members
  • 216 messages

thank you both for your help !

 

it turns out the problem was with baseitems.2da, but not the weapon size. both the WeaponWield and WeaponType columns also needed to be set.

 

But how do you keep the wands & rods from functioning unless equipped? I could never figure that one out.



#6
KMdS!

KMdS!
  • Members
  • 189 messages

You could have the item hooked into the spell hook to check for equipped status and drop out if not equipped.



#7
Shadooow

Shadooow
  • Members
  • 4 465 messages

But how do you keep the wands & rods from functioning unless equipped? I could never figure that one out.

thats automatical, if you make them equippable, engine will not let you use their actives without equipping first


  • Grymlorde aime ceci

#8
Grymlorde

Grymlorde
  • Members
  • 216 messages

thats automatical, if you make them equippable, engine will not let you use their actives without equipping first

 

Tested and verified for PCs. Thanks.

 

Next step is to test henchmen.