Page 1 of 1

Can Dialog files be placed a PK3-style directory?

Posted: Fri Apr 22, 2022 12:57 pm
by Guest
I'm starting to mess around with Dialog and Conversations, but in my research it seems the Dialog or Dialogue files MUST be placed in the map WAD via SLADE.

Is there any way to have these files in a PK3 directory? And if so, where exactly? I've tried a few locations so far with no luck.

I have the rest of my mod files that way and would prefer to do as much there as possible.

Thanks!

Re: Can Dialog files be placed a PK3-style directory?

Posted: Fri Apr 22, 2022 1:44 pm
by Graf Zahl
THere's two options:

If you use UDMF they should be part of the map itself. Otherwise they go into the root directory.

Re: Can Dialog files be placed a PK3-style directory?

Posted: Sat Apr 23, 2022 1:11 am
by ramon.dexter
I've started to use this approach recently.
Just make a, for example, folder called /dialog in pk3 root. Then in the dialog part in udb you just have to refer these files with: include = "dialog/dialogfile.txt";

But keep in mind that you have to put your maps into /maps directory of the said pk3. If you keep your maps in separate .wad file outside of the pk3, this approach will not work and you have to put the dialogs directly into the wad itself.

Re: Can Dialog files be placed a PK3-style directory?

Posted: Sat Apr 23, 2022 1:51 am
by Graf Zahl
ramon.dexter wrote:I've started to use this approach recently.
Just make a, for example, folder called /dialog in pk3 root. Then in the dialog part in udb you just have to refer these files with: include = "dialog/dialogfile.txt";
I'd rather embed the dialog directly into the map unless there's a good reason not to.

Re: Can Dialog files be placed a PK3-style directory?

Posted: Sat Apr 23, 2022 9:23 am
by ramon.dexter
I used that approach. But when I had like 30 conversations in a map (each one consisting of at least 4-6 pages), it started to be hard to manage with the code on 4000 lines...

Re: Can Dialog files be placed a PK3-style directory?

Posted: Mon Apr 25, 2022 8:19 am
by ekhudson
Awesome, thanks folks! Glad to know there's a way to do this!