Pocket Plane Group

Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Truce on September 20, 2009, 03:54:50 AM

Title: Having modding troubles, in need of aid.
Post by: Truce on September 20, 2009, 03:54:50 AM
well okay i was following Theacefes' NPC guide and i ran into one snag, i managed to solve it by myself (woot go me i know ^^) but then i finnaly go to installing the basic NPC minimum dialog all that good stuff, i go to my installer and i get this message.

Installing [MAFEW for BG2:SoA]
Copying and patching 1 file ...
[Mafew/MAFEW.cre] loaded, 1804 bytes
ERROR: cannot convert Name1 or %Name1% to an integer
ERROR: [Mafew/MAFEW.cre] -> [override/Mafew.cre] Patching Failed (COPY) (Not_found)
Stopping installation because of error.

ERROR Installing [MAFEW for BG2:SoA], rolling back to previous state
[Mafew/backup/0/UNSETSTR.0] SET_STRING uninstall info not found
WARNING: [Mafew/backup/0/UNINSTALL.0] is a 0 byte file
[Mafew/backup/0/UNINSTALL.0] loaded, 0 bytes
Will uninstall   0 files for [SETUP-MAFEW.TP2] component 0.
Uninstalled      0 files for [SETUP-MAFEW.TP2] component 0.

any help on this would be much appreciated, thanks in advance altho i will thank you again after you help me too ^^
Title: Re: Having modding troubles, in need of aid.
Post by: Truce on September 20, 2009, 04:00:05 AM
Heres my TP2 file



BACKUP ~Mafew/backup~

AUTHOR ~theacefes (bohdi2185@msn.com)~


BEGIN ~MAFEW for BG2:SoA~


// This adds the CRE file


COPY ~Mafew/MAFEW.cre~ ~override/Mafew.cre~


SAY Name1 ~Mafew~

SAY Name2 ~Mafew~


// This is the bio. In NearInfinity, go to that side tab and find CHR. Open that and find JOHN.BIo You can create your own bio this way by simply deleting the default PC bio and typing your own. Save this.


SAY BIO ~When you ask him about his past, MAFEW says to shut up.~


// These are the diffrent things that your NPC will say when they respond to your commands.


SAY MORALE ~Sticking around is only going to get us killed.~

SAY HAPPY ~This group is great~

SAY UNHAPPY_ANNOYED ~You're starting to take the wrong path in morals.~

SAY UNHAPPY_SERIOUS ~I'll leave if you donít stop!~

SAY UNHAPPY_BREAKING ~You suck, I'm outta here.~

SAY LEADER ~I hope i dont mess up.~

SAY TIRED ~I could use a rest.~

SAY BORED ~I cant even go shoot some wamp rats.~

SAY BATTLE_CRY1 ~TO BATTLE!~

SAY BATTLE_CRY2 ~Time to die!~

SAY BATTLE_CRY3 ~DIE NOW!~

SAY BATTLE_CRY4 ~DIE!~

SAY DAMAGE ~Ow!~

SAY DYING ~AH!~

SAY HURT ~Help me!~

SAY AREA_FOREST ~I like it out here, its peacefull.~

SAY AREA_CITY ~Sometimes the noise here is abit to much~

SAY AREA_DUNGEON ~I dont like it down here.~

SAY AREA_DAY ~It's day.~

SAY AREA_NIGHT ~It's dark.~

SAY SELECT_COMMON1 ~Yeah?~

SAY SELECT_COMMON2 ~What do you need?~

SAY SELECT_COMMON3 ~Grunt.~

SAY SELECT_COMMON4 ~What?~

SAY SELECT_COMMON5 ~Yes?~

SAY SELECT_COMMON6 ~I'm listening.~

SAY SELECT_ACTION1 ~Uh huh.~

SAY SELECT_ACTION2 ~Sure.~

SAY SELECT_ACTION3 ~I'm on it.~

SAY SELECT_ACTION4 ~YAY!~

SAY SELECT_ACTION5 ~Not hard at all~

SAY SELECT_ACTION6 ~Yep~

SAY SELECT_ACTION7 ~Okay~

SAY SELECT_RARE1 ~I'm ready.~

SAY SELECT_RARE2 ~I got it.~

SAY CRITICAL_HIT ~Yeah!~

SAY CRITICAL_MISS ~Damn!~

SAY TARGET_IMMUNE ~No effect?~

SAY INVENTORY_FULL ~It's too heavy!~



// This is compiling Mafew's dialogue

COMPILE ~Mafew/MS#Mafew.baf~

// This is adding our area file to the game

EXTEND_TOP ~AR0406.bcs~ ~Mafew/AR0406.baf~

// Add this to the end (Appends .2DA files in the game so that it recognises your NPC's files

APPEND ~pdialog.2da~

~MS#Mafew MS#MafewP MS#MafewJ MS#MafewDD MS#Maf25P MS#Maf25J MS#Maf25D MS#Mafe25~

UNLESS ~MS#Mafew~


APPEND ~interdia.2da~

~MS#Mafew MS#MafewB MS#MafB25~

UNLESS ~MS#Mafew~
Title: Re: Having modding troubles, in need of aid.
Post by: Wisp on September 20, 2009, 05:13:18 AM
NAME1 and NAME2 both need to be in all caps.
Title: Re: Having modding troubles, in need of aid.
Post by: Grim Squeaker on September 20, 2009, 05:44:43 AM
Code: [Select]
~MS#Mafew MS#MafewP MS#MafewJ MS#MafewDD MS#Maf25P MS#Maf25J MS#Maf25D MS#Mafe25~
Not a problem right now but will be later.  Filenames cannot be longer than 8 characters.  So you need to shorten MS#MafewP and a few others e.g., to MS#MfewP
Title: Re: Having modding troubles, in need of aid.
Post by: Truce on September 20, 2009, 10:22:36 AM
Thanks guys, god i feel like such a n00b about the name one and two cand beleive i didnt see it and thank you grim squeacker for the advice, i'll make all the nesacery adjustments but will i then need to go back and change everything i have as MS#Mafew to just MSMfew? sorry for my newbery and yeah you guys rock ^^
Title: Re: Having modding troubles, in need of aid.
Post by: Grim Squeaker on September 24, 2009, 08:40:57 AM
Well, MS#Mafew is fine, because it's 8 characters.  It's when you have MS#MafewP and MS#MafewJ that it's a problem because they're 9.
Title: Re: Having modding troubles, in need of aid.
Post by: theacefes on September 25, 2009, 02:38:56 AM
I'm sure you'll get around to it, but remember to put your email in there and remove mine. Not that I mind getting mod related questions but since it's not my mod....;)