Author Topic: Is it possible to have a module-specific dialog.tlk?  (Read 568 times)

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« on: October 21, 2014, 09:22:33 pm »


               

Well, there is quite a lot of changes that I have made in my module, regarding all sorts of things - spells, feats, skills...


I figured that if I let players know how all this stuff works now from in-game descriptions and not only from some external documentation file, it would be nice.


 


But is it possible to have a module-specific dialog.tlk? Obviously, I wouldn't want these descriptions to be incorrect when playing a different (unmodified) module. And I don't want players to replace their dialog.tlk file whenever they decide to switch from my module to another one or vice versa.



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #1 on: October 21, 2014, 11:52:11 pm »


               

While it is possible it is probably not desirable. One thing you didn't say is whether this is single player, pw or lan. If it is single player don't forget the module description for imparting information (way too many early modules have a blank description). If you are worried that players won't bother actually read it you can try what I did in the first module I published "Hrothgar's Resting Place". Feel free to filch anything you want from it, just give credit for anything you take.


 


TR



               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #2 on: October 22, 2014, 12:59:02 am »


               

I'm not understanding why this has to be in dialog.tlk rather than a custom TLK file. Can you explain that?


 


I can't see a reason for it.



               
               

               
            

Legacy_MrZork

  • Hero Member
  • *****
  • Posts: 1643
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #3 on: October 22, 2014, 05:20:03 am »


               Perhaps the OP wants to change the descriptions of spells, feats, etc. without changing the string refs in the 2DAs?
               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #4 on: October 22, 2014, 05:52:38 am »


               

What MrZork said.


My module is single-player/LAN. What do you mean it's possible but not desirable?



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #5 on: October 22, 2014, 06:11:44 am »


               

You need to edit 2das, and have custom hak and custom TLK. Changing dialog.tlk is evil and always a bad idea for a SP/PW module.


 


There is no need for custom TLK other than to avoid having haks, but when they have to download something, even optionally, I dont really see any advantage...



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #6 on: October 22, 2014, 12:02:56 pm »


               

It is undesirable because it is the standard .tlk file. This means that it affects every single module/hak/etc that doesn't use a custom .tlk file. This means that you will have builders pulling their out when someone installs your dialog.tlk over the original one and then gets "bugs" in other peoples modules. 


 


The proper way to go about this is to create your own custom .tlk file with a different name (i.e. your_mod.tlk) and then set the module to use that instead in the module properties. You will find that is the way it is done with modules that use the CEP etc.


 


TR



               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #7 on: October 22, 2014, 02:57:24 pm »


               

Ah, alright. I know that already and that's why I asked if there is a way to make a module-specific custom dialog.tlk.


Well, fine, then, looks like I will have to do it with a custom tlk and 2da editing.


 


Thanks. '<img'>



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #8 on: October 22, 2014, 05:31:20 pm »


               


Ah, alright. I know that already and that's why I asked if there is a way to make a module-specific custom dialog.tlk.


Well, fine, then, looks like I will have to do it with a custom tlk and 2da editing.


 


Thanks. '<img'>




I haver custom PW launcher that can load custom dialog.tlk but I dropped that concept and moved all spell changes to new lines anyway. Not worth it, the only thing you might need is armor changes, I found out that custom tlk reference for armor description doesnt work.


               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Is it possible to have a module-specific dialog.tlk?
« Reply #9 on: October 24, 2014, 01:47:43 am »


               


I haver custom PW launcher that can load custom dialog.tlk but I dropped that concept and moved all spell changes to new lines anyway. Not worth it, the only thing you might need is armor changes, I found out that custom tlk reference for armor description doesnt work.




 


Hm, I don't think I'll need to modify these anyway. Thanks for letting me know, though!