Strife's Dialog System - UDMF Flavor

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Re: Strife's Dialog System - UDMF Flavor

Post by ImpieTwo »

I might've glossed over it, but is there a way to make it so the dialogue changes based on other level effects? For example, caged person asks you for help while their cage door is closed, then says something else once the door has been opened. Seems like it happened all the time in Strife, but I'm a little unsure how to go about it. Maybe that can be your next tutorial? (again, assuming I didn't miss it in the thread somehow)
User avatar
Zergeant
Posts: 107
Joined: Tue Aug 31, 2010 7:19 am
Location: Sweden

Re: Strife's Dialog System - UDMF Flavor

Post by Zergeant »

Everything you need for that is already in the tutorial. You should consider using a script via ACS for that problem and either change conversation ID of the prisoner or give the player an item when the door is open.
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Re: Strife's Dialog System - UDMF Flavor

Post by ImpieTwo »

Zergeant wrote:Everything you need for that is already in the tutorial. You should consider using a script via ACS for that problem and either change conversation ID of the prisoner or give the player an item when the door is open.
Problem is the mod is Heretic in Hexen Format, not UDMF, so there's no "conversation id" option. At the time I was using doom builder 2 and there wasn't a heretic udmf option.
User avatar
Zergeant
Posts: 107
Joined: Tue Aug 31, 2010 7:19 am
Location: Sweden

Re: Strife's Dialog System - UDMF Flavor

Post by Zergeant »

Hexen format still has ACS scripts though, which I'm pretty sure you can use to give an inventory item with.
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Re: Strife's Dialog System - UDMF Flavor

Post by ImpieTwo »

Zergeant wrote:Hexen format still has ACS scripts though, which I'm pretty sure you can use to give an inventory item with.
Yeah, I got your item-giving examples to work in it just fine. I just don't think I can use the conversation id trick cos it's not an option in that format, as far as the gui is concerned, so I dunno if it would still work or not.
Gez
 
 
Posts: 17833
Joined: Fri Jul 06, 2007 3:22 pm

Re: Strife's Dialog System - UDMF Flavor

Post by Gez »

ImpieTwo wrote:
Zergeant wrote:Everything you need for that is already in the tutorial. You should consider using a script via ACS for that problem and either change conversation ID of the prisoner or give the player an item when the door is open.
Problem is the mod is Heretic in Hexen Format, not UDMF, so there's no "conversation id" option. At the time I was using doom builder 2 and there wasn't a heretic udmf option.
GZDB-BF can flawlessly convert a Hexen format map to UDMF format.
pwnsevelt
Posts: 21
Joined: Sun Nov 17, 2013 5:25 pm

Re: Strife's Dialog System - UDMF Flavor

Post by pwnsevelt »

What's the role of ACS in the UDMF technique shown in this thread? It sounds like I need to set monster IDs, as if the ACS script is the lynchpin between the monster entities in Builder and the DIALOG00 and LANGUAGE lumps. I've been looking at built-in functions and I'm stuck at the core functionality in the script. I have a vague sense of what it is supposed to accomplish but I'm not sure how to translate it into the solution described above. It must be something painfully simple, because other tutorials or questions on UDMF focus on some other aspect, but never the ACS scripts. What am I missing? :oops:
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Re: Strife's Dialog System - UDMF Flavor

Post by ImpieTwo »

pwnsevelt wrote:What's the role of ACS in the UDMF technique shown in this thread? It sounds like I need to set monster IDs, as if the ACS script is the lynchpin between the monster entities in Builder and the DIALOG00 and LANGUAGE lumps. I've been looking at built-in functions and I'm stuck at the core functionality in the script. I have a vague sense of what it is supposed to accomplish but I'm not sure how to translate it into the solution described above. It must be something painfully simple, because other tutorials or questions on UDMF focus on some other aspect, but never the ACS scripts. What am I missing? :oops:
My understanding is that these examples work if you're making your map in UDMF format, which allows monsters to be assigned conversation IDs (really only necessary if you want two monsters of the same species to have two different conversation trees). I might have convoluted things by using Hexen format instead, which does NOT have the conversation ID option.

If you want, you can crack open Ghoul School 3D and look at the guts of "talkers.wad" for ready-made examples to look at and experiment with before you try it yourself. You'll need Heretic and Gzdoom to run it. All the conversation tricks I used there, I learned from this thread. Remember the Dialog lump number is respective to the map number.
pwnsevelt
Posts: 21
Joined: Sun Nov 17, 2013 5:25 pm

Re: Strife's Dialog System - UDMF Flavor

Post by pwnsevelt »

This is great! I cannot thank you enough. Its so helpful to have a complete implementation of all these pieces. Also, this wad sounds hilarious. I wish I had more time to play. Thanks again!
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Re: Strife's Dialog System - UDMF Flavor

Post by ImpieTwo »

pwnsevelt wrote:This is great! I cannot thank you enough. Its so helpful to have a complete implementation of all these pieces. Also, this wad sounds hilarious. I wish I had more time to play. Thanks again!
Well, I haven't tried using the shop example per se, but there are characters who give you items or change their dialogue when you carry a specific item.
Bael
Posts: 19
Joined: Sat Dec 02, 2017 3:15 pm

Re: Strife's Dialog System - UDMF Flavor

Post by Bael »

Is there any way to change the letters and the interface of the dialogues?
User avatar
ramon.dexter
Posts: 1520
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Strife's Dialog System - UDMF Flavor

Post by ramon.dexter »

Bael wrote:Is there any way to change the letters and the interface of the dialogues?
Letters? You mean font?

Yep, you can use different font, not for the whole game, not only for dialogues.

Only for dialogues? Write a new zscript dialogue handler, I think.
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Re: Strife's Dialog System - UDMF Flavor

Post by Niphura »

hi i´m using gzdoom builder and i also used doom builder and when I select an enemy the option to tick Stand still and Friendly does not appear. what is the problem?
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

Re: Strife's Dialog System - UDMF Flavor

Post by Mikk- »

You're possibly using the wrong map format. Are you using UDMF?
Bael
Posts: 19
Joined: Sat Dec 02, 2017 3:15 pm

Re: Strife's Dialog System - UDMF Flavor

Post by Bael »

Mikk- wrote:You're possibly using the wrong map format. Are you using UDMF?

I do not know, where can I see what map format I'm using? How can I use the udmf format?
Post Reply

Return to “Tutorials”