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.

Dialog question -- copy/paste between .dlg files?

Page: 1 of 1
 sigsgev
08-26-2006, 4:21 AM
#1
Hi all

I was wondering if there's any tool that allows copy/paste of dialog nodes between DLG files. If there's a way right under my nose that I am missing, please consider this a noob question :).

Thanks
 Pavlos
08-26-2006, 4:47 AM
#2
Hi all

I was wondering if there's any tool that allows copy/paste of dialog nodes between DLG files. If there's a way right under my nose that I am missing, please consider this a noob question :).

Thanks

Tragically, no. tk102 doesn't use the Windows clipboard for his *.dlg editor - unlike with K-GFF. For this reason, you cannot copy between dialogue files. You could post a feature request in his thread here. (http://www.lucasforums.com/showthread.php?t=135639)

I don't know how likely a reply is, tk102 hasn't been around in a while.

Edit: Ugh! I can't believe I forgot to mention this. Open up your dialogues in K-GFF, it will look a bit strange, don't worry. Scroll down to the entry you wish to copy and paste it into the other file. It is not a precise art.
 stoffe
08-26-2006, 8:28 AM
#3
Ugh! I can't believe I forgot to mention this. Open up your dialogues in K-GFF, it will look a bit strange, don't worry. Scroll down to the entry you wish to copy and paste it into the other file. It is not a precise art.

If you do it this way, don't forget to update the TypeID of the structs after you've pasted them into the EntryList or ReplyList to the next free value, and to update the RepliesList (within the EntryList structs) and EntriesList (within the ReplyList structs) index fields to point to the new values, or your copied nodes may become orphaned and not part of the dialog tree.
 sigsgev
08-26-2006, 1:09 PM
#4
Thanks :)
 tk102
08-29-2006, 2:17 PM
#5
sigsgev - I considered adding this feature but it soon became clear how much headache would be involved doing so.

- Each node in the pasted branch would have to be renumbered
- Each link would have to reflect the renumbering
- Recursive references would have to be retested/added if the copied branch normally ended with "(Already listed)"
- Module-level script references copied to the new dialog may not fire correctly

The above is not impossible to accomplish, I just got discouraged as complexity revealed itself piece by piece and decided to work on other things.
Page: 1 of 1