Can Dialog files be placed a PK3-style directory?

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Can Dialog files be placed a PK3-style directory?

Postby Reuben Pusslenotch » Fri Apr 22, 2022 12:57 pm

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!
Reuben Pusslenotch
 

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

Postby Graf Zahl » Fri Apr 22, 2022 1:44 pm

THere's two options:

If you use UDMF they should be part of the map itself. Otherwise they go into the root directory.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby ramon.dexter » Sat Apr 23, 2022 1:11 am

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.
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby Graf Zahl » Sat Apr 23, 2022 1:51 am

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby ramon.dexter » Sat Apr 23, 2022 9:23 am

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...
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby ekhudson » Mon Apr 25, 2022 8:19 am

Awesome, thanks folks! Glad to know there's a way to do this!
ekhudson
 
Joined: 22 Apr 2022


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 1 guest