Skip to content

Modding new kit problem

zupskyzupsky Member Posts: 126
edited November 2013 in General Modding
Hi! I've wanted to make a new kit for my NPC mod, but I'm kind off stuck. So far I have only basic stuff in my tp2 file and I can install this kit, but... my kit is greyed out at character creation (so I can't choose it) and I have no idea why.


BACKUP ~Edrion/backup~

AUTHOR ~Zupsky~

BEGIN ~Install Lost Druid kit for BG:EE 2?~

ADD_KIT ~D!Lost~
~D!Lost 0 0 1 1 0

1 0 1~
~D!Lost 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0~
~D!Lost 0 0 0 0 12 6~
~D!Lost 0 0 0 0 0 0~
~D!Lost 0 0 0 0 17 17~
~D!Lost 0 0 0 0 15 13~
~D!Lost 0 0 0 0 0 1 0 0

0~
~D!Lost 1 0 0 0 0 0~
~Edrion/Kit/clablo.2da~
~K_D_H K_D_E K_D_HE~
// unusable and class
~0x0004000 11~
~dr0~
~CHAN09 * HELM07 BAG20 RING06 RING31 * BOOT01 AMUL19 BRAC16 BELT06 AROW11,40

BULL03,40 BOLT06,40 POTN52,5 POTN4,2 POTN14,5 HAM07 SW1H27 STAF08~
SAY ~Lost Druid~
SAY ~Lost Druid~
SAY ~LOST DRUID: xxx~

Comments

  • WispWisp Member Posts: 1,102
    WeiDU >=235 is distributed with the function fl#add_kit_ee, located in the lib/ directory.
  • zupskyzupsky Member Posts: 126
    Thank you! : )
    Could I ask for your help again @Wisp? I'd like to add some arcane spells to the spellbook of my Lost Druid kit, just like Avenger does. I've founded the spells that I'd like to add in dltcep, then I've changed spell type from wizard to cleric, then changed priest type to druid/ranger and finally, used copy command with weidu, but spell does not appear in the game...
  • WispWisp Member Posts: 1,102
    edited November 2013
    You likely need to have your kit's CLAB file have your kit gain the spell(s) upon level up. Have a look at CLABDR04.2DA and you'll see that Avengers gain their Chromatic Orb spell through a GA_SPDR101 at level 1.
  • zupskyzupsky Member Posts: 126
    It worked, but I had to keep priest type to general. For some reason druid/ranger didn't work.
    Now I have another problem ; /
    I'm using this new function - fl#add_kit_ee and it works fine with BG:EE 2 as long, as I stay out of biography and briefdesc, but when I try to install my new kit in BG:EE, I can't skip it. So when I add them to the tp2 I keep getting this error "cannot convert briefidesc or %briefidesc% to an integer". And I'm getting the same error when I try to use example that is provided with updated weidu.
  • WispWisp Member Posts: 1,102
    Yeah, it's a know problem with the initial version (apologies). I posted a fixed version here.
Sign In or Register to comment.