Jump to content

ADD_KIT and ToBEx


the bigg

Recommended Posts

yep - no *.tp - that's cool.

 

Filter = *.tp2 ; *.tpa ; *.tpp ; *.tp ; *.tph

 

Regexp Search "0[Xx]246" (112 hits in 41 files)

 

 

Out of those, relevant investigations to pursue (need to triple check BGT 111 and totemic_cernd-v2, because I think they are likely false positives) :

D:\ie_mod_extracted_archive\ACBre441\Setup-ACBre.tp2 (5 hits)

Line 161: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 471: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 519: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 613: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 659: WRITE_BYTE 0x246 ~%ACSMITH1%~

D:\ie_mod_extracted_archive\amber-v2.6\Setup-Amber.tp2 (4 hits)

Line 363: WRITE_BYTE 0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %

Line 415: WRITE_BYTE 0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %

Line 467: WRITE_BYTE 0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %

Line 519: WRITE_BYTE 0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %

D:\ie_mod_extracted_archive\ArienaV2.2\Setup-Ariena.tp2 (2 hits)

Line 98: WRITE_BYTE 0x246 ~%PitFighter%~

Line 144: WRITE_BYTE 0x246 ~%PitFighter%~

D:\ie_mod_extracted_archive\ArPatch\Setup-Ariena.tp2 (2 hits)

Line 98: WRITE_BYTE 0x246 ~%PitFighter%~

Line 144: WRITE_BYTE 0x246 ~%PitFighter%~

D:\ie_mod_extracted_archive\Berserker_Minsc\setup-MinscKit.tp2 (3 hits)

Line 45: WRITE_BYTE 0x246 ~%rberserk%~

Line 51: WRITE_BYTE 0x246 ~%rberserk%~

Line 63: WRITE_BYTE 0x246 ~%rberserk%~

D:\ie_mod_extracted_archive\bg1tweaks-v2\bg1tweaks\setup-bg1tweaks.tp2 (1 hits)

Line 3933: WRITE_SHORT 0x246 16384 // change mage type to generalist mage

D:\ie_mod_extracted_archive\BGT111-Install\Setup-BGT.tp2 (2 hits)

Line 5822: WRITE_BYTE 0x246 ~%kit_bit%~ //change to Charming Rogue Kit as per KITLIST.2DA row

Line 5935: WRITE_BYTE 0x246 ~%kit_bit%~ //change to Priest of Sylvanus Kit as per KITLIST.2DA row

D:\ie_mod_extracted_archive\BGTNeJ2_v11\Setup-BGTNeJ2.tp2 (1 hits)

Line 344: WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %

D:\ie_mod_extracted_archive\Breagar-5.13\Setup-ACBre.TP2 (5 hits)

Line 472: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 499: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 518: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 807: WRITE_BYTE 0x246 ~%ACSMITH1%~

Line 859: WRITE_BYTE 0x246 ~%ACSMITH1%~

D:\ie_mod_extracted_archive\Chloev1.5\Chloe\Chloe.tp2 (4 hits)

Line 260: WRITE_BYTE 0x246 ~%YRKENSAI%~

Line 367: WRITE_BYTE 0x246 ~%YRKENSAI%~

Line 426: WRITE_BYTE 0x246 ~%YRKENSAI%~

Line 481: WRITE_BYTE 0x246 ~%YRKENSAI%~

D:\ie_mod_extracted_archive\cliffhistory_v2\cliffhistory\setup-cliffhistory.tp2 (1 hits)

Line 177: WRITE_BYTE 0x246 ~%CLFDBARD%~

D:\ie_mod_extracted_archive\divine_remix-v7\Divine_Remix\lib\macro_spellbook_cyric.tph (1 hits)

Line 5: WRITE_BYTE 0x246 "%A#CYRIC%"

D:\ie_mod_extracted_archive\divine_remix-v7\Divine_Remix\lib\macro_spellbook_ilmater.tph (1 hits)

Line 5: WRITE_BYTE 0x246 "%CDILMATR%"

D:\ie_mod_extracted_archive\divine_remix-v7\Divine_Remix\lib\macro_spellbook_oghma.tph (1 hits)

Line 5: WRITE_BYTE 0x246 "%A#OGMA%"

D:\ie_mod_extracted_archive\divine_remix-v7\Divine_Remix\lib\macro_spellbook_shar.tph (1 hits)

Line 5: WRITE_BYTE 0x246 "%A#SHAR%"

D:\ie_mod_extracted_archive\divine_remix-v7\Divine_Remix\lib\macro_spellbook_tempus.tph (1 hits)

Line 5: WRITE_BYTE 0x246 "%A#TEMP%"

D:\ie_mod_extracted_archive\Horace_v1.71\Setup-Horace.tp2 (1 hits)

Line 131: WRITE_BYTE 0x246 ~%SeifHL%~

D:\ie_mod_extracted_archive\Hubelpot_v1.0beta\Setup-Hubelpot.tp2 (4 hits)

Line 470: WRITE_BYTE 0x246 ~%SC#VDrd%~ // the internal name of your kit, surrounded by %

Line 477: WRITE_BYTE 0x246 ~%SC#VDrd%~ // the internal name of your kit, surrounded by %

Line 691: WRITE_BYTE 0x246 ~%SC#VFar%~ // the internal name of your kit, surrounded by %

Line 698: WRITE_BYTE 0x246 ~%SC#VFar%~ // the internal name of your kit, surrounded by %

D:\ie_mod_extracted_archive\ImprovedAnvil_v5\Setup-ImprovedAnvil.tp2 (1 hits)

Line 10587: WRITE_BYTE 0x246 ~%AURAMASTER%~

D:\ie_mod_extracted_archive\lester_the_npc\Setup-Lester.tp2 (1 hits)

Line 45: WRITE_BYTE 0x246 ~%WOJKUF%~

D:\ie_mod_extracted_archive\LuxleySoA\Setup-LuxleySoA.tp2 (1 hits)

Line 180: WRITE_BYTE 0x246 ~%FHLPLAY%~

D:\ie_mod_extracted_archive\mur'neth\mur'neth.tp2 (1 hits)

Line 214: WRITE_BYTE 0x246 ~%A#GHAUN%~

D:\ie_mod_extracted_archive\nalia_mod\nalia_mod.tp2 (1 hits)

Line 56: WRITE_BYTE 0x246 magetw //swashbuckler

D:\ie_mod_extracted_archive\Neh'taniel\Setup-Neh'taniel.tp2 (5 hits)

Line 110: WRITE_BYTE 0x246 ~%SK#JUDKN%~

Line 519: WRITE_BYTE 0x246 ~%SkyeHL%~

Line 585: WRITE_BYTE 0x246 ~%SkyeHL%~

Line 652: WRITE_BYTE 0x246 ~%SkyeHL%~

Line 808: WRITE_BYTE 0x246 ~%SkyeHL%~

D:\ie_mod_extracted_archive\NeJ2\Setup-NeJ2v691.tp2 (30 hits)

Line 2605: WRITE_BYTE 0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %

Line 2646: WRITE_BYTE 0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %

Line 2687: WRITE_BYTE 0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %

Line 2728: WRITE_BYTE 0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %

Line 2967: WRITE_BYTE 0x246 ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %

Line 2997: WRITE_BYTE 0x246 ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %

Line 3039: WRITE_BYTE 0x246 ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %

Line 5425: WRITE_BYTE 0x246 ~%PRIEST_OF_TEMPUS%~ // the internal name of your kit, surrounded by %

Line 6019: WRITE_BYTE 0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %

Line 6060: WRITE_BYTE 0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %

Line 6104: WRITE_BYTE 0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %

Line 6148: WRITE_BYTE 0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %

Line 6192: WRITE_BYTE 0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %

Line 7587: WRITE_BYTE 0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

Line 7592: WRITE_BYTE 0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

Line 7599: WRITE_BYTE 0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

Line 7604: WRITE_BYTE 0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

Line 7609: WRITE_BYTE 0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

Line 7614: WRITE_BYTE 0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

Line 7751: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 7756: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 7761: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 7766: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 7771: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 7776: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 7794: WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

Line 8074: WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %

Line 8137: WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %

Line 8171: WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %

Line 8205: WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %

D:\ie_mod_extracted_archive\nephele\nephele.tp2 (2 hits)

Line 86: WRITE_BYTE 0x246 ~%lk#neph%~

Line 137: WRITE_BYTE 0x246 ~%lk#neph%~

D:\ie_mod_extracted_archive\Rylorn\Setup-Rylorn.tp2 (1 hits)

Line 642: WRITE_BYTE 0x246 ~%C!Blackg%~

D:\ie_mod_extracted_archive\Severian\Setup-Severian.tp2 (1 hits)

Line 103: WRITE_BYTE 0x246 ~%PISTEUR%~

D:\ie_mod_extracted_archive\song_and_silence-v5\song_and_silence\setup-song_and_silence.tp2 (2 hits)

Line 738: WRITE_BYTE 0x246 %A!ADVENTURER%

Line 744: WRITE_BYTE 0x246 %A!ADVENTURER%

D:\ie_mod_extracted_archive\Star192\Star.tp2 (1 hits)

Line 71: WRITE_BYTE 0x246 ~%StarHL%~

D:\ie_mod_extracted_archive\totemic_cernd-v2\totemiccernd\setup-totemiccernd.tp2 (1 hits)

Line 34: * 0x244,0x245, 0x246, 0x247 (4 bytes = Long (Long Integer) or Dword (Double Word))

D:\ie_mod_extracted_archive\TouchstoneV1.0\touched\Setup-touched.tp2 (2 hits)

Line 432: WRITE_BYTE 0x246 ~%BKTOUCH%~

Line 437: WRITE_BYTE 0x246 ~%BKTOUCH%~

D:\ie_mod_extracted_archive\Turambar_fixes_tweaks\Setup-Turambar_fixes_tweaks.TP2 (9 hits)

Line 2260: WRITE_BYTE 0x246 3 // kensai

Line 2364: WRITE_BYTE 0x246 ~%kit%~ // the internal name of your kit, surrounded by %

Line 2509: WRITE_BYTE 0x246 %kit% // shar

Line 2567: WRITE_BYTE 0x246 %kit% // tempus

Line 2596: WRITE_BYTE 0x246 18 // avenger

Line 2655: WRITE_BYTE 0x246 13 // blade

Line 2733: WRITE_BYTE 0x246 %kit% // bladesinger

Line 2782: WRITE_BYTE 0x246 15 // skald

Line 2807: WRITE_BYTE 0x246 14 // jester

D:\ie_mod_extracted_archive\Yikari_v1.6\Yikari.tp2 (3 hits)

Line 70: //WRITE_BYTE 0x246 ~%SDNPC%~

Line 123: // WRITE_BYTE 0x246 ~%SDNPC%~

Line 176: WRITE_BYTE 0x246 ~%SDNPC%~

 

Uploaded 5.11 MB of code: mod_tpx_checkfiles.rar

 

Sorry about the long filenames in this archive, but it seemed prudent to give you specific locations, so I used a bulk rename utility to prefix everything. They end up looking like this:

 

iecheckfiles^atweaks_v342^aTweaks^LIB^RR#FIEND.TPH

 

[directory structure]^[filename].tph

 

If you want, I can redo the archive with it in this format:

 

2da_action_macro_xpbonus^iecheckfiles^BP_Balancer_v0.33c_beta^BP-Balancer^Lib.tph

 

[filename]^[directory structure].tph

 

whichever is easier for your purposes tracking down where things are. Or, if your penguin-of-choice OS doesn't like the ^ separator, let me know and i can set it up with a friendlier version.

Link to comment

BGT must be fixed, Totemic Cernd no (since it's setting a vanilla kit). Also, you managed to find a mod of mine that must be fixed (nalia_mod). EDIT: nalia_mod now fixed.

 

Your link appears to be broken. I use Windows, so I can freely use ^ in filenames; for the future, might I suggest using ___ (three underscores) as a separator?

Link to comment

Link repaired - and that ___ sounds good, as long as you don't mind the huge filename length (though you can trim it easily enough for your needs). Do you want that done tonight? I'm offline for a few hours, but I can rerun the bulk rename easily enough.

 

Nalia is yours? Damn it - my memory is not what it used to be, that is for sure.

Link to comment
Link repaired - and that ___ sounds good, as long as you don't mind the huge filename length (though you can trim it easily enough for your needs). Do you want that done tonight? I'm offline for a few hours, but I can rerun the bulk rename easily enough.

The current state is enough, thank you.

 

Nalia is yours? Damn it - my memory is not what it used to be, that is for sure.

cough in my sig cough

Link to comment
BGT must be fixed.
Fixed locally.

 

//Compatibility with NeJ: Custom Imoen Kit
ACTION_IF
 NOT FILE_EXISTS_IN_GAME ~CLABCHRG.2DA~
THEN BEGIN ... END
ELSE BEGIN
 COPY_EXISTING ~KITLIST.2DA~ ~override~
COUNT_2DA_ROWS 9 kit_rows
FOR ( i=0;i<%kit_rows%;i+=1 ) BEGIN
  READ_2DA_ENTRY %i% 1 9 kit_name
  PATCH_IF (("%kit_name%" STRING_COMPARE_CASE "CHARMING_ROGUE")= 0) BEGIN
	SET kit_bit = %i%
  END
END
 BUT_ONLY_IF_IT_CHANGES

 COPY_EXISTING ~BGT/Modify/CRE/IMOEN.CRE~ ~BG1CRE~
			~BGT/Modify/CRE/IMOEN1.CRE~ ~BG1CRE~
			~BGT/Modify/CRE/IMOEN2.CRE~ ~BG1CRE~
			~BGT/Modify/CRE/IMOEN4.CRE~ ~BG1CRE~
			~BGT/Modify/CRE/IMOEN61.CRE~ ~BG1CRE~
...
WRITE_SHORT 0x244 0 //unused in KITLIST.2DA designation
WRITE_SHORT 0x246 0x4000 + ~%kit_bit%~ //change to Charming Rogue Kit as per KITLIST.2DA row
END

//Compatibility with NeJ: Custom Jaheira Kit
ACTION_IF
 NOT FILE_EXISTS_IN_GAME ~CLABSYPR.2DA~
THEN BEGIN ... END
ELSE BEGIN
 COPY_EXISTING ~KITLIST.2DA~ ~override~
COUNT_2DA_ROWS 9 kit_rows
FOR ( i=0;i<%kit_rows%;i+=1 ) BEGIN
  READ_2DA_ENTRY %i% 1 9 kit_name
  PATCH_IF (("%kit_name%" STRING_COMPARE_CASE "PRIEST_OF_SYLVANUS")= 0) BEGIN
	SET kit_bit = %i%
  END
END
 BUT_ONLY_IF_IT_CHANGES

 COPY_EXISTING ~BGT/Compat/NeJJahei/JAHEIR.CRE~ ~BG1CRE~
			~BGT/Compat/NeJJahei/JAHEIR2.CRE~ ~BG1CRE~
			~BGT/Compat/NeJJahei/JAHEIR4.CRE~ ~BG1CRE~
			~BGT/Compat/NeJJahei/JAHEIR6.CRE~ ~BG1CRE~
...
WRITE_SHORT 0x244 0 //unused in KITLIST.2DA designation
WRITE_SHORT 0x246 0x4000 + ~%kit_bit%~ //change to Priest of Sylvanus as per KITLIST.2DA row
END

Link to comment

Asc: looks good.

 

Checking for DECOMPILE: after hacking an ad-hoc version of WeiDU, two hours writing a script and another two hours of data crunching (and a final round of manual checking), it appears that the only mod that breaks files by using DECOMPILE_* but not COMPILE_* is the already reported Wheels of Prophecy. At least y'all got unified & stabler versions of DECOMPILE_* and REFACTOR_*_TRIGGER out of the deal.

Link to comment
Nalia is yours? Damn it - my memory is not what it used to be, that is for sure.

cough in my sig cough

 

heh. Goes to show I am poor of memory, feeble of brain, and lacking of eyesight. Unless of course you are referring to your Sig... but somehow I think you would be more of an i.e. community Aegis system :)

Link to comment

OK, figured out the diff - but I will need to actually repair the files to create the diff.

 

Looking at the BiG World patches for BG1NPC, it looks like unified/context=3. I can repair each file and provide something like this

 

file: BGTNeJ2_kitfix.patch

<<snip removing outdated stuff>>

or I can submit a repaired file... or I can just say "change 3 lines, x, y, and z to 2 lines, a, b."

 

Dunno which is best.

Link to comment

I think it's important that the 'orig' file name and path is identical to what appears in-game. As such, I would keep two directories (preserving the directory structure, so that you have old/bg2fixpack/setup-bg2fixpack.tp2 and new/bg2fixpack/setup-bg2fixpack.tp2); edit files in new/ and launch diff from the old directory.

 

If the individual modder cannot apply or read diffs, either point them to WinMerge, or provide the fixed file itself.

Link to comment

Sounds good. Reference post:

 

Patches for existing, minus BGT, minus The bigg's work. Repaired files available for any of the following:

 

--- C:\old\BGTNeJ2_v11\BGTNeJ2\Setup-BGTNeJ2.tp2	Sat Mar 05 13:42:45 2011
+++ C:\new\BGTNeJ2_v11\BGTNeJ2\Setup-BGTNeJ2.tp2	Sat Mar 05 14:14:42 2011
@@ -340,9 +340,8 @@
COPY_EXISTING ~SHARTE.cre~  ~override/SHARTE.cre~
		   ~SHARTE4.cre~ ~override/SHARTE4.cre~
		   ~SHARTE6.cre~ ~override/SHARTE6.cre~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE 0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
  WRITE_BYTE 0x32 66 //hair color
  WRITE_BYTE 0x23b 10 //Wisdom
  WRITE_BYTE 0x23c 18 //Dexterity

 

--- C:\old\ACBre441\Setup-ACBre.tp2	Sat Mar 05 13:42:45 2011
+++ C:\new\ACBre441\Setup-ACBre.tp2	Sat Mar 05 14:14:42 2011
@@ -157,9 +157,8 @@
SAY TARGET_IMMUNE @41	 
SAY INVENTORY_FULL @42	 
SAY BIO @43
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %

COPY ~ACBre/cre/ACADAM.cre~ ~OVERRIDE/ACADAM.cre~
SAY NAME1 @44
@@ -467,9 +466,8 @@
SAY TARGET_IMMUNE @41	 
SAY INVENTORY_FULL @42	 
SAY BIO @43
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
WRITE_ASCII 0x2cc ~ACBRE~
WRITE_ASCII 0x248 ~ACBRE~

@@ -515,9 +513,8 @@
SAY TARGET_IMMUNE @41	 
SAY INVENTORY_FULL @42	 
SAY BIO @43
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
WRITE_ASCII 0x2cc ~ACBRE25~
WRITE_ASCII 0x248 ~ACBRE25~

@@ -609,9 +606,8 @@
SAY TARGET_IMMUNE ~~	 
SAY INVENTORY_FULL ~~	 
SAY BIO ~~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %

COPY ~ACBre/cre/ACREG.cre~ ~OVERRIDE/ACREG.cre~
SAY NAME1 @84
@@ -655,9 +651,8 @@
SAY TARGET_IMMUNE ~~	 
SAY INVENTORY_FULL ~~	 
SAY BIO ~~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %

COPY ~ACBre/cre/ACBLO.cre~ ~OVERRIDE/ACBLO.cre~
SAY NAME1 @85

 

--- C:\old\amber-v2.6\Setup-Amber.tp2	Sat Mar 05 13:43:21 2011
+++ C:\new\amber-v2.6\Setup-Amber.tp2	Sat Mar 05 14:15:53 2011
@@ -360,8 +360,7 @@
  SAY HIDDEN_IN_SHADOWS @145
  SAY 0x1cc @144
  WRITE_SHORT 0x244 0 // doesn't change
-  WRITE_BYTE  0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%m#ambkit%~ // the internal name of your kit, surrounded by %

COPY ~Amber/creatures/m#ambr12.cre~		   ~override/m#ambr12.cre~ 
  SAY NAME1 @100
@@ -412,8 +411,7 @@
  SAY HIDDEN_IN_SHADOWS @145
  SAY 0x1cc @144
  WRITE_SHORT 0x244 0 // doesn't change
-  WRITE_BYTE  0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%m#ambkit%~ // the internal name of your kit, surrounded by %

COPY ~Amber/creatures/m#ambr14.cre~		   ~override/m#ambr14.cre~
  SAY NAME1 @100
@@ -464,8 +462,7 @@
  SAY HIDDEN_IN_SHADOWS @145
  SAY 0x1cc @144
  WRITE_SHORT 0x244 0 // doesn't change
-  WRITE_BYTE  0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%m#ambkit%~ // the internal name of your kit, surrounded by %

COPY ~Amber/creatures/m#ambr15.cre~		   ~override/m#ambr15.cre~
  SAY NAME1 @100
@@ -516,8 +513,7 @@
  SAY HIDDEN_IN_SHADOWS @145  
  SAY 0x1cc @144
  WRITE_SHORT 0x244 0 // doesn't change
-  WRITE_BYTE  0x246 ~%m#ambkit%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%m#ambkit%~ // the internal name of your kit, surrounded by %

COPY ~amber/creatures/m#vamber.cre~		   ~override/m#vamber.cre~	   
  SAY NAME1 @159 /* @159 = ~Amber~ */

 

   
--- C:\old\ArienaV2.2\Setup-Ariena.tp2	Sat Mar 05 13:44:09 2011
+++ C:\new\ArienaV2.2\Setup-Ariena.tp2	Sat Mar 05 14:19:39 2011
@@ -94,9 +94,8 @@
 *******************************************************/

COPY ~Ariena\cre\MWArn.cre~ ~override\MWArn.cre~
- WRITE_SHORT   0x244 0
- WRITE_BYTE	0x246 ~%PitFighter%~	
- WRITE_BYTE	0x247 0x40
+ WRITE_SHORT 0x244 0 // doesn't change
+ WRITE_SHORT 0x246 0x4000 + ~%PitFighter%~ // the internal name of your kit, surrounded by %
 SAY NAME1 @6
 SAY NAME2 @6
 SAY MORALE @7 
@@ -140,9 +139,8 @@
 SAY BIO @45

COPY ~Ariena\cre\MWArn25.cre~ ~override\MWArn25.cre~
- WRITE_SHORT   0x244 0
- WRITE_BYTE	0x246 ~%PitFighter%~	
- WRITE_BYTE	0x247 0x40
+ WRITE_SHORT 0x244 0 // doesn't change
+ WRITE_SHORT 0x246 0x4000 + ~%PitFighter%~ // the internal name of your kit, surrounded by %
 SAY NAME1 @6
 SAY NAME2 @6
 SAY MORALE @7

 

--- C:/old/ArPatch/Setup-Ariena.tp2	Sat Mar 05 13:44:52 2011
+++ C:/new/ArPatch/Setup-Ariena.tp2	Sat Mar 05 14:19:42 2011
@@ -94,9 +94,8 @@
 *******************************************************/

COPY ~Ariena\cre\MWArn.cre~ ~override\MWArn.cre~
- WRITE_SHORT   0x244 0
- WRITE_BYTE	0x246 ~%PitFighter%~	
- WRITE_BYTE	0x247 0x40
+ WRITE_SHORT 0x244 0 // doesn't change
+ WRITE_SHORT 0x246 0x4000 + ~%PitFighter%~ // the internal name of your kit, surrounded by %
 SAY NAME1 @6
 SAY NAME2 @6
 SAY MORALE @7 
@@ -140,9 +139,8 @@
 SAY BIO @45

COPY ~Ariena\cre\MWArn25.cre~ ~override\MWArn25.cre~
- WRITE_SHORT   0x244 0
- WRITE_BYTE	0x246 ~%PitFighter%~	
- WRITE_BYTE	0x247 0x40
+ WRITE_SHORT 0x244 0 // doesn't change
+ WRITE_SHORT 0x246 0x4000 + ~%PitFighter%~ // the internal name of your kit, surrounded by %
 SAY NAME1 @6
 SAY NAME2 @6
 SAY MORALE @7

 

--- C:/old/Berserker_Minsc/setup-MinscKit.tp2	Sat Mar 05 13:45:33 2011
+++ C:/new/Berserker_Minsc/setup-MinscKit.tp2	Sat Mar 05 14:19:32 2011
@@ -36,21 +36,20 @@

BEGIN ~Berserker Minsc~
 REQUIRE_COMPONENT ~Setup-MinscKit.tp2~ ~0~ ~You need to install the kit first!~
+ 
COPY_EXISTING ~minsc7.cre~ ~override~
			~minsc8.cre~ ~override~
			~minsc9.cre~ ~override~
			~minsc10.cre~ ~override~
			~minsc12.cre~ ~override~
- WRITE_SHORT 0x244 0
- WRITE_BYTE  0x246 ~%rberserk%~
- WRITE_BYTE  0x247 0x40
+   WRITE_SHORT 0x244 0 // doesn't change
+   WRITE_SHORT 0x246 0x4000 + ~%rberserk%~ // the internal name of your kit, surrounded by %

ACTION_IF FILE_EXISTS ~data/25dialog.bif~ THEN BEGIN
 COPY_EXISTING ~Minsc14.cre~ ~override/minsc14.cre~
-   WRITE_SHORT 0x244 0
-   WRITE_BYTE  0x246 ~%rberserk%~
-   WRITE_BYTE  0x247 0x40
-   END
+   WRITE_SHORT 0x244 0 // doesn't change
+   WRITE_SHORT 0x246 0x4000 + ~%rberserk%~ // the internal name of your kit, surrounded by %
+END

BEGIN ~Berserker Minsc for BG1 tutu~
 REQUIRE_COMPONENT ~Setup-MinscKit.tp2~ ~0~ ~You need to install the kit first!~
@@ -59,9 +58,7 @@
		   ~_minsc2.cre~ ~override~
		   ~_minsc4.cre~ ~override~
		   ~_minsc6.cre~ ~override~
-   WRITE_SHORT 0x244 0
-   WRITE_BYTE  0x246 ~%rberserk%~
-   WRITE_BYTE  0x247 0x40
-
+   WRITE_SHORT 0x244 0 // doesn't change
+   WRITE_SHORT 0x246 0x4000 + ~%rberserk%~ // the internal name of your kit, surrounded by %

 

--- C:\old\Breagar-5.13\Setup-ACBre.tp2	Sat Mar 05 13:46:47 2011
+++ C:\new\Breagar-5.13\Setup-ACBre.tp2	Sat Mar 05 14:21:15 2011
@@ -468,9 +468,8 @@
WRITE_ASCII 0x2cc ~ACBRE~
WRITE_ASCII 0x248 ~ACBRE~
WRITE_ASCII 0x280 ~ACBRE~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
ADD_CRE_ITEM ~CHAN01~ #0 #0 #0 ~IDENTIFIED~ ~ARMOR~
ADD_CRE_ITEM ~BRAC05~ #0 #0 #0 ~IDENTIFIED~ ~GLOVES~
ADD_CRE_ITEM ~BELT01~ #0 #0 #0 ~IDENTIFIED~ ~BELT~
@@ -495,9 +494,8 @@
WRITE_ASCII 0x2cc ~ACBRECut~
WRITE_ASCII 0x248 ~ACBRECut~
WRITE_ASCII 0x280 ~ACBRECut~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
ADD_CRE_ITEM ~ACHAMM01~ #0 #0 #0 ~IDENTIFIED~ ~WEAPON1~ EQUIP
ADD_CRE_ITEM ~CHAN01~ #0 #0 #0 ~IDENTIFIED~ ~ARMOR~
ADD_CRE_ITEM ~BRAC05~ #0 #0 #0 ~IDENTIFIED~ ~GLOVES~
@@ -514,9 +512,8 @@
WRITE_ASCII 0x2cc ~ACBRECu2~
WRITE_ASCII 0x248 ~ACBRECu2~
WRITE_ASCII 0x280 ~ACBRECu2~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
ADD_CRE_ITEM ~MINHP1~ #0 #0 #0 ~IDENTIFIED~ ~AMULET~
ADD_CRE_ITEM ~ACHAMM01~ #0 #0 #0 ~IDENTIFIED~ ~WEAPON1~ EQUIP
ADD_CRE_ITEM ~CHAN01~ #0 #0 #0 ~IDENTIFIED~ ~ARMOR~
@@ -803,9 +800,8 @@
WRITE_ASCII 0x2cc ~ACBRE~
WRITE_ASCII 0x248 ~ACBRE~
WRITE_ASCII 0x280 ~ACBRE~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
ADD_CRE_ITEM ~ACHAND3~ #0 #0 #0 ~IDENTIFIED~ ~RRING~

COPY ~ACBre/CRE/ACBre25.cre~ ~override/ACBre25.cre~
@@ -855,9 +851,8 @@
WRITE_ASCII 0x2cc ~ACBRE25~
WRITE_ASCII 0x248 ~ACBRE25~
WRITE_ASCII 0x280 ~ACBRE~
-WRITE_SHORT 0x244 0
-WRITE_BYTE  0x246 ~%ACSMITH1%~
-WRITE_BYTE  0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%ACSMITH1%~ // the internal name of your kit, surrounded by %
ADD_CRE_ITEM ~ACAXE2~ #0 #0 #0 ~IDENTIFIED~ ~WEAPON1~ EQUIP
ADD_CRE_ITEM ~HAMM06~ #0 #0 #0 ~IDENTIFIED~ ~WEAPON2~
ADD_CRE_ITEM ~ACHAND3~ #0 #0 #0 ~IDENTIFIED~ ~RRING~

 

--- C:\old\Chloev1.5\Chloe\Chloe.tp2	Sat Mar 05 13:47:17 2011
+++ C:\new\Chloev1.5\Chloe\Chloe.tp2	Sat Mar 05 14:22:53 2011
@@ -253,12 +253,9 @@
// to "RChloe" as in the ChloeDia.d file

COPY ~Chloe/Creatures/CHLOE7.cre~ ~override/CHLOE7.cre~
-/* This snippet shows how to use the kit number as a variable name to
- * assign this kit to a creature. The "0" and the "0x40" are necessary.
- * These offsets should be the same for all CREs. */
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%YRKENSAI%~
-  WRITE_BYTE	0x247 0x40
+/* This snippet shows how to use the kit number as a variable name to assign this kit to a creature. */
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%YRKENSAI%~ // the internal name of your kit, surrounded by %
  WRITE_ASCII   0x280 ~RChloe~ #8
  WRITE_ASCII 	0x2cc ~RChloe~ #8
  SAY NAME1 @17
@@ -360,12 +357,9 @@
  SAY SET_A_TRAP @69
  SAY REACT_TO_DIE_GENERAL @70 
  SAY BIO @71
-/* This snippet shows how to use the kit number as a variable name to
- * assign this kit to a creature. The "0" and the "0x40" are necessary. 
- * These offsets should be the same for all CREs. */
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%YRKENSAI%~
-  WRITE_BYTE	0x247 0x40
+/* This snippet shows how to use the kit number as a variable name to assign this kit to a creature. */
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%YRKENSAI%~ // the internal name of your kit, surrounded by %
  WRITE_ASCII   0x280 ~RChloe~ #8
  WRITE_ASCII   0x2cc ~RChloe~ #8

@@ -419,12 +413,9 @@
  SAY SET_A_TRAP @69
  SAY REACT_TO_DIE_GENERAL @70 
  SAY BIO @71
-/* This snippet shows how to use the kit number as a variable name to
- * assign this kit to a creature. The "0" and the "0x40" are necessary. 
- * These offsets should be the same for all CREs. */
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%YRKENSAI%~
-  WRITE_BYTE	0x247 0x40
+/* This snippet shows how to use the kit number as a variable name to assign this kit to a creature. */
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%YRKENSAI%~ // the internal name of your kit, surrounded by %
  WRITE_ASCII   0x280 ~RChloe~ #8
  WRITE_ASCII   0x2cc ~RChloe~ #8

@@ -477,9 +468,8 @@
  SAY SET_A_TRAP @69
  SAY REACT_TO_DIE_GENERAL @70 
  SAY BIO @71
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%YRKENSAI%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%YRKENSAI%~ // the internal name of your kit, surrounded by %
  WRITE_ASCII   0x280 ~RChloe~ #8
  WRITE_ASCII   0x2cc ~RChloe~ #8

 

   
--- C:\old\cliffhistory_v2\cliffhistory\setup-cliffhistory.tp2	Sat Mar 05 13:47:57 2011
+++ C:\new\cliffhistory_v2\cliffhistory\setup-cliffhistory.tp2	Sat Mar 05 14:23:48 2011
@@ -173,10 +173,8 @@
  SAY BIO ~When asked about his past, FONICK motions for you to be quiet.  From his gestures, it appears that he wishes to convey his past in mime.  You gather that he was born in a small pile of ham, just south of WaterShovel.  He has spent years travelling from town to town, singing at doorsteps and taverns to earn his keep.  He considers himself a sounds-like-sack of all trades. On his travels, he has learned various skills, including swordfighting, spellcasting, singing, missile/fire/water/ice/egg-resistance and running away very, very quickly.~

// Assign Delusionist kit to Fonick
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%CLFDBARD%~
-  WRITE_BYTE	0x247 0x40
-
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%CLFDBARD%~ // the internal name of your kit, surrounded by %

///////////////////////////////////
// Fonick's dialogue assignments //

 

--- C:/old/divine_remix-v7/Divine_Remix/lib/macro_spellbook_cyric.tph	Sat Mar 05 13:48:41 2011
+++ C:/new/divine_remix-v7/Divine_Remix/lib/macro_spellbook_cyric.tph	Sat Mar 05 14:24:39 2011
@@ -1,9 +1,8 @@
// kit lorekeepers, adjust spellbooks
DEFINE_PATCH_MACRO ~spellbook_cyric~ BEGIN

-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 "%A#CYRIC%"
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%A#CYRIC%~ // the internal name of your kit, surrounded by %
  READ_LONG 0x2A0 "sb_off"
  READ_LONG 0x2A4 "sb_num"
  READ_LONG 0x2A8 "meminfo_off"

 

--- C:/old/divine_remix-v7/Divine_Remix/lib/macro_spellbook_ilmater.tph	Sat Mar 05 13:49:21 2011
+++ C:/new/divine_remix-v7/Divine_Remix/lib/macro_spellbook_ilmater.tph	Sat Mar 05 14:25:06 2011
@@ -1,9 +1,8 @@
// kit lorekeepers, adjust spellbooks
DEFINE_PATCH_MACRO ~spellbook_ilmater~ BEGIN

-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 "%CDILMATR%"
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%CDILMATR%~ // the internal name of your kit, surrounded by %
  READ_LONG 0x2A0 "sb_off"
  READ_LONG 0x2A4 "sb_num"
  READ_LONG 0x2A8 "meminfo_off"

 

--- C:/old/divine_remix-v7/Divine_Remix/lib/macro_spellbook_oghma.tph	Sat Mar 05 13:50:03 2011
+++ C:/new/divine_remix-v7/Divine_Remix/lib/macro_spellbook_oghma.tph	Sat Mar 05 14:26:32 2011
@@ -1,9 +1,8 @@
// kit stormlords, adjust spellbooks
DEFINE_PATCH_MACRO ~spellbook_oghma~ BEGIN

-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 "%A#OGMA%"
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%A#OGMA%~ // the internal name of your kit, surrounded by %
  READ_LONG 0x2A0 "sb_off"
  READ_LONG 0x2A4 "sb_num"
  READ_LONG 0x2A8 "meminfo_off"

 

--- C:/old/divine_remix-v7/Divine_Remix/lib/macro_spellbook_shar.tph	Sat Mar 05 13:50:37 2011
+++ C:/new/divine_remix-v7/Divine_Remix/lib/macro_spellbook_shar.tph	Sat Mar 05 14:26:27 2011
@@ -1,9 +1,8 @@
// kit stormlords, adjust spellbooks
DEFINE_PATCH_MACRO ~spellbook_shar~ BEGIN

-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 "%A#SHAR%"
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%A#SHAR%~ // the internal name of your kit, surrounded by %
  READ_LONG 0x2A0 "sb_off"
  READ_LONG 0x2A4 "sb_num"
  READ_LONG 0x2A8 "meminfo_off"

 

--- C:/old/divine_remix-v7/Divine_Remix/lib/macro_spellbook_tempus.tph	Sat Mar 05 13:51:14 2011
+++ C:/new/divine_remix-v7/Divine_Remix/lib/macro_spellbook_tempus.tph	Sat Mar 05 14:26:22 2011
@@ -1,9 +1,8 @@
// kit stormlords, adjust spellbooks
DEFINE_PATCH_MACRO ~spellbook_tempus~ BEGIN

-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 "%A#TEMP%"
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%A#TEMP%~ // the internal name of your kit, surrounded by %
  READ_LONG 0x2A0 "sb_off"
  READ_LONG 0x2A4 "sb_num"
  READ_LONG 0x2A8 "meminfo_off"

 

--- C:/old/Horace_v1.71/Setup-Horace.tp2	Sat Mar 05 13:51:48 2011
+++ C:/new/Horace_v1.71/Setup-Horace.tp2	Sat Mar 05 14:27:03 2011
@@ -127,9 +127,8 @@
////\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\\\//

COPY ~Horace/Horace.cre~ ~override/Horace.cre~
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%SeifHL%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SeifHL%~ // the internal name of your kit, surrounded by %
  SAY NAME1 @23
  SAY NAME2 @23
  SAY BIO @24

 

--- C:/old/Hubelpot_v1.0beta/Setup-Hubelpot.tp2	Sat Mar 05 13:52:36 2011
+++ C:/new/Hubelpot_v1.0beta/Setup-Hubelpot.tp2	Sat Mar 05 14:29:13 2011
@@ -466,16 +466,14 @@

//Updating Hubelpot.
COPY_EXISTING ~SC#Hub.cre~ ~override~
- WRITE_SHORT 0x244 0 // doesn't change
- WRITE_BYTE  0x246 ~%SC#VDrd%~ // the internal name of your kit, surrounded by %
- WRITE_BYTE  0x247 0x40 // doesn't change
+   WRITE_SHORT 0x244 0 // doesn't change
+   WRITE_SHORT 0x246 0x4000 + ~%SC#VDrd%~ // the internal name of your kit, surrounded by %

ACTION_IF FILE_EXISTS ~data/25dialog.bif~ 
 THEN BEGIN
 COPY_EXISTING ~SC#Hub25.cre~ ~override~ // ToB only
WRITE_SHORT 0x244 0 // doesn't change
-   WRITE_BYTE  0x246 ~%SC#VDrd%~ // the internal name of your kit, surrounded by %
-   WRITE_BYTE  0x247 0x40 // doesn't change
+   WRITE_SHORT 0x246 0x4000 + ~%SC#VDrd%~ // the internal name of your kit, surrounded by %
 END


@@ -687,15 +685,13 @@

//Updating Hubelpot.
COPY_EXISTING ~SC#Hub.cre~ ~override~
- WRITE_SHORT 0x244 0 // doesn't change
- WRITE_BYTE  0x246 ~%SC#VFar%~ // the internal name of your kit, surrounded by %
- WRITE_BYTE  0x247 0x40 // doesn't change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SC#VFar%~ // the internal name of your kit, surrounded by %

ACTION_IF FILE_EXISTS ~data/25dialog.bif~
 THEN BEGIN
 COPY_EXISTING ~SC#Hub25.cre~ ~override~ // ToB only
-   WRITE_SHORT 0x244 0 // doesn't change
-   WRITE_BYTE  0x246 ~%SC#VFar%~ // the internal name of your kit, surrounded by %
-   WRITE_BYTE  0x247 0x40 // doesn't change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SC#VFar%~ // the internal name of your kit, surrounded by %
 END */

 

--- C:/old/ImprovedAnvil_v5/Setup-ImprovedAnvil.tp2	Sat Mar 05 13:53:36 2011
+++ C:/new/ImprovedAnvil_v5/Setup-ImprovedAnvil.tp2	Sat Mar 05 14:29:58 2011
@@ -10583,10 +10583,9 @@

COPY_EXISTING ~CERND10.cre~ ~override~
		   ~CERND14.cre~ ~override~
- WRITE_SHORT 0x244 0
- WRITE_BYTE  0x246 ~%AURAMASTER%~
- WRITE_BYTE  0x247 0x40
-
+ WRITE_SHORT 0x244 0 // doesn't change
+ WRITE_SHORT 0x246 0x4000 + ~%AURAMASTER%~ // the internal name of your kit, surrounded by %
+   
COPY_EXISTING ~cernd10.cre~ ~Override/cernd12.cre~
COPY_EXISTING ~cernd10.cre~ ~Override/cernd13.cre~
COPY_EXISTING ~cernd10.cre~ ~Override/cernd13b.cre~

 

--- C:/old/lester_the_npc/Setup-Lester.tp2	Sat Mar 05 13:54:08 2011
+++ C:/new/lester_the_npc/Setup-Lester.tp2	Sat Mar 05 14:30:32 2011
@@ -41,9 +41,8 @@
SAY NAME1 @3
SAY NAME2 @3
SAY BIO @4
-WRITE_SHORT 0x244 0
-WRITE_BYTE 0x246 ~%WOJKUF%~
-WRITE_BYTE 0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%WOJKUF%~ // the internal name of your kit, surrounded by %
SAY HAPPY @5
SAY UNHAPPY_ANNOYED @6
SAY UNHAPPY_SERIOUS @7

 

--- C:/old/LuxleySoA/Setup-LuxleySoA.tp2	Sat Mar 05 13:54:28 2011
+++ C:/new/LuxleySoA/Setup-LuxleySoA.tp2	Sat Mar 05 14:31:17 2011
@@ -176,9 +176,10 @@
//Copying creature files to override, adding kit to Sebastian's and adding their items

COPY ~LuxleySoA/characters/FHLSEB08.cre~ ~override~
-WRITE_SHORT 0x244 0
-WRITE_BYTE 0x246 ~%FHLPLAY%~
-WRITE_BYTE 0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%FHLPLAY%~ // the internal name of your kit, surrounded by %
+  
+
SAY NAME1 ~Sebastian~
SAY NAME2 ~Sebastian~
SAY INITIAL_MEETING ~~

 

--- C:/old/mur'neth/mur'neth.tp2	Sat Mar 05 13:54:54 2011
+++ C:/new/mur'neth/mur'neth.tp2	Sat Mar 05 14:32:09 2011
@@ -210,9 +210,8 @@
  ~mur'neth/creatures/A#murn.CRE~ ~override/A#Murn.CRE~
SAY NAME1 @7
SAY NAME2 @7
-WRITE_SHORT 0x244 0
-WRITE_BYTE 0x246 ~%A#GHAUN%~
-WRITE_BYTE 0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%A#GHAUN%~ // the internal name of your kit, surrounded by %
WRITE_ASCII 0x248 ~A#MURN~ #8 // override
WRITE_ASCII 0x2cc ~A#MURN~ #8 // dialogue
SAY INITIAL_MEETING @8

 

--- C:/old/Neh'taniel/Setup-Neh'taniel.tp2	Sat Mar 05 13:55:52 2011
+++ C:/new/Neh'taniel/Setup-Neh'taniel.tp2	Sat Mar 05 14:33:38 2011
@@ -106,9 +106,8 @@
  WRITE_ASCII 0x280 ~SK#2Neht~ #32 // assign DV
  WRITE_ASCII 0x34  ~sk#nehs~ #8	 // assign small portrait
  WRITE_ASCII 0x3c  ~sk#nehl~ #8	 // assign medium portrait
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%SK#JUDKN%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SK#JUDKN%~ // the internal name of your kit, surrounded by %
  SAY BIO @6

SAY MORALE @7 
@@ -515,9 +514,8 @@
  WRITE_ASCII 0x280 ~SK#Neht~ #32 // assign DV
  WRITE_ASCII 0x34  ~sk#nehts~ #8	 // assign small portrait
  WRITE_ASCII 0x3c  ~sk#nehtl~ #8	 // assign medium portrait
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%SkyeHL%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SkyeHL%~ // the internal name of your kit, surrounded by %
  SAY NAME1 @5
  SAY NAME2 @5
  SAY BIO @6
@@ -581,9 +579,8 @@
  WRITE_ASCII 0x280 ~SK#Neht~ #32 // assign DV
  WRITE_ASCII 0x34  ~sk#nehts~ #8	 // assign small portrait
  WRITE_ASCII 0x3c  ~sk#nehtl~ #8	 // assign medium portrait
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%SkyeHL%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SkyeHL%~ // the internal name of your kit, surrounded by %
  SAY NAME1 @5
  SAY NAME2 @5
  SAY BIO @6
@@ -648,9 +645,8 @@
  WRITE_ASCII 0x280 ~SK#Neht~ #32 // assign DV
  WRITE_ASCII 0x34  ~sk#nehts~ #8	 // assign small portrait
  WRITE_ASCII 0x3c  ~sk#nehtl~ #8	 // assign medium portrait
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%SkyeHL%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SkyeHL%~ // the internal name of your kit, surrounded by %
  SAY NAME1 @5
  SAY NAME2 @5
  SAY BIO @6
@@ -804,9 +800,8 @@
  WRITE_ASCII 0x280 ~SK#Neht~ #32 // assign DV
  WRITE_ASCII 0x34  ~sk#nehts~ #8	 // assign small portrait
  WRITE_ASCII 0x3c  ~sk#nehtl~ #8	 // assign medium portrait
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%SkyeHL%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%SkyeHL%~ // the internal name of your kit, surrounded by %
  SAY NAME1 @5
  SAY NAME2 @5
  SAY BIO @6

 

--- C:/old/NeJ2/Setup-NeJ2v691.tp2	Sat Mar 05 13:56:28 2011
+++ C:/new/NeJ2/Setup-NeJ2v691.tp2	Sat Mar 05 14:48:18 2011
@@ -2601,9 +2601,8 @@
COPY ~NeJ/cre/DAR67.CRE~			~override/DAR67.CRE~		  
  SAY NAME1 ~Dar~ 
  SAY NAME2 ~Dar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
  SAY HAPPY ~These are fine companions...~ [DAR_C30]
  SAY UNHAPPY_ANNOYED ~I‘ve expected to see many extraodinary things...~ [DAR_C29]
  SAY UNHAPPY_SERIOUS ~This is not good...~ [DAR_C31]
@@ -2642,9 +2641,8 @@
COPY ~NeJ/cre/DAR77.CRE~			~override/DAR77.CRE~		  
  SAY NAME1 ~Dar~ 
  SAY NAME2 ~Dar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
  SAY HAPPY ~These are fine companions...~ [DAR_C30]
  SAY UNHAPPY_ANNOYED ~I‘ve expected to see many extraodinary things...~ [DAR_C29]
  SAY UNHAPPY_SERIOUS ~This is not good...~ [DAR_C31]
@@ -2683,9 +2681,8 @@
COPY ~NeJ/cre/DAR78.CRE~			~override/DAR78.CRE~		  
  SAY NAME1 ~Dar~ 
  SAY NAME2 ~Dar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
  SAY HAPPY ~These are fine companions...~ [DAR_C30]
  SAY UNHAPPY_ANNOYED ~I‘ve expected to see many extraodinary things...~ [DAR_C29]
  SAY UNHAPPY_SERIOUS ~This is not good...~ [DAR_C31]
@@ -2724,9 +2721,8 @@
COPY ~NeJ/cre/DAR88.CRE~			~override/DAR88.CRE~		  
  SAY NAME1 ~Dar~ 
  SAY NAME2 ~Dar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_ILMATER%~ // the internal name of your kit, surrounded by %
  SAY HAPPY ~These are fine companions...~ [DAR_C30]
  SAY UNHAPPY_ANNOYED ~I‘ve expected to see many extraodinary things...~ [DAR_C29]
  SAY UNHAPPY_SERIOUS ~This is not good...~ [DAR_C31]
@@ -2963,9 +2959,8 @@
COPY ~NeJ/cre/EHHROTH.CRE~					~override/EHHROTH.CRE~
  SAY NAME1 ~Hrothgar~ 
  SAY NAME2 ~Hrothgar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~What cowardice is this!  Return to where you are needed.~ [HROT_C01]
  SAY BATTLE_CRY1 ~Your evil ways end here.~ [HROT_C07]
  SAY BATTLE_CRY2 ~Draw steel and we will settle this dispute once and for all.~ [HROT_C08]
@@ -2993,9 +2988,8 @@
COPY ~NeJ/cre/HROTH8.CRE~		   ~override/HROTH8.CRE~		 
  SAY NAME1 ~Hrothgar~ 
  SAY NAME2 ~Hrothgar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~What cowardice is this!  Return to where you are needed.~ [HROT_C01]
  SAY HAPPY ~This group gives me hope that all will be well with the world. I have chosen my allies wisely.~ [HROT_91]
  SAY UNHAPPY_ANNOYED ~I am saddened by what I see, but I am not here to judge, that is for the gods to do. I will keep still for now!~ [HROT_92]
@@ -3035,9 +3029,8 @@
COPY ~NeJ/cre/HROTH9.CRE~		   ~override/HROTH9.CRE~		 
  SAY NAME1 ~Hrothgar~ 
  SAY NAME2 ~Hrothgar~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%MOON_KNIGHT%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~What cowardice is this!  Return to where you are needed.~ [HROT_C01]
  SAY HAPPY ~This group gives me hope that all will be well with the world. I have chosen my allies wisely.~ [HROT_91]
  SAY UNHAPPY_ANNOYED ~I am saddened by what I see, but I am not here to judge, that is for the gods to do. I will keep still for now!~ [HROT_92]
@@ -5421,10 +5414,9 @@
  SAY NAME1 ~Accalia~ 
  SAY NAME2 ~Accalia~
  SAY 0x1cc ~When first you set eyes on Accalia you are taken aback by her likeness to Branwen, a young cleric and  also a priest of Tempus, that you rescued from a stony existence at Nashkiel fair. She has the same pale coloured hair and speaks with same accent as Branwen.... but that was another time and sense tells you that this is not the same woman. Originally from Neverwinter, Accalia will tell you that she was sent to Easthaven to aid Battlelord Everard after the death of  Warpriest Renfeld who was killed in a confrontation with barbarians near Bryn Shander. She tells you of her duties to assist Everard in the armoury and in the performing of rituals. Accalia is happy to tell you of any of these rituals and local battle lore, but when you ask her to tell of the battle of Gerard‘s Stone, she will tell you to ask Everard as he prefers to tell of it himself. Accalia will say that she is content to do the will of Tempus in the temple but would much prefer to be on the front line, protecting the *immigrants*, (a term Accalia uses when she refers to herself and the townsfolk of Easthaven), from the spontaneous attacks from the many barbarian tribes in the area.~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_TEMPUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
-
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_TEMPUS%~ // the internal name of your kit, surrounded by %
+  
//////////////////////////////////////////////// 

/*****************
@@ -6015,9 +6007,8 @@
/*COPY ~NeJ2/Leina/cre/LEINA11.CRE~		~override/LEINA11.CRE~
  SAY NAME1 ~Leina~
  SAY NAME2 ~Leina~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
  SAY LEADER ~That‘s an idea.~ [leinac22]
  SAY BORED ~(*Whistles*)~ [leinac35]
  SAY BATTLE_CRY1 ~It‘s time for some action.~ [leinac1]
@@ -6056,9 +6047,8 @@
COPY ~NeJ2/Leina/cre/LEINA11.CRE~		~override/LEINA11.CRE~
  SAY NAME1 ~Leina~
  SAY NAME2 ~Leina~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~If in trouble or in doubt run in circles and scream and shout!~ [leinac31]
  SAY LEADER ~Now this is a position from which I can inspire you all.~ [leinac04]
  SAY BORED ~I could have written an opera in the time it‘s taken you to make up your mind!~ [leinac32]
@@ -6100,9 +6090,8 @@
COPY ~NeJ2/Leina/cre/LEINA12.CRE~		~override/LEINA12.CRE~
  SAY NAME1 ~Leina~
  SAY NAME2 ~Leina~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~If in trouble or in doubt run in circles and scream and shout!~ [leinac31]
  SAY LEADER ~Now this is a position from which I can inspire you all.~ [leinac04]
  SAY BORED ~I could have written an opera in the time it‘s taken you to make up your mind!~ [leinac32]
@@ -6144,9 +6133,8 @@
COPY ~NeJ2/Leina/cre/LEINA13.CRE~		~override/LEINA13.CRE~
  SAY NAME1 ~Leina~
  SAY NAME2 ~Leina~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~If in trouble or in doubt run in circles and scream and shout!~ [leinac31]
  SAY LEADER ~Now this is a position from which I can inspire you all.~ [leinac04]
  SAY BORED ~I could have written an opera in the time it‘s taken you to make up your mind!~ [leinac32]
@@ -6188,9 +6176,8 @@
COPY ~NeJ2/Leina/cre/LEINA14.CRE~		~override/LEINA14.CRE~
  SAY NAME1 ~Leina~
  SAY NAME2 ~Leina~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BARD_OF_MELODY%~ // the internal name of your kit, surrounded by %
  SAY MORALE ~If in trouble or in doubt run in circles and scream and shout!~ [leinac31]
  SAY LEADER ~Now this is a position from which I can inspire you all.~ [leinac04]
  SAY BORED ~I could have written an opera in the time it‘s taken you to make up your mind!~ [leinac32]
@@ -7583,36 +7570,30 @@
COPY ~NeJ/misc/PPIMOEN.cre~ ~override/PPIMOEN.cre~

COPY ~NeJ/misc/IMOEN10.cre~ ~override/IMOEN10.cre~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		  WRITE_SHORT 0x244 0 // doesn't change
+		  WRITE_SHORT 0x246 0x4000 + ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

COPY ~NeJ/misc/IMOEN6.cre~ ~override/IMOEN6.cre~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		  WRITE_SHORT 0x244 0 // doesn't change
+		  WRITE_SHORT 0x246 0x4000 + ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

ACTION_IF FILE_EXISTS ~data/BG1ARE.BIF~
 THEN BEGIN
		COPY_EXISTING ~IMOEN1.cre~ ~override/IMOEN1.cre~
-			WRITE_SHORT 0x244 0 // doesn‘t change
-		  WRITE_BYTE  0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
-		  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		  WRITE_SHORT 0x244 0 // doesn't change
+		  WRITE_SHORT 0x246 0x4000 + ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

		COPY_EXISTING ~IMOEN2.cre~ ~override/IMOEN2.cre~
-			WRITE_SHORT 0x244 0 // doesn‘t change
-		  WRITE_BYTE  0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
- 			WRITE_BYTE  0x247 0x40 // doesn‘t change
+		  WRITE_SHORT 0x244 0 // doesn't change
+		  WRITE_SHORT 0x246 0x4000 + ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

		COPY_EXISTING ~IMOEN4.cre~ ~override/IMOEN4.cre~
-			WRITE_SHORT 0x244 0 // doesn‘t change
- 			WRITE_BYTE  0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
- 			WRITE_BYTE  0x247 0x40 // doesn‘t change
+		  WRITE_SHORT 0x244 0 // doesn't change
+		  WRITE_SHORT 0x246 0x4000 + ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %

		COPY_EXISTING ~IMOEN61.cre~ ~override/IMOEN61.cre~
-			WRITE_SHORT 0x244 0 // doesn‘t change
-		  WRITE_BYTE  0x246 ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
-		  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		  WRITE_SHORT 0x244 0 // doesn't change
+		  WRITE_SHORT 0x246 0x4000 + ~%CHARMING_ROGUE%~ // the internal name of your kit, surrounded by %
END

ACTION_IF FILE_EXISTS ~data/BG1ARE.BIF~
@@ -7747,34 +7728,28 @@
-  No regular shapeshifting abilities.~

COPY ~NeJ/jah/cre/VP_JAH10.CRE~ ~override/JAHEIR7.CRE~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

COPY ~NeJ/jah/cre/VP_JAH12.CRE~ ~override/JAHEIR8.CRE~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

COPY ~NeJ/jah/cre/VP_JAH13.CRE~ ~override/JAHEIR11.CRE~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

COPY ~NeJ/jah/cre/VP_JAH14.CRE~ ~override/JAHEIR12.CRE~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

COPY ~NeJ/jah/cre/VP_JAH14.CRE~ ~override/JAHEI12B.CRE~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

COPY ~NeJ/jah/cre/VP_JAH14.CRE~ ~override/JAHEI14.CRE~
-	WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE  0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %

ACTION_IF FILE_EXISTS ~data/BG1ARE.BIF~
	THEN BEGIN
@@ -7790,9 +7765,8 @@
  SAY 0x1b0 #30776
  SAY 0x1b4 #30777
  SAY 0x1c0 #30780
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE 0x246 ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE 0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%PRIEST_OF_SYLVANUS%~ // the internal name of your kit, surrounded by %
  WRITE_BYTE 0x2c 99 //metal color
  WRITE_BYTE 0x2d 66 //minor color
  WRITE_BYTE 0x2e 52 //major color
@@ -8070,9 +8044,8 @@
COPY_EXISTING ~SHARTE.cre~  ~override/SHARTE.cre~
		   ~SHARTE4.cre~ ~override/SHARTE4.cre~
		   ~SHARTE6.cre~ ~override/SHARTE6.cre~
-  WRITE_SHORT 0x244 0 // doesn‘t change
-  WRITE_BYTE 0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
-  WRITE_BYTE 0x247 0x40 // doesn‘t change
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
  WRITE_BYTE 0x32 66 //hair color
  WRITE_BYTE 0x23b 10 //Wisdom
  WRITE_BYTE 0x23c 18 //Dexterity
@@ -8133,9 +8106,8 @@
END

  	COPY ~NeJ3/sharteel/cre/SHARTE7.cre~ ~override/SHARTE7.cre~
-		WRITE_SHORT 0x244 0 // doesn‘t change
-	  WRITE_BYTE  0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
-	  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
  		SAY 0xa8 ~Discretion is the better part of valor.~ [SHART02]
  	  SAY HAPPY ~It seems that this party isn‘t as pathetic as I first suspected.~ [SHART04]
  		SAY UNHAPPY_ANNOYED ~This is the kind of stupidity we get with male leadership.~ [SHART05]
@@ -8167,11 +8139,10 @@
  		SAY BIO ~When asked about her past, Shar-Teel has very little to say.  From the little she speaks of it can be gleaned that she is an orphan. She also seems to harbor an intense dislike for Flaming Fist mercenaries, as well as an obvious disrespect for men in general. She seems to have something to prove, and likely her childhood was not of storybook quality.~ 

	COPY ~NeJ3/sharteel/cre/SHARTE8.cre~ ~override/SHARTE8.cre~
-		WRITE_SHORT 0x244 0 // doesn‘t change
-	  WRITE_BYTE  0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
-	  WRITE_BYTE  0x247 0x40 // doesn‘t change
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
  		SAY 0xa8 ~Discretion is the better part of valor.~ [SHART02]
-		SAY HAPPY ~It seems that this party isn‘t as pathetic as I first suspected.~ [SHART04]
+		  SAY HAPPY ~It seems that this party isn‘t as pathetic as I first suspected.~ [SHART04]
  		SAY UNHAPPY_ANNOYED ~This is the kind of stupidity we get with male leadership.~ [SHART05]
  		SAY UNHAPPY_SERIOUS ~I can‘t take much more of this male imbecility.~ [SHART06]
  		SAY 0xb8 ~Forget our deal, I‘m leaving.~ [SHART07]
@@ -8201,11 +8172,10 @@
  		SAY BIO ~When asked about her past, Shar-Teel has very little to say.  From the little she speaks of it can be gleaned that she is an orphan. She also seems to harbor an intense dislike for Flaming Fist mercenaries, as well as an obvious disrespect for men in general. She seems to have something to prove, and likely her childhood was not of storybook quality.~ 

	COPY ~NeJ3/sharteel/cre/SHARTE9.cre~ ~override/SHARTE9.cre~
-		WRITE_SHORT 0x244 0 // doesn‘t change
-	  WRITE_BYTE  0x246 ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
-	  WRITE_BYTE  0x247 0x40 // doesn‘t change
-		SAY 0xa8 ~Discretion is the better part of valor.~ [SHART02]
-		SAY HAPPY ~It seems that this party isn‘t as pathetic as I first suspected.~ [SHART04]
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%FIREWALKER%~ // the internal name of your kit, surrounded by %
+		  SAY 0xa8 ~Discretion is the better part of valor.~ [SHART02]
+		  SAY HAPPY ~It seems that this party isn‘t as pathetic as I first suspected.~ [SHART04]
  		SAY UNHAPPY_ANNOYED ~This is the kind of stupidity we get with male leadership.~ [SHART05]
  		SAY UNHAPPY_SERIOUS ~I can‘t take much more of this male imbecility.~ [SHART06]
  		SAY 0xb8 ~Forget our deal, I‘m leaving.~ [SHART07]

 

--- C:/old/nephele/nephele.tp2	Sat Mar 05 13:56:57 2011
+++ C:/new/nephele/nephele.tp2	Sat Mar 05 14:40:57 2011
@@ -83,7 +83,8 @@
  WRITE_EVALUATED_ASCII DEATHVAR		~Nephele~ #32
  WRITE_EVALUATED_ASCII SCRIPT_OVERRIDE ~%DEST_RES%~ #8
  WRITE_LONG 0x18 190000
-  WRITE_BYTE  0x246 ~%lk#neph%~
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%lk#neph%~ // the internal name of your kit, surrounded by %
  ADD_CRE_ITEM ~slng02~ #0 #0 #0 ~IDENTIFIED~ ~WEAPON1~ EQUIP
  ADD_CRE_ITEM ~bull02~ #20 #0 #0 ~IDENTIFIED~ ~QUIVER1~
  SAY BIO ~When asked about her past, NEPHELE closes her eyes briefly, a small smile on her wrinkled face.  Raised in the halfling village of Larrikin, she joined the church of Yondalla in her mid-twenties, and though she has always been a devout follower of her goddess, she was never quite content with the home-life of many halflings.  "Cursed with wanderlust," she says, a sparkle in her eyes.  She jumped at the chance to help the occasional adventurer, and began her travels aiding the wounded and injured, eventually becoming quite the formidable adventurer herself.  She married and returned to Larrikin, where she "brought seven wonders" into the world.  Her smile broadens as she tells you of her children, pride evident in her voice.  After her children were grown she set out adventuring once more.  Something in her eyes tells you that there is more to the story, but she squeezes your shoulder cheerfully and walks away, humming under her breath.~
@@ -134,7 +135,8 @@
  WRITE_EVALUATED_ASCII DEATHVAR		~Nephele~ #32
  WRITE_EVALUATED_ASCII SCRIPT_OVERRIDE ~%DEST_RES%~ #8
  WRITE_LONG 0x18 2500000
-  WRITE_BYTE  0x246 ~%lk#neph%~
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%lk#neph%~ // the internal name of your kit, surrounded by %
  ADD_CRE_ITEM ~slng04~ #0 #0 #0 ~IDENTIFIED~ ~WEAPON1~ EQUIP
  ADD_CRE_ITEM ~bull05~ #20 #0 #0 ~IDENTIFIED~ ~QUIVER1~
  SAY BIO ~When asked about her past, NEPHELE closes her eyes briefly, a small smile on her wrinkled face.  Raised in the halfling village of Larrikin, she joined the church of Yondalla in her mid-twenties, and though she has always been a devout follower of her goddess, she was never quite content with the home-life of many halflings.  "Cursed with wanderlust," she says, a sparkle in her eyes.  She jumped at the chance to help the occasional adventurer, and began her travels aiding the wounded and injured, eventually becoming quite the formidable adventurer herself.  She married and returned to Larrikin, where she "brought seven wonders" into the world.  Her smile broadens as she tells you of her children, pride evident in her voice.  After her children were grown she set out adventuring once more.  Something in her eyes tells you that there is more to the story, but she squeezes your shoulder cheerfully and walks away, humming under her breath.~

 

--- C:/old/Rylorn/Setup-Rylorn.tp2	Sat Mar 05 13:57:34 2011
+++ C:/new/Rylorn/Setup-Rylorn.tp2	Sat Mar 05 14:39:23 2011
@@ -638,9 +638,8 @@
ADD_CRE_ITEM~helm12~ #0 #0 #0~IDENTIFIED~ ~HELMET~
ADD_CRE_ITEM~iplat01~ #0 #0 #0~IDENTIFIED~ ~ARMOR~
COPY~Rylorn\Creatures\RYLORN.cre~ ~override\RYLORN.cre~
-WRITE_SHORT   0x244 0
-WRITE_BYTE	0x246 ~%C!Blackg%~
-WRITE_BYTE	0x247 0x40
+WRITE_SHORT 0x244 0 // doesn't change
+WRITE_SHORT 0x246 0x4000 + ~%C!Blackg%~ // the internal name of your kit, surrounded by %
SAY NAME1~Rylorn~
SAY NAME2~Rylorn~
SAY BIO~ When asked about his past Rylorn tells you that he was nothing but a simple warrior before he pledged his life into Cyric's service~

 

--- C:/old/song_and_silence-v5/song_and_silence/setup-song_and_silence.tp2	Sat Mar 05 14:02:33 2011
+++ C:/new/song_and_silence-v5/song_and_silence/setup-song_and_silence.tp2	Sat Mar 05 14:38:48 2011
@@ -734,15 +734,13 @@
 READ_ASCII DEATHVAR dv
   PATCH_IF (("%dv%" STRING_MATCHES_REGEXP ~/imoen2?$~) == 0) && (MOD_IS_INSTALLED npckit.tp2 1400) BEGIN
	 PATCH_PRINT @80
-		WRITE_SHORT 0x244 0x0000
-		WRITE_BYTE  0x246 %A!ADVENTURER%
-		WRITE_BYTE  0x247 0x40
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%A!ADVENTURER%~ // the internal name of your kit, surrounded by %
   END ELSE 
	PATCH_IF (("%dv%" STRING_MATCHES_REGEXP ~/nalia$~) == 0) && (MOD_IS_INSTALLED npckit.tp2 2500) BEGIN
	 PATCH_PRINT @81
-		WRITE_SHORT 0x244 0x0000
-		WRITE_BYTE  0x246 %A!ADVENTURER%
-		WRITE_BYTE  0x247 0x40
+		WRITE_SHORT 0x244 0 // doesn't change
+		WRITE_SHORT 0x246 0x4000 + ~%A!ADVENTURER%~ // the internal name of your kit, surrounded by %
   END
 END
  BUT_ONLY_IF_IT_CHANGES

 

--- C:/old/Star192/Star.tp2	Sat Mar 05 14:02:02 2011
+++ C:/new/Star192/Star.tp2	Sat Mar 05 14:48:32 2011
@@ -67,9 +67,8 @@
  SAY SPELL_DISRUPTED ~~ [Innoc6]
  SAY HIDDEN_IN_SHADOWS ~~ [Innoc5]
  SAY SET_A_TRAP ~~ [Innoc7]
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%StarHL%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%StarHL%~ // the internal name of your kit, surrounded by %
  SAY NAME1 ~Silver Star~
  SAY NAME2 ~Silver Star~
  SAY BIO @6

 

--- C:/old/TouchstoneV1.0/touched/Setup-touched.tp2	Sat Mar 05 14:01:02 2011
+++ C:/new/TouchstoneV1.0/touched/Setup-touched.tp2	Sat Mar 05 14:48:28 2011
@@ -428,14 +428,14 @@
   Proficient (+) in all other weapons.~

COPY_EXISTING ~BKtouch1.cre~ ~override~
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%BKTOUCH%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BKTOUCH%~ // the internal name of your kit, surrounded by %

COPY_EXISTING ~BKtouch2.cre~ ~override~
-  WRITE_SHORT   0x244 0
-  WRITE_BYTE	0x246 ~%BKTOUCH%~
-  WRITE_BYTE	0x247 0x40
+  WRITE_SHORT 0x244 0 // doesn't change
+  WRITE_SHORT 0x246 0x4000 + ~%BKTOUCH%~ // the internal name of your kit, surrounded by %
+  
+


///HLA's

 

--- C:/old/Turambar_fixes_tweaks/Setup-Turambar_fixes_tweaks.tp2	Sat Mar 05 14:00:37 2011
+++ C:/new/Turambar_fixes_tweaks/Setup-Turambar_fixes_tweaks.tp2	Sat Mar 05 14:48:39 2011
@@ -2360,9 +2360,8 @@
	PATCH_IF NOT cls=2 BEGIN
		failure=1
	END
-	WRITE_SHORT 0x244 0 // doesn't change
-	WRITE_BYTE  0x246 ~%kit%~ // the internal name of your kit, surrounded by %
-	WRITE_BYTE  0x247 0x40 // doesn't change
+	WRITE_SHORT 0x244 0 // doesn't change
+	WRITE_SHORT 0x246 0x4000 + ~%kit%~ // the internal name of your kit, surrounded by %
	READ_BYTE 0x234 lvl
	// how many weapon proficiencies?
	PATCH_IF lvl>=3 BEGIN
@@ -2505,9 +2504,8 @@
		failure=1
	END

-	WRITE_SHORT 0x244 0		// doesn't change
-	WRITE_BYTE  0x246 %kit%		// shar
-	WRITE_BYTE  0x247 0x40	// doesn't change
+	WRITE_SHORT 0x244 0 // doesn't change
+	WRITE_SHORT 0x246 0x4000 + ~%kit%~ // shar
	READ_BYTE 0x234 lvl
	READ_BYTE 0x23b sag
	WRITE_BYTE 0x23b (%sag%-1)	//reduce wisdom
@@ -2563,9 +2561,8 @@
	PATCH_IF NOT cls=3 BEGIN
		failure=1
	END
-	WRITE_SHORT 0x244 0		// doesn't change
-	WRITE_BYTE  0x246 %kit%		// tempus
-	WRITE_BYTE  0x247 0x40	// doesn't change
+	WRITE_SHORT 0x244 0 // doesn't change
+	WRITE_SHORT 0x246 0x4000 + ~%kit%~ // tempus
	REMOVE_MEMORIZED_SPELL ~spin113~	//the kit will grant it
	REMOVE_KNOWN_SPELL ~spin113~		//the kit will grant it
BUT_ONLY
@@ -2729,9 +2726,8 @@
	PATCH_IF NOT cls=5 BEGIN
		failure=1
	END
-	WRITE_SHORT 0x244 0		// doesn't change
-	WRITE_BYTE  0x246 %kit%	// bladesinger
-	WRITE_BYTE  0x247 0x40	// doesn't change
+	WRITE_SHORT 0x244 0 // doesn't change
+	WRITE_SHORT 0x246 0x4000 + ~%kit%~ // bladesinger
	PATCH_IF i>0 BEGIN
		READ_BYTE 0x234 lvl
		PATCH_IF (lvl<5 OR lvl>7) AND NOT (VARIABLE_IS_SET failure) BEGIN

Link to comment

Archived

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

×
×
  • Create New...