Few questions about modding a new kit
zupsky
Member Posts: 126
Hi! I'm making my second kit mod, but I have some problems with a few things:
1. Can you change casting levels for non casting classes (I'm making a thief kit that uses spells)?
2. Can you restrict a kit from using certain armor pieces (gauntlets, shields and heavy armors after dualing)?
3. Can you make a kitted charname spawn with an item that cannot be taken off?
1. Can you change casting levels for non casting classes (I'm making a thief kit that uses spells)?
2. Can you restrict a kit from using certain armor pieces (gauntlets, shields and heavy armors after dualing)?
3. Can you make a kitted charname spawn with an item that cannot be taken off?
0
Comments
2. Yes. There are a couple of ways to do this, but the most obvious is to give them to a kit that has the same restrictions. This may not give you what you want, however. You can pay around with usabilities, but that can get tricky if you don't know how to do it. There is an opcode that restricts items. This is probably your best bet. Iirc, it colors the items differently than you would see with usability restrictions, so it might feel "hacky".
3. I think so There is an opcode that lets you create an item in slot. Make the item undroppable and--I think--unmovable, and you have it.
I don't want my Card to use gloves and shields because he/she has to use these cards, so it wouldn't make much sense. I also don't want my kit to wear a heavy armor after dualing to a warrior.
EDIT:
I've resolved first ant third issue, but I still have problems with the second one. I've tried to use 181 opcode can't use item type, but I can't get any results.