Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Disciple conversation and DLGEditor help

Page: 1 of 1
 Anutha1
12-23-2006, 10:20 PM
#1
I am totally lost in trying to figure out why I keep failing the one part of my conversation with Disciple. The part where he says the following lines... "It is difficult to follow the Jedi Code, when so few others have. But you know this." Anyway, I opened it using the DLGEditor but heck if I can understand all the conditions and variables that are in effect for this part of our conversation. Can anyone shed some light on this subject for this noob? Thanks.

p.s. BTW - If it matters, I'm using DLGEditor version 2.3.0
 Tupac Amaru
12-25-2006, 1:26 PM
#2
The conditions for the Influence: Falilure or Success lines are in Entry 280. The failure line is chosen if your influence with Disciple is between 26 and 74 or the global 000_Disc_Jedi_Prob is greater than 0. The problem is that by the time you reach this line, the global 000_Disc_Jedi_Prob is going to be greater than 0, so that condition is true and the the game will now always choose the failure line.

To fix it replace 'c_globa_gt' with 'c_global_eq' in conditional #2 of Entry 280.
 Anutha1
12-27-2006, 9:12 PM
#3
Cool, thanks for the help and the info TA. Okay, for my own understanding here, I seen that there are five boxes as far as the numeric variables are concerned. The from being 26 and the to being 74, so what or how is the first box's variable (11) figured/factored into this? The fourth and fifth box are both empty so they don't come into play here but that first one does, doesn't it? If so, how exactly, if you don't mind taking the time to explain it? None of the dialogue editor instructions out there that I've come across go into enough detail for me to understand.

On another note, I've come across another dialogue issue I'd like to figure out why it's always ending the way it is. This one being, the Zherron dialogue where he will initially offer you 2000 credits for clearing out the Kinrath caves. It appears like you have the option/ability to be able to persuade him to raise that amount but no matter what I try, I always ending up failing this check. As far as this is concerned, I have no idea what file this particular dialogue resides in even?
 Tupac Amaru
12-28-2006, 9:10 AM
#4
Cool, thanks for the help and the info TA. Okay, for my own understanding here, I seen that there are five boxes as far as the numeric variables are concerned. The from being 26 and the to being 74, so what or how is the first box's variable (11) figured/factored into this?The first variable identifies the NPC to check. Each character has an NPC constant. 11 means the Disciple. The constants for the other NPCs are:
0 Atton
1 BaoDur
2 Mand
3 g0t0
4 Handmaiden
5 hk47
6 Kreia
7 Mira
8 T3m4
9 VisasMarr
10 Hanharr

The fourth and fifth box are both empty so they don't come into play here but that first one does, doesn't it? If so, how exactly, if you don't mind taking the time to explain it? None of the dialogue editor instructions out there that I've come across go into enough detail for me to understand.You can find out which parameters are used in the source code for the script. The source for a lot of (but not all) scripts along with the programmers' comments can be found with Kotor Tool under BIFs -> scripts.bif -> Script, source.

The boxes aren't really empty, btw. They have a value of 0 which can be used by scripts. In the case of c_influence_bet, if you left all parameters at 0, it would check if you have 0 influence with Atton.

This one being, the Zherron dialogue where he will initially offer you 2000 credits for clearing out the Kinrath caves. It appears like you have the option/ability to be able to persuade him to raise that amount but no matter what I try, I always ending up failing this check. As far as this is concerned, I have no idea what file this particular dialogue resides in even?The file is zherron.dlg in 602DAN_dlg.erf. As far as I can tell Zherron truely doesn't barter. :) There is no way to persuade him.
 Anutha1
12-28-2006, 3:10 PM
#5
You can find out which parameters are used in the source code for the script. The source for a lot of (but not all) scripts along with the programmers' comments can be found with Kotor Tool under BIFs -> scripts.bif -> Script, source.

I think the only two tools I have at this time are the save game editor (KSE) and tk102's DLGEditor. Is there only one version of this Kotor Tool out there or are there numerous ones available? If there are numerous ones available, which one do you recommend?

The boxes aren't really empty, btw. They have a value of 0 which can be used by scripts. In the case of c_influence_bet, if you left all parameters at 0, it would check if you have 0 influence with Atton.

Understood. Again, you'll have to forgive my ignorance. :D

The file is zherron.dlg in 602DAN_dlg.erf.

I couldn't even find any file with zherron in it's title when I did my search. Do I need the Kotor Tool application to be able to extract and view this file or will I be able to view this particular file with the DLGEditor program I made mention of previously?

Thanks again TA. Sorry for all the questions but I'm at work right now so I don't have access to my PC where my game and the programs are located so I can't check on any of this right now. Now let me end this with an appropriate smiley on my behalf. :newbie:
 Kitty Kitty
12-28-2006, 3:31 PM
#6
I think the only two tools I have at this time are the save game editor (KSE) and tk102's DLGEditor. Is there only one version of this Kotor Tool out there or are there numerous ones available? If there are numerous ones available, which one do you recommend?

To be honest, I haven't messed around with too much dialogue editing for a very long time. I'd have to get in there and look around to remember exactly what you need to use in order to do what specifically.

I will say however that for anyone who wants to mod either of the KotOR games, Kotor Tool is practically a must have, and certainly can usually make life a whole lot easier, even if there are in fact ways to do something which don't technically require it.

Far as I know, the latest version is Kotor Tool v1.0.2210.16738. You can find links to it several places, such as the main Kotor Tool sticky over in the Kotor Tool sub-forum of T3-M4's Astromech Droid Center. There's an up to date link to the site right in the lead post.

Once on the site, there's a menu in the top banner graphic with a Downloads button. Click that, then the tool itself is right up near the top.

I would suggest browsing the site a little, as well as the readme file, to get a little idea of all the things the tool can do. It really is quite the 'Swiss army knife', even if poor Fred still hasn't gotten his rig up and running in order to finish work on the latest build he was last working on.

-Kitt
 Tupac Amaru
12-28-2006, 7:05 PM
#7
I couldn't even find any file with zherron in it's title when I did my search. Do I need the Kotor Tool application to be able to extract and view this file or will I be able to view this particular file with the DLGEditor program I made mention of previously?Kotor Tool has a built in dialog editor, however it is only compatible with K1 dialogs. To view TSL dialogs, first extract the dlg file from the .erf archive with Kotor Tool. Then open the extracted file in the DLGEditor.
 Anutha1
01-21-2007, 6:00 PM
#8
BTW - just wanted to say thanks for the earlier help guys. Noticed I never replied with a thank you. It's funny, every time I think I'm taking a step forward in understanding all of the conditions and variables in any given conversation, it seems like I'm taking two steps back at the same time. Oh well, that's what makes it so fun.
Page: 1 of 1