Jump to content


Photo

armor restriction


  • Please log in to reply
4 replies to this topic

#1 david

david
  • Member
  • 5 posts

Posted 01 July 2003 - 12:37 PM

If anyone knows:...
I've made a thief kit for my NPC designed to be a fighter thief. I want the kit to be unable to use any armor (or maybe just a cloak, haven't decided yet). Appropriate protection is done with the clab file as she levels up. Now for the NPC that is easy enough, I created an invisible and undroppable armor in the appropriate slot. My question is if someone wants to play this kit as PC. I couldn't find anything in clab files for kensai, WS, mage, etc that has an AP spell concerning armor. I know the items that come with game have items as unusable for appropriate kit/class but this doesn't solve problem of imported items not correctly made. I'm trying now to make undisplayable armor item and AP spell (createiteminslot...) for clab file. (Bombing out if at level 1, probably will have to be at level 9). But this does not solve problem if I want to allow kit to wear cloaks, but only cloaks. Is this unsolvable ("hard wired in game") or does anyone happen to have any suggestions. Thanks, David

#2 -Moonfruit-

-Moonfruit-
  • Guest

Posted 01 July 2003 - 01:54 PM

AFAIK item restriction are determined by the unusable field in the kitlist.2da file.

If you were to assign the value 0x00000004 (Kensai), your kit would not be able to wear armor, gauntlets or helms. Just find one that suits your need.

#3 david

david
  • Member
  • 5 posts

Posted 02 July 2003 - 01:38 PM

[QUOTE]If you were to assign the value 0x00000004 (Kensai), your kit would not be able to wear armor, gauntlets or helms. Just find one that suits your need.
[QUOTE]
Gotcha. and still use #4 for thief class. The only class relegated to cloaks only is mage/sorcerer but this would restrict weapons so Kensai is way to go. Thanks, David :D

#4 -Moonfruit-

-Moonfruit-
  • Guest

Posted 02 July 2003 - 02:16 PM

Gotcha. and still use #4 for thief class. The only class relegated to cloaks only is mage/sorcerer but this would restrict weapons so Kensai is way to go.

Wouldn't it work better if you used a Shapeshifter (0x10000000) since they cannot wear armor at all, then the change the weapon restrictions in the two .2da files (WEAPPROF.2DA & CLASWEAP.2DA)?

Just a though... B)

#5 -Ghreyfain-

-Ghreyfain-
  • Guest

Posted 02 July 2003 - 05:18 PM

Bear in mind that the restriction is not just for armour, but for all items.

The good thing is that items that are restricted from a base class (druids, lets say) usually aren't restricted from the druid kits (druids still can't use them though).

But if you do run into an item that a thief and fighter can use, but a kensai can't, you won't be able to use it. Bracers, for instance.