Jump to content

Just a reminder that the v7.1 still needs the kit.ids fix that's compatible with the ToBEx.


Jarno Mikkola

Recommended Posts

This:

// fixing kit.ids
COPY_EXISTING ~kit.ids~ ~override~
 REPLACE_TEXTUALLY ~.*\bTRUECLASS\b~			  ~0x4000 TRUECLASS~
 REPLACE_TEXTUALLY ~.*\bBERSERKER\b~			  ~0x4001 BERSERKER~
 REPLACE_TEXTUALLY ~.*\bWIZARDSLAYER\b~		   ~0x4002 WIZARDSLAYER~
 REPLACE_TEXTUALLY ~.*\bKENSAI\b~				 ~0x4003 KENSAI~
 REPLACE_TEXTUALLY ~.*\bCAVALIER\b~			   ~0x4004 CAVALIER~
 REPLACE_TEXTUALLY ~.*\bINQUISITOR\b~			 ~0x4005 INQUISITOR~
 REPLACE_TEXTUALLY ~.*\bUNDEADHUNTER\b~		   ~0x4006 UNDEADHUNTER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_ABJURER\b~	 ~0x0040 MAGESCHOOL_ABJURER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_CONJURER\b~	~0x0080 MAGESCHOOL_CONJURER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_DIVINER\b~	 ~0x0100 MAGESCHOOL_DIVINER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_ENCHANTER\b~   ~0x0200 MAGESCHOOL_ENCHANTER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_ILLUSIONIST\b~ ~0x0400 MAGESCHOOL_ILLUSIONIST~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_INVOKER\b~	 ~0x0800 MAGESCHOOL_INVOKER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_NECROMANCER\b~ ~0x1000 MAGESCHOOL_NECROMANCER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_TRANSMUTER\b~  ~0x2000 MAGESCHOOL_TRANSMUTER~
 REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_GENERALIST\b~  ~0x4000 MAGESCHOOL_GENERALIST~
 REPLACE_TEXTUALLY ~.*\bFERALAN\b~				~0x4007 FERALAN~
 REPLACE_TEXTUALLY ~.*\bSTALKER\b~				~0x4008 STALKER~
 REPLACE_TEXTUALLY ~.*\bBEASTMASTER\b~			~0x4009 BEASTMASTER~
 REPLACE_TEXTUALLY ~.*\bASSASIN\b~				~0x400A ASSASIN~
 REPLACE_TEXTUALLY ~.*\bBOUNTYHUNTER\b~		   ~0x400B BOUNTYHUNTER~
 REPLACE_TEXTUALLY ~.*\bSWASHBUCKLER\b~		   ~0x400C SWASHBUCKLER~
 REPLACE_TEXTUALLY ~.*\bBLADE\b~				  ~0x400D BLADE~
 REPLACE_TEXTUALLY ~.*\bJESTER\b~				 ~0x400E JESTER~
 REPLACE_TEXTUALLY ~.*\bSKALD\b~				  ~0x400F SKALD~
 REPLACE_TEXTUALLY ~.*\bGODTALOS\b~			   ~0x4013 GODTALOS~
 REPLACE_TEXTUALLY ~.*\bGODHELM\b~				~0x4014 GODHELM~
 REPLACE_TEXTUALLY ~.*\bGODLATHANDER\b~		   ~0x4015 GODLATHANDER~
 REPLACE_TEXTUALLY ~.*\bTOTEMIC\b~				~0x4010 TOTEMIC~
 REPLACE_TEXTUALLY ~.*\bSHAPESHIFTER\b~		   ~0x4011 SHAPESHIFTER~
 REPLACE_TEXTUALLY ~.*\bBEASTFRIEND\b~			~0x4012 BEASTFRIEND~
 REPLACE_TEXTUALLY ~.*\bBARBARIAN\b~			  ~0x0000 BARBARIAN~
 REPLACE_TEXTUALLY ~.*\bWILDMAGE\b~			   ~0x0000 WILDMAGE~
 BUT_ONLY_IF_IT_CHANGES

APPEND ~kit.ids~ ~0x4000 TRUECLASS~
 UNLESS ~\bTRUECLASS\b~
APPEND ~kit.ids~ ~0x0000 BARBARIAN~
 UNLESS ~\bBARBARIAN\b~
APPEND ~kit.ids~ ~0x0000 WILDMAGE~
 UNLESS ~\bWILDMAGE\b~

Is all bad and should be replaced with just this:

 // fixing kit.ids
APPEND ~kit.ids~ ~0x4000 TRUECLASS~
 UNLESS ~\bTRUECLASS\b~
APPEND ~kit.ids~ ~0x40000000 BARBARIAN~
 UNLESS ~\bBARBARIAN\b~
APPEND ~kit.ids~ ~0x80000000 WILDMAGE~
 UNLESS ~\bWILDMAGE\b~ 

I don't get why in the cheese the code is made so it would be effective twice for Wildmage & Barbarian. It's trying to restore the original function and doing so just breaks things. (other mods that have or will have the corrected solution; BG2 Fixpack, Level1NPCs, Refinements, Aurora, Rogue Rebalance ), yes, I am aware of the fact that this won't work without the ToBEx, but it won't break anything either, as the kits can't be correctly flagged without it.

 

And if you remember the function of those numbers, they are kit item exclusion flags, so there is no possibility in the current version to make a kit exclusive items, say a Berserkers two-handed sword called: "Bloodguts", as one needs to make it usable by both Berserker and the generalist fighter for the Berserker to be able to use it. Not the most optimal solution.

Link to comment

Archived

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

×
×
  • Create New...