Jump to content


Bhasbuto

Member Since 19 Mar 2003
Offline Last Active Oct 06 2004 11:56 AM

Topics I've Started

New kits and NPCs

30 May 2003 - 06:18 AM

Hello.

I'm having a problem with kits and NPCs and I've no idea of tha way to solve it

Well, basically, is this. I'm trying to put a NPC as a Troll Slayer, a fighter kit. In the third pack of the mod, the tp2 file writes this:

ADD_KIT ~Troll~


~Troll                   0           0           1           0           0           1           1           1~

~Troll 0  0  0  5  5  5  5  0  0  0  0  5  0  0  0  0  5  5  5  5  5  5  5  0  0  0  5  0  2  2  2  2  5  5  5  5  5  5  5  5  5  5  5  5  5  5  5  5  5  5  5 ~

~Troll                   9       0       0       0       0       0~

~Troll                   0       0       0       0       0       0~

~Troll                   17      0       0       0       0       0~

~Troll                   15      0       0       0       0       0~

~Troll                   0       0       0       0       0       0       1       1       1~

~Troll                   0       0       0       0       0       0~

~tdd\kits/CLABFI19.2DA~

~ K_F_D ~

~0X00004000 2~

~Fi0~

~CHAN09  *  HELM07  BAG21  *  *  *  *  *  *  *  AROW11,40  BULL03,40  BOLT06,40  POTN52,5  POTN04,2  POTN14,5  HAMM07  SW1H27  STAF08 ~

SAY @3855
SAY @3856
SAY @3857


And this is in the fourth pack of the mod. Here it is the tp2 file:

COPY ~TDD\NPCs\Kagain\Kagain11.cre~ ~override\Kagain11.cre~
   WRITE_SHORT 0x244 0
   WRITE_BYTE 0x246 ~%Troll%~
   WRITE_BYTE 0x247 0x40
   SAY NAME1 @4181
   SAY NAME2 @4181
   SAY BIO @4182


But it has an error in the first WRITE_BYTE, something like "Can't convert "%Troll%" in an integer. After that, I tried doing APPEND ~Kit.ids~ ~0X00004000 Troll~ At last place in the kits installation, but WRITE_BYTE gives the same error.
...
...
Help?  :(