Jump to content

Force a multiclass kit to use the proficiencies of the kit.


deratiseur

Recommended Posts

Posted

Hello :beer:

 

I have made a kit for warrior/mage, which it given to the caractere if he has the conditions.

The WEAPPROF.2da line is : 5 5 0 0 0 0 0 0 5 5 0 0 0 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

So the kit is limited to "one handed long swords" and can be grand master, but when the caractere have the kit, he still can put two point on any weapon, as a multiclass (base warrior).

 

Is there a way to force the caractere to use the proficiencies limited by the kit ?

 

 

 

 

Bonus question, for another kit :

the code is this one :

ADD_KIT ~PXLAMEARCANIQUE~
~PXLAMEARCANIQUE		 0		   1		   0		   0		   0		   0		   0		   0~
~PXLAMEARCANIQUE		 5 5 0 0 0 0 0 0 5 5 0 0 0 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
~PXLAMEARCANIQUE		 13	  15	  13	  13	  3	   8~
~PXLAMEARCANIQUE		 1	   0	   0	   0	   0	   0~
~PXLAMEARCANIQUE		 0	   0	   0	   0	   0	   0~
~PXLAMEARCANIQUE		 0	   0	   0	   0	   0	   0~
~PXLAMEARCANIQUE		 1	   0	   0	   1	   0	   0	   0	   0	   0~
~PXLAMEARCANIQUE		 0	   0	   0	   0	   0	   0~
~Derats_kits/Lame/PxLame.2da~
~K_F_E~
~0x10000000	 2~
~Fi0~
~* * HELM19 BAG22 RING06 RING29 CLCK02 BOOT01 AMUL19 BRAC14 BELT06 * * * POTN52,5 POTN04,2 POTN14,5 SW1H33 SW1H27 STAF08~
SAY @91
SAY @91
SAY @92

And this kit can still use all the weapons (i cannot have profiencies in the non-sword but can use them), whereas the CLASWEAP.2DA say it can't. Why ?

Posted
Hello :beer:

 

I have made a kit for warrior/mage, which it given to the caractere if he has the conditions.

The WEAPPROF.2da line is : 5 5 0 0 0 0 0 0 5 5 0 0 0 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

So the kit is limited to "one handed long swords" and can be grand master, but when the caractere have the kit, he still can put two point on any weapon, as a multiclass (base warrior).

 

Is there a way to force the caractere to use the proficiencies limited by the kit ?

The developers might have made multiclass restrictions take priority over kit restrictions to handle gnome illusionist multiclasses. You wouldn't want your fighter/mage to be restricted to using staffs and daggers just because he's a gnome.

 

If this is the case, then your best bet is getting Ascension64 to see if he can alter how the engine handles this, so kit restrictions take priority over multiclass restrictions when the kit is specified as a multiclass kit (in the last column of kitlist.2da). I'm unsure how well multiclass kits are handled by the engine, though - how does it determine at which level to apply effects listed in the CLAB, for instance?

 

Bonus question, for another kit :

the code is this one :

[snip]

And this kit can still use all the weapons (i cannot have profiencies in the non-sword but can use them), whereas the CLASWEAP.2DA say it can't. Why ?

CLASWEAP.2DA is unused in BG2 (and I believe in BG1 it only controls proficiency assignment, not item usability). The only way to make the kit unable to use those weapons is by giving the kit an unusability value that restricts access to them, or by giving the kit a lot of Can't Use Item (opcode 180) effects. It's possible that one of Taimon's hacks maybe sort of fixes the Can't Use Item Type (opcode 181) effect, but you'd need to test that yourself.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...