Skip to content

Is there anywhere I can find the banter for the BG1 NPC project?

GrumGrum Member, Mobile Tester Posts: 2,100
As an IOS user I can't have mods, but I'd like to at least be able to read the banters that are added. Is there someplace where I can read it?
JuliusBorisovQuartz

Comments

  • GrumGrum Member, Mobile Tester Posts: 2,100
    Anyone? Surely there is some BG scholar out there who can help this poor seeker of knowledge...
    JuliusBorisov
  • shawneshawne Member Posts: 3,239
    Just read the files in the "tra" directory with Notepad. It won't be clean or easy, but that's the best option.
    AstroBryGuy
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    edited August 2015
    A couple years ago, @vlader posted decompiled .d files for BG1NPC v20. That *might* be a little better than reading the .tra files (at least, it's easier to figure out who is saying each line, but you have all the dialog code to deal with).

    Here's the link: https://forums.beamdog.com/uploads/FileUpload/53/b565677c99a5fee88f6ed8e92b4f99.rar

    It's a big download, so here's a sample of what the .d files look like:
    IF WEIGHT #91 /* Triggers after states #: 25 34 39 111 112 113 114 117 118 119 120 121 123 124 125 126 129 130 131 133 176 177 178 179 180 181 311 334 372 401 436 471 499 543 570 591 614 650 659 693 694 711 732 748 770 771 780 799 825 837 877 902 909 910 916 929 941 947 955 957 963 966 969 972 977 984 988 1018 1042 1059 1060 1061 1078 1079 1091 1092 1101 1102 1116 1117 1118 1119 1120 1121 1125 1127 1128 even though they appear after this state */
    ~ Global("X#AjanSafanasBox","GLOBAL",2)
    ~ THEN BEGIN 12 // from:
    SAY #36165 /* ~It is... a real wonder how some women burden themselves with heavy equipment...~ */
    IF ~~ THEN REPLY #20080 /* ~What do you mean?~ */ GOTO 13
    IF ~~ THEN REPLY #36166 /* ~Are you referring to the box Safana gave you?~ */ GOTO 17
    IF ~~ THEN REPLY #36167 /* ~I am more wondering about the stupidity of men, offering to carry it for them.~ */ GOTO 13
    IF ~~ THEN REPLY #36168 /* ~I don't want to talk about it, Ajantis.~ */ GOTO 19
    END

    IF ~~ THEN BEGIN 13 // from: 12.2 12.0
    SAY #36169 /* ~Actually, *cough* I was referring to the box Safana gave me...~ */
    IF ~~ THEN GOTO 18
    END

    IF ~~ THEN BEGIN 14 // from: 18.1
    SAY #36170 /* ~I did so only with the true intention to support and help my leader... who also tends to be a very special person...~ */
    IF ~~ THEN GOTO 15
    END

    IF ~~ THEN BEGIN 15 // from: 20.0 19.0 18.4 16.0 14.0
    SAY #36171 /* ~As much as I appreciate being able to help, I have the slight suspicion this box might actually be filled with stones... I will carry it a little longer, but my helpfulness in that matter should end eventually, as this is slowing me down unnecessarily.~ */
    IF ~~ THEN DO ~SetGlobalTimer("X#AjanDestroyBoxT","GLOBAL",FIVE_DAYS)
    SetGlobal("X#AjanSafanasBox","GLOBAL",3)
    ~ EXIT
    END

    IF ~~ THEN BEGIN 16 // from: 18.3 18.2
    SAY #36172 /* ~My lady! There is nothing "going on"... from my side, at least.~ */
    IF ~~ THEN GOTO 15
    END

    IF ~~ THEN BEGIN 17 // from: 12.1
    SAY #36173 /* ~That, indeed, is what I am referring to...~ */
    IF ~~ THEN GOTO 18
    END

    IF ~~ THEN BEGIN 18 // from: 17.0 13.0
    SAY #36174 /* ~It is an honour to help a frail companion to bear a burden, but in this case I have to confess it is unexpectedly... heavy.~ */
    IF ~~ THEN REPLY #36175 /* ~I do not appreciate that you let yourself be encumbered with other comrades' things, Ajantis. I need your full fighting prowess, should enemies attack.~ */ GOTO 20
    IF ~ Global("X#AjantisRomanceActive","GLOBAL",1)
    GlobalGT("X#AjantisRomanceIniFlirt","GLOBAL",2)
    ~ THEN REPLY #36176 /* ~I was wondering about that, Ajantis. You offered to carry some heavy things for me, too...~ */ GOTO 14
    IF ~ Global("X#AjSA1","LOCALS",1)
    ~ THEN REPLY #36177 /* ~I was wondering what is going on between you two anyhow, Ajantis... Seeing how you tend to speak to each other.~ */ GOTO 16
    IF ~ Global("X#AjantisRomanceActive","GLOBAL",2)
    ~ THEN REPLY #36178 /* ~Is there something going on between you and Safana, Ajantis?~ */ GOTO 16
    IF ~~ THEN REPLY #36179 /* ~You took it, now you carry it. Easy decision.~ */ GOTO 15
    END

    IF ~~ THEN BEGIN 19 // from: 12.3
    SAY #36180 /* ~Then I will only say that the box Safana handed over to me is... heavy.~ */
    IF ~~ THEN GOTO 15
    END

    IF ~~ THEN BEGIN 20 // from: 18.0
    SAY #36181 /* ~I assure you, that my fighting abilities are unharmed by the weight I carry, lady . But I agree with you, that there are situations where it could be a hindrance.~ */
    IF ~~ THEN GOTO 15
    END
    GrumJuliusBorisovQuartz
  • GrumGrum Member, Mobile Tester Posts: 2,100
    edited August 2015
    Thank you! Though I downloaded it...and now what? What program do I need to have to open a .d file?
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    They are just text files. Any text editor should be able to open them.
    JuliusBorisov
  • GrumGrum Member, Mobile Tester Posts: 2,100
    As you can see...I think computers run on pixie dust and are made by gnomish artisans. :expressionless:
    JuliusBorisovQuartz
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    Grum said:

    As you can see...I think computers run on pixie dust and are made by gnomish artisans. :expressionless:

    No problem! Windows/OSX won't know they are text files automatically. Notepad/Text Editor (or your text editor of choice) should be able to open them from the Open File dialog. On OSX, I can just drag and drop the files onto the app icon.
    JuliusBorisov
Sign In or Register to comment.