Ok My folder is named AllThingsMazzy. In it is my tp2 file: setup-AllThingsMazzy.tp2
Also 3 folders: dialogues, scripts, translations
Inside dialogues is: _bmainsa.d and _bmakosa.d
Inside scripts is: korgand.baf
Inside translations is a folder named english and inside that is _bmainsa.tra and _bmakosa.tra
_bmainsa.d and _bmainsa.tra work so I'm not bothering to post them. I don't really know what I'm doing with some of these files, I just read various guides and copied other mods as best I could, but I can't get the other files to work. They won't even show up correctly in Near Infinity after I install them (the installation works at least now).
The goal for the thing that is not working is we click "rest" at an inn and Korgan starts dialogue. It attempts to create and use a dream script file (korgand) as talked about here.
setup-AllThingsMazzy.tp2 looks like this:
Also 3 folders: dialogues, scripts, translations
Inside dialogues is: _bmainsa.d and _bmakosa.d
Inside scripts is: korgand.baf
Inside translations is a folder named english and inside that is _bmainsa.tra and _bmakosa.tra
_bmainsa.d and _bmainsa.tra work so I'm not bothering to post them. I don't really know what I'm doing with some of these files, I just read various guides and copied other mods as best I could, but I can't get the other files to work. They won't even show up correctly in Near Infinity after I install them (the installation works at least now).
The goal for the thing that is not working is we click "rest" at an inn and Korgan starts dialogue. It attempts to create and use a dream script file (korgand) as talked about here.
setup-AllThingsMazzy.tp2 looks like this:
korgand.baf looks like this (it's adding Korgan's dream script as mentioned here)
BACKUP ~AllThingsMazzy/backup~
AUTHOR ~BCaesar at caesarbran@gmx.com and BrianaC (Ratatoskr) ~
VERSION ~Version1.003~
AUTO_TRA ~AllThingsMazzy/translations/%s~
LANGUAGE ~english~
~english~
~AllThingsMazzy/translations/english/_bmainsa.tra~
~AllThingsMazzy/translations/english/_bmakosa.tra~
BEGIN ~All Things Mazzy~
// Adds CD_STATE_NOTVALID state
APPEND ~STATE.IDS~ ~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~
COMPILE ~AllThingsMazzy/dialogues/_bmainsa.d~
COMPILE ~AllThingsMazzy/dialogues/_bmakosa.d~
COMPILE ~AllThingsMazzy/scripts/korgand.baf~
_bmakosa.d looks like this:
IF
InParty("Myself")
InParty("Mazzy")
!StateCheck("Mazzy",CD_STATE_NOTVALID)
!StateCheck("Myself",CD_STATE_NOTVALID)
Global("_BKTRM","GLOBAL",0)
OR(11)
AreaCheck("AR0021") // City Gates - Crooked Crane 1st floor
AreaCheck("AR0313") // Docks - Sea's Bounty 1st floor
AreaCheck("AR0406") // Slums - Copper Coronet
AreaCheck("AR0509") // Bridge - Five Flagons 1st floor
AreaCheck("AR0513") // Bridge - Calbor's Inn 1st floor
AreaCheck("AR0522") // Bridge - Five Flagons 1st floor (stronghold)
AreaCheck("AR0704") // Waukeen's Promenade - Mithrest Inn
AreaCheck("AR0709") // Waukeen's Promenade - Den of the Seven Vales
AreaCheck("AR1105") // Umar Hills - Imnesvale Inn
AreaCheck("AR1602") // Brynnlaw - Brynnlaw Inn
AreaCheck("AR2010") // Trademeet - Vytori's Pub
THEN
RESPONSE #100
SetGlobal ("_BKTRM","GLOBAL",1)
MoveToObject(Player1)
Dialogue(Player1)
END
And lastly _bmakosa.tra looks like this:
BEGIN _bmakosa.d
APPEND KORGANJ
IF ~Global ("_BKTRM","GLOBAL",1) InParty("Mazzy") InParty("Korgan")~ THEN BEGIN _BKTRM0
SAY @0 /*Ye all go to sleep. I need a drink. I haven't been this parched since I was stranded in the Plains of Purple Dust fer three long weeks. I ever tell ye about that, lass? I had naught but me axe and a talking skull fer company. Now the skull...*/
IF ~~ THEN EXTERN MAZZYJ _BKTRM1
END
END
APPEND MAZZYJ
IF ~~ THEN BEGIN _BKTRM1
SAY @1 /*I do not want to hear your story, Korgan. I'm sure it is bloody and ultimately pointless so keep it to yourself. I am going to see the innkeeper about a bath.*/
IF ~~ THEN EXTERN PLAYER1 _BKTRM2
END
END
APPEND PLAYER1
IF ~~ THEN BEGIN _BKTRM2
SAY @2 /* You go into your room and are just falling asleep when you hear Korgan's berserker battle cry echo through the inn. */
IF ~~ THEN EXTERN KORGANJ _BKTRM3
END
END
APPEND KORGANJ
IF ~~ THEN BEGIN _BKTRM3
SAY @3 /*RAAAAAAGH!!*/
IF ~~ THEN EXIT
END
END
Any help would be appreciated. I also zipped and attached the files to this thread if you prefer to look at them directly. Also if you could tell me what I'm doing wrong rather than just editing it for me that would be great since I'm trying to figure this stuff out and I have lots of more coding to do (most of it is easier than what I'm attempting here, I just started with this because the writing is actually done and edited to basic satisfaction on this one).
@0 /*Korgan*/ = ~Ye all go to sleep. I need a drink. I haven't been this parched since I was stranded in the Plains of Purple Dust fer three long weeks. I ever tell ye about that, lass? I had naught but me axe and a talking skull fer company. Now the skull...~
@1 /*Mazzy*/ = ~I do not want to hear your story, Korgan. I'm sure it is bloody and ultimately pointless so keep it to yourself. I am going to see the innkeeper about a bath.~
@2 /*Narrator*/ = ~(You go into your room and are just falling asleep when you hear Korgan's berserker battle cry echo through the inn.)~
@3 /*Korgan*/ = ~RAAAAAAGH!!~







