View Full Version : Dialog Question
06-23-2006, 12:50 PM
I am trying to edit the dialog file for Disciple in the Jedi Enclave sub-levels - disc_enc, but there is a file by that same name that is used for the Khoonda visit.
How do I rename these files and get the game to accept them?
Can someone help? Thanks!
I noticed in the USM that t7nowhere (I think) had to do the same thing, but I can't figure out how it was done.
06-23-2006, 01:19 PM
Ahh, the joys of K2 modding and the genius of the developers reusing the same file names in multiple modules. :frown:
My best recomendation would be one of a couple different options. First you could merge the dialog files together. While this seems easy enough you will likely have to create a conditional script to determine which module you are in so the game can choose which dialog branch to follow. In fact you may wish to double check the USM now that I mention this to see if this is how T7 handled it.
Your other option would be to find where the dialog is fired from in the khoonda plains rename the khoonda plains dialog in it's references and rename the file. Likely there will be one maybe two files that you have to change the refrences in.
Most likely a script or 2 will be involved with either option. Now these are best guess solutions not that would likely work equally as well.
06-23-2006, 02:26 PM
I think I have it fixed...
(Thanks cjt0202 and Princess Artems)
And thanks to you. ;)
06-24-2006, 03:07 AM
For me looks more easy to remove oridinal disciple from enclave an spawn a clone. Same stats but my custom dialog.
06-24-2006, 03:51 AM
For me it is easily to edit originals (in sub-levels) Disciples conversation field and rename on the same manner his dialog name (Ex: you have changed his conversation Value(s) to to sub_enclave now rename his dialog name to sub_enclave.). I mean little *.utc editing.
06-25-2006, 12:28 AM
I renamed one of the disc_enc dilaog files to dis2_enc, then found the script controlling that dialog:
and edited this line in the script:
AssignCommand(oDisciple, ActionStartConversation(GetFirstPC(), "dis2_enc", 0, 0, 1,
Voilą! Worked like a charm :xp:
vBulletin®, Copyright ©2000-2016, Jelsoft Enterprises Ltd.