What Is the GZDoom Strife Dialog Format v1.0?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

What Is the GZDoom Strife Dialog Format v1.0?

Postby Master O » Thu Feb 21, 2019 8:23 am

Based on the github below:

https://github.com/coelckers/gzdoom/com ... 4a05532f1b

What does the GZDoom Strife Dialog Format specifically do?
User avatar
Master O
 
Joined: 14 Feb 2015

Re: What Is the GZDoom Strife Dialog Format v1.0?

Postby Nash » Thu Feb 21, 2019 9:35 am

The biggest change so far is that pages can be named using strings, and links can take in a string referring to the name of the page to link to.

Take the following sample conversation file: https://hastebin.com/unevuroxac.php

If you want to do any kind of complex dialog scripting with dynamic choices and outcomes, automatic page numbers in the previous format simply wouldn't fly. It would be too cumbersome to edit.

With page names, things become MUCH more manageable.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: What Is the GZDoom Strife Dialog Format v1.0?

Postby Rachael » Thu Feb 21, 2019 9:47 am

One thing I should've done when designing this was allow you to specify the page name before the opening curly brace (like how you define actors in DECORATE), rather than require a separate entry for it.

[/lessons-learned]
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: What Is the GZDoom Strife Dialog Format v1.0?

Postby Nash » Thu Feb 21, 2019 1:41 pm

Rachael wrote:One thing I should've done when designing this was allow you to specify the page name before the opening curly brace (like how you define actors in DECORATE), rather than require a separate entry for it.

[/lessons-learned]


There's still time to change it... I think I'm the only one using this feature so far, LOL. Although IMO that's too drastic of a change from the USDF spec (I don't recall other blocks using such a method) so I'm not sure how that'd fit in the grand consistency of things...
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support


Return to General

Who is online

Users browsing this forum: devilemporium and 6 guests