Jump to content


Photo

Banter problems


  • Please log in to reply
11 replies to this topic

#1 The Amazing Maurice

The Amazing Maurice

    Did-a-chick? Dad-a-cham? Ded-a-check?

  • Member
  • 388 posts

Posted 07 August 2004 - 09:15 AM

I knew it was going all too well <_<

I'm having a problem getting my banters to work. I'll post this one as an example, as it's the one i'm testing. (BTW these all compile fine with no errors)

CHAIN
IF ~InParty("BR#Brag")
See("BR#Brag")
!StateCheck("BR#Brag",STATE_SLEEPING)
Global("BragViccy","LOCALS",0)~ THEN BVICONI viccy1
~Blah Blah Blah~
DO ~SetGlobal("BragViccy","LOCALS",1)~
== BBR#Bra
~Blah Blah.~
== BVICONI
~Blah Blah Blah.~
== BBR#Bra
Etc....
END

Viconia says her line with no problems, but when it comes to Brage the banter cuts out and goes back to the game :huh:

Any ideas? :)

BTW I've tried changing the LOCALS for GLOBAL and the END for EXIT. Both make no difference.

#2 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 07 August 2004 - 09:36 AM

Don't end a CHAIN with an END, always use EXIT.

Then, are you sure that the banter-dlg for Brage is BBR#Bra? Would you mind posting the APPEND ~pdialog.2da~-section from the tp2?

Here's a working banter from Hubelpot:

CHAIN IF ~InParty("Minsc")
See("Minsc")
!StateCheck("Minsc",STATE_SLEEPING)
Global("SC#HubMin","LOCALS",0)~ THEN BSC#Hub min1
~Blah?~ DO ~SetGlobal("SC#HubMin","LOCALS",1)~
== BMINSC ~Blah?~
== BSC#Hub ~Blah!~
== BMINSC ~Blah.~
== BSC#Hub ~Blah!~
== BMINSC ~Blah.~
== BSC#Hub ~Blah?~
== BMINSC ~Blah?~
== BSC#Hub ~Blah!~
== BMINSC ~Blah!~
== BSC#Hub ~Blah.~
EXIT

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#3 The Amazing Maurice

The Amazing Maurice

    Did-a-chick? Dad-a-cham? Ded-a-check?

  • Member
  • 388 posts

Posted 07 August 2004 - 09:40 AM

To be honest I didn't even know that the banter dlg was part of the pdialog.2da...

APPEND ~pdialog.2da~
~BR#Brag BR#BragP BR#BragJ BR#BragD~
UNLESS ~BR#Brag~
UNLESS ~25POST~

I thought it went DV, Kickout, Join/Interject, Dream?

Is banter part of the J as well?

#4 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 07 August 2004 - 09:41 AM

Sorry, I meant the APPEND ~interdia.2da~.

My bad.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#5 The Amazing Maurice

The Amazing Maurice

    Did-a-chick? Dad-a-cham? Ded-a-check?

  • Member
  • 388 posts

Posted 07 August 2004 - 10:02 AM

Sure...

APPEND ~interdia.2da~
~BR#Brag BBR#Bra.d~
UNLESS ~BR#Brag~
UNLESS ~25FILE~

#6 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 07 August 2004 - 10:03 AM

Alright... Do you have ToB installed?

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#7 The Amazing Maurice

The Amazing Maurice

    Did-a-chick? Dad-a-cham? Ded-a-check?

  • Member
  • 388 posts

Posted 07 August 2004 - 10:16 AM

Nope.

#8 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 07 August 2004 - 10:18 AM

Would you mind posting/attaching/mailing the whole .d?

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#9 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 07 August 2004 - 10:26 AM

Sure...

APPEND ~interdia.2da~
~BR#Brag      BBR#Bra.d~
UNLESS ~BR#Brag~
UNLESS ~25FILE~

I'm pretty sure you shouldn't be using the .d extension when appending to your interida.2da. Try removing that and see if it works.

#10 The Amazing Maurice

The Amazing Maurice

    Did-a-chick? Dad-a-cham? Ded-a-check?

  • Member
  • 388 posts

Posted 07 August 2004 - 10:28 AM

O.k I'll try it :)

@SConrad I mailed you the .d

#11 The Amazing Maurice

The Amazing Maurice

    Did-a-chick? Dad-a-cham? Ded-a-check?

  • Member
  • 388 posts

Posted 07 August 2004 - 10:33 AM

I removed it & it worked fine! :D

Cheers guys :)

#12 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 07 August 2004 - 10:36 AM

Sure...

APPEND ~interdia.2da~
~BR#Brag      BBR#Bra.d~
UNLESS ~BR#Brag~
UNLESS ~25FILE~

I'm pretty sure you shouldn't be using the .d extension when appending to your interida.2da. Try removing that and see if it works.

I need to get bigger glasses... :huh:

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner