cirerrek Posted February 25, 2006 Share Posted February 25, 2006 Somehow, Corneil's dialog has gotten broken in my install. He says: Well...for one, you must make a monetary sacrifice. After that, we allow you to use magic in the city. Blah blah. The only response I have is 1) I see, well, I'm not interested. I've got the necessary 5,000gp, so I'm not sure what is up. I know zip about dialog editing, so I really can't tell what is wrong with his dialog (CORNEIL.DLG). Any way I could suck it out of the game and have someone look at it and figure out what might be broken? Thanks, Link to comment
jastey Posted February 25, 2006 Share Posted February 25, 2006 Actually, all I can see is a reputation check: IF ~~ THEN BEGIN 8 // from: 7.0 6.1 SAY #59583 /* ~Well...for one, you must make a monetary sacrifice. After that, we allow you to use magic in the city. Blah blah. (sorry, I have the German version, so I am translating - jastey)~ */ IF ~ReputationGT(LastTalkedToBy,3)~ THEN REPLY #59584 /* ~And how high would that "monetary sacrifice" be?~ */ GOTO 9 IF ~ReputationLT(LastTalkedToBy,4)~ THEN REPLY #59589 /* ~And how high would that "monetary sacrifice" be?~ */ GOTO 10 IF ~~ THEN REPLY #59585 /* ~I see, well, I'm not interested~ */ GOTO 5 END I have no idea why "ReputationGT(LastTalkedToBy,3)" would be broken. Maybe it's a good idea if you WeiDu'd this block out of your game and put it here. (And I just noticed an eror in the German version: It sais 50,000 gp in the text...) Link to comment
cirerrek Posted February 25, 2006 Author Share Posted February 25, 2006 I have no idea why "ReputationGT(LastTalkedToBy,3)" would be broken. Maybe it's a good idea if you WeiDu'd this block out of your game and put it here. <{POST_SNAPBACK}> Thanks for looking at this Jastey. I'd be happy to WeiDU the block out of the game if I could only figure out how. I've haven't found anything in the docs that says this is how you extract a dialogue file. Link to comment
devSin Posted February 25, 2006 Share Posted February 25, 2006 You just invoke weidu normally (however it looks on Windows), give the dialogue file (it will automatically find it in the override or BIFFs), and then specify an optional out. For me: weidu CORNEIL.DLG --out ~/Desktop When this is done, CORNEIL.DLG is decompiled, and CORNEIL.D is created on the desktop. Post the D code here. I looked last night and was going to reply, but I guess I didn't. There's nothing in the default dialogue that would cause this though. Link to comment
cirerrek Posted February 25, 2006 Author Share Posted February 25, 2006 You just invoke weidu normally (however it looks on Windows), give the dialogue file (it will automatically find it in the override or BIFFs), and then specify an optional out. For me:weidu CORNEIL.DLG --out ~/Desktop When this is done, CORNEIL.DLG is decompiled, and CORNEIL.D is created on the desktop. Post the D code here. I looked last night and was going to reply, but I guess I didn't. There's nothing in the default dialogue that would cause this though. <{POST_SNAPBACK}> Okay for the slower than normal. I tried the code you posted (to desktop) and even tried dumping the file to a folder I know exists and nothing is happening. WeiDU just closes after I hit ENTER. No file is output to anywhere that I can ascertain. WeiDU v189. Link to comment
devSin Posted February 25, 2006 Share Posted February 25, 2006 I don't know how it would look on Windows, unfortunately. If you just do weidu CORNEIL.DLG, it should create the D in the current working directory (which should be the BG2 directory, unless you're using --game). Link to comment
Celissa Posted February 25, 2006 Share Posted February 25, 2006 Well, when I've used WeiDU to pull dialogue files out of the game for my review, I typically have WeiDU in its own folder along with my other modding tools, not in with the game. Usually, I'd just type weidu corneil.dlg and hit enter there. WeiDU automatically pulls out whatever file I wanted and spits out the .d into the folder that weidu.exe is in. I hope that makes sense. I'm a bit tired at the moment. Link to comment
jastey Posted February 25, 2006 Share Posted February 25, 2006 cirerrek: You have to open one of the command windows (I hope that's the English term, I mean one the little black windows where you can type in commands), change the path into the BGII main directory, and then typing in the "weidu corneil.dlg" will lead weidu to compile the dialogue and drop the .D into the SoA directory. For this you have to have weidu.exe in this directory, of course. Link to comment
cirerrek Posted February 25, 2006 Author Share Posted February 25, 2006 cirerrek: You have to open one of the command windows (I hope that's the English term, I mean one the little black windows where you can type in commands), change the path into the BGII main directory, and then typing in the "weidu corneil.dlg" will lead weidu to compile the dialogue and drop the .D into the SoA directory. For this you have to have weidu.exe in this directory, of course. <{POST_SNAPBACK}> Jastey's method worked. IF ~~ THEN BEGIN 8 // from: 7.0 6.1 SAY #59583 /* ~Well... for one, you must make a monetary... sacrifice. After that, we allow you to use magic in the city. Should you prove to be deviant, you lose your rights.~ */ IF ~!IsValidForPartyDialog("J#Kelsey") GlobalGT("D0Happiness","LOCALS",3)~ THEN REPLY #59584 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 9 IF ~!IsValidForPartyDialog("J#Kelsey") GlobalGT("D0Happiness","LOCALS",4)~ THEN REPLY #59589 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 10 IF ~!IsValidForPartyDialog("J#Kelsey")~ THEN REPLY #59585 /* ~I see. Well, I'm not interested.~ */ GOTO 5 IF ~GlobalGT("D0Happiness","LOCALS",3) IfValidForPartyDialogue("J#Kelsey") ~ THEN REPLY #59589 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ EXTERN ~J#KLSYJ~ 145 IF ~GlobalGT("D0Happiness","LOCALS",4) IfValidForPartyDialogue("J#Kelsey") ~ THEN REPLY #59584 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 10 END I think this is the offending block. Let me know if you need more. Thanks, Cirerrek Link to comment
CamDawg Posted February 25, 2006 Share Posted February 25, 2006 IF ~~ THEN BEGIN 8 // from: 7.0 6.1 SAY #59583 /* ~Well... for one, you must make a monetary... sacrifice. After that, we allow you to use magic in the city. Should you prove to be deviant, you lose your rights.~ */ IF ~!IsValidForPartyDialog("J#Kelsey") GlobalGT("D0Happiness","LOCALS",3)~ THEN REPLY #59584 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 9 IF ~!IsValidForPartyDialog("J#Kelsey") GlobalGT("D0Happiness","LOCALS",4)~ THEN REPLY #59589 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 10 IF ~!IsValidForPartyDialog("J#Kelsey")~ THEN REPLY #59585 /* ~I see. Well, I'm not interested.~ */ GOTO 5 IF ~GlobalGT("D0Happiness","LOCALS",3) IfValidForPartyDialogue("J#Kelsey") ~ THEN REPLY #59589 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ EXTERN ~J#KLSYJ~ 145 IF ~GlobalGT("D0Happiness","LOCALS",4) IfValidForPartyDialogue("J#Kelsey") ~ THEN REPLY #59584 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 10 END Virtue is rampaging. I'm guessing you have D0Happiness of less than 4 and a non-valid Kelsey? If you had a valid Kelsey you'd have no reponses at all. Try temporarily bumping your D0Happiness variable >= 4 and try again. Link to comment
cirerrek Posted February 25, 2006 Author Share Posted February 25, 2006 IF ~~ THEN BEGIN 8 // from: 7.0 6.1  SAY #59583 /* ~Well... for one, you must make a monetary... sacrifice.  After that, we allow you to use magic in the city.  Should you prove to be deviant, you lose your rights.~ */  IF ~!IsValidForPartyDialog("J#Kelsey") GlobalGT("D0Happiness","LOCALS",3)~ THEN REPLY #59584 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 9  IF ~!IsValidForPartyDialog("J#Kelsey") GlobalGT("D0Happiness","LOCALS",4)~ THEN REPLY #59589 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 10  IF ~!IsValidForPartyDialog("J#Kelsey")~ THEN REPLY #59585 /* ~I see.  Well, I'm not interested.~ */ GOTO 5  IF ~GlobalGT("D0Happiness","LOCALS",3) IfValidForPartyDialogue("J#Kelsey") ~ THEN REPLY #59589 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ EXTERN ~J#KLSYJ~ 145  IF ~GlobalGT("D0Happiness","LOCALS",4) IfValidForPartyDialogue("J#Kelsey") ~ THEN REPLY #59584 /* ~And just how much is this 'monetary sacrifice', exactly?~ */ GOTO 10 END Virtue is rampaging. I'm guessing you have D0Happiness of less than 4 and a non-valid Kelsey? If you had a valid Kelsey you'd have no reponses at all. Try temporarily bumping your D0Happiness variable >= 4 and try again. <{POST_SNAPBACK}> Hmmm, my Virtue is 15 and My Reputation is 10. I'll try increasing D0Happiness and see what happens. thanks, cirerrek Link to comment
devSin Posted February 26, 2006 Share Posted February 26, 2006 It's Corneil's D0Happiness. Either a bug (should be GLOBAL), or you've somehow pissed off Corneil (I've never looked at Virtue, so I don't know what's supposed to be going on). Link to comment
cirerrek Posted February 26, 2006 Author Share Posted February 26, 2006 Thanks for the assistance everyone. I've bumped this over to the Virtue forum at PPG http://forums.pocketplane.net/index.php/topic,21698.0.html Hopefully Mr. Ding0 will know what is up. Thanks, Link to comment
SimDing0 Posted February 27, 2006 Share Posted February 27, 2006 Yeah, it looks like I'm gay. Will fix. Link to comment
the bigg Posted February 27, 2006 Share Posted February 27, 2006 Yeah, it looks like I'm gay. <{POST_SNAPBACK}> Thanks for the quote, man Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.