Author Topic: Conversation issue, any tool I can use?  (Read 806 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Conversation issue, any tool I can use?
« on: February 26, 2012, 07:51:37 pm »


               Hey, I inherited a module and Im trying to fix one issue in conversations. The conversations uses the special action to update player's journal. However this does not update journal and quest status for players in party which is what I need.

Is there any way how to make this task easier? I dont know these conversations so currently I must search line after line and check whether is journal updated or not and then create special script that allow me to update status for all players in party.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Conversation issue, any tool I can use?
« Reply #1 on: February 26, 2012, 10:33:08 pm »


               You could try ignoring the conversation end of it entirely, and searching the scripts for the calls to update the journal entries.  I seem to remember discussions for a tool that can do that (Moneo?) on the boards, though I never looked into it.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Conversation issue, any tool I can use?
« Reply #2 on: February 26, 2012, 10:45:23 pm »


               there are no scripts for journal update, thats the issue
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Conversation issue, any tool I can use?
« Reply #3 on: February 26, 2012, 11:14:37 pm »


               Ah, I never use the journal options in the conversations themselves, attaching the journal update to a script instead so I have full contorl over what it does.  I actually didn't realize anyone but Bioware used those options.

 If there was an event that fired when a journal was updated, I suppose you could hook that, but I don't know if that's done even with nwnx.
               
               

               
            

Legacy_leo_x

  • Sr. Member
  • ****
  • Posts: 403
  • Karma: +0/-0
Conversation issue, any tool I can use?
« Reply #4 on: February 27, 2012, 06:02:17 pm »


               Why not Moneo?  I had an issue like this happen once this is what I used to find occurances.  It could easily be changed to modify the conversations.

%mod = '.mod';
for (%mod['*.dlg'])
{
    print "\\nConversation: $_\\n";
    for (/{'EntryList'}){
        if (/~/Quest ne '') {
            print "Quest ID: ", /~/Quest, " Journal Entry: ", /~/QuestEntry, "\\n";
            print "Actions Taken Script: ", /~/Script, "\\n";
            print "Text: ", /~/Text, "\\n"
        }
    }
    for (/{'ReplyList'}){
        if (/~/Quest ne '') {
            print "Quest ID: ", /~/Quest, " Journal Entry: ", /~/QuestEntry, "\\n";
            print "Actions Taken Script: ", /~/Script, "\\n";
            print "Text: ", /~/Text, "\\n"
        }
    }
}
%mod = '>';
close %mod;
               
               

               


                     Modifié par pope_leo, 27 février 2012 - 06:23 .
                     
                  


            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Conversation issue, any tool I can use?
« Reply #5 on: February 27, 2012, 07:18:19 pm »


               perfect pope_leo, I didnt knew that conversation have GFF structure, thanks a lot