Oaks 28 Posted July 5, 2018 I've been using a mod that changes the sith that boards the ebon hawk in TSL from troopers to assassins, but the problem is that it doesnt change the message "*** XX sith assault troopers remain ***". My request is that someone tell me where can I change that message. Is it a dlg file? Or a script? Can someone give the name please? Quote Share this post Link to post Share on other sites
DarthParametric 3,783 Posted July 5, 2018 The lines are in dialog.tlk: <string id="113781">*** <CUSTOM30> Sith assault troopers remain ***</string> <string id="113782">*** 1 Sith assault trooper remains ***</string> <string id="113783">*** Sith Troopers have boarded the Ebon Hawk, prepare to repel boarders. ***</string> <string id="113784">*** All Sith assault troopers defeated ***</string> You'd need to edit those lines. Quote Share this post Link to post Share on other sites
Oaks 28 Posted July 5, 2018 Thanks. But tell me another thing is there a way to just change these lines when I install the game? Like when I install the mod sith troopers to sith assassin? Quote Share this post Link to post Share on other sites
DarthParametric 3,783 Posted July 6, 2018 It needs to be patched with TSLPatcher. Presumably you could add that to the assassin mod. Quote Share this post Link to post Share on other sites
Oaks 28 Posted July 7, 2018 Do you know of any mod that alters the dialog.tlk using TSLPatcher so that I can see what need to be done? Quote Share this post Link to post Share on other sites
Kexikus 995 Posted July 7, 2018 I might be wrong here but I think altering dialog.tlk is really difficult. It's something about having to recalculate the offset of all lines if the length of one line changes and I think that's why TSLPatcher cannot actually edit dialog.tlk. All it can do is to add lines at the end of dialog.tlk. Then you'd have to also edit the dlg files using the changed lines to point to your new lines. But if you do that, you could also just skip editing dialog.tlk by setting the StringRef in the dialog files to -1 and adding the text in there. Quote Share this post Link to post Share on other sites
DarthParametric 3,783 Posted July 7, 2018 Yeah, my bad, I didn't really explain it well. You need to duplicate the original lines and modify as appropriate, which are stored in append.tlk. This, as the name suggests, is appended to dialog.tlk. Then the relevant dialogues or scripts (in this case) need to be pointed to the new modified strrefs. This is all explained in the readme PDF that comes with TSLPatcher. Quote Share this post Link to post Share on other sites
A Future Pilot 161 Posted July 7, 2018 At some point soon I'll be creating a patch that gives the Sith Assassins lightsabers on Peragus/Ebon Hawk. When I do that, I can include a fix for this as a standalone option. Quote Share this post Link to post Share on other sites
ebmar 893 Posted July 7, 2018 On 7/5/2018 at 9:34 AM, DarthParametric said: The lines are in dialog.tlk: <string id="113781">*** <CUSTOM30> Sith assault troopers remain ***</string> <string id="113782">*** 1 Sith assault trooper remains ***</string> <string id="113783">*** Sith Troopers have boarded the Ebon Hawk, prepare to repel boarders. ***</string> <string id="113784">*** All Sith assault troopers defeated ***</string> You'd need to edit those lines. Hope what I'm doing is not out of the discussion here. Some added points to DP's explanation; there's this tool- "TLKEd" by @Fair Strides that can edit strings inside the dialog.tlk, I'm actually working with some typos with it. I did that with K1, and I'm not really sure if it will work with TSL. But as the bundled package itself is called TSLPatcher, I assume it will work like a charm too. A short example of how to run with it: Run TLKEd, and open the dialog.tlk file located inside the game installation folder. Go with the "Tools" button and click "Search...", after that you will get this appearance. And then on the "Text string" column, type what you wanted to find, and only with the keywords are fine; in this case they are "Sith assault troopers remain". Click the "Search" button on the left bottom of the window. From there you will find bunch of strings with the assigned keywords. Sorry that I don't have the proper screencap as I'm not yet install TSL on my PC, but everything is quite simple down there; just don't play around with anything 😁 Click twice [or access] the intended string, and this window will pop-up. There, edit the entry with your likings- and after you've done with the editing, Save the changes been made. From there, you will be shown this window again. If you have convinced no further changes were needed, save-overwrite the old dialog.tlk with the new-edited dialog.tlk. You can safely close the tool after. Hope that somewhat helps! Quote Share this post Link to post Share on other sites
Oaks 28 Posted July 7, 2018 54 minutes ago, ebmar said: Hope that somewhat helps! It didnt. What I need is something to work with TSLPatcher. Quote Share this post Link to post Share on other sites
ebmar 893 Posted July 7, 2018 1 minute ago, Oaks said: It didnt. What I need is something to work with TSLPatcher. My bad! I thought it was something about editing some lines inside dialog.tlk. 🤣 Quote Share this post Link to post Share on other sites
DarthParametric 3,783 Posted July 8, 2018 TalkEd is part of TSLPatcher. That's required for what I was talking about. Like I said, read the manual. Quote Share this post Link to post Share on other sites