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!
Can Dialog files be placed a PK3-style directory?
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.
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.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can Dialog files be placed a PK3-style directory?
THere's two options:
If you use UDMF they should be part of the map itself. Otherwise they go into the root directory.
If you use UDMF they should be part of the map itself. Otherwise they go into the root directory.
-
- Posts: 1562
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Can Dialog files be placed a PK3-style directory?
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.
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.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can Dialog files be placed a PK3-style directory?
I'd rather embed the dialog directly into the map unless there's a good reason not to.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";
-
- Posts: 1562
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Can Dialog files be placed a PK3-style directory?
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...
-
- Posts: 1
- Joined: Fri Apr 22, 2022 12:52 pm
Re: Can Dialog files be placed a PK3-style directory?
Awesome, thanks folks! Glad to know there's a way to do this!