Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
DoomedMarine627

ZSDS questions (and problem...)

Question

First, I have a problem with ZSDF (ZDoom Strife Dialog System). I've made a dialogue lump in that format, and in the map where the actors that must talk, when I press use in front of them nothing happens.

Code:

Spoiler

namespace = "ZDoom";
include = "SCRIPT00";
conversation
{
    //Guards
	actor = "DoomImp";
	page
	{
	    name = "Guard";
		dialog = "Keep walking. I have nothing to say, human.";
		choice
		{
		    text = "RANDOM BYEBYE";
		}
}

conversation
{
    //Councelor
	actor = "Revenant";
	page
	{
	    name = "Councelor";
		dialog = "Hello, human. Are you here to meet the king?";
		choice
		{
		    text = "Yes, I'm here for that.";
			yesmessage = "Okay, let me clear the way to the throne!";
			special = 41;
			arg0 = 1;
			arg1 = 20;
			arg2 = 127;
			nextpage = 2;
		}
		choice
		{
		    text = "Nope.";
			yesmessage = "Well then, get outta here!";
			closedialog = true;
		}
	page
	{
	    name = "Councelor";
		dialog = "I've already, cleared the way. I have nothing else to tell you, human.";
	}
}

conversation
{
    //Azazel
	actor = "Azazel";
	page
	{
	    name = "King Azazel";
		dialog = "Welcome, human. I can lead you home, but you'll have to do something for me in exchange.";
		choice
		{
		    text = "I'm interested, tell me more.";
			yesmessage = "I'm king Azazel, and my kingdom is in war with another one...";
			nextpage = 2;
		}
		choice
		{
		    text = "No, thanks.";
			yesmessage = "Fuck you! Why did you come, then? Get out of here you filthy human crap!";
		}
	}
	page
	{
	    name = "King Azazel";
		dialog = "Our enemies are getting closer, and I need you to lead an assault in a vital point.";
		choice
		{
		    text = "I think I can do it. Where is it?";
			yesmessage = "It's the bridge of Theria, and after that, you can pass through it and get to a base our enemies have, and, from what I heard, it has a portal to take you to earth.";
			nextpage = 3;
		}
	page
	{
	    name = "King Azazel";
		dialog = "Good luck, and, as you humans say, Godspeed!";
		choice
		{
		    text = "Thanks, and goodbye.";
			yesmessage = "Bye!";
			specialname = "Exit_Normal";
			arg0 = 0;
			closedialog = true;
		}
	}
}

 

The lump is called "DIALOG08" (not "SCRIPT08", because that's for USDS and it is compiled, and ZSDS can't be compiled, as it says in the ZDoom wiki).

When loading the map (MAP08), it gives me an error message (written in the console) that says:

Script error, "DIALOG08" Line 91:
Missing string (Unexpected end of file)

(The map is in GZDoom: Doom in Hexen format.)

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

You're missing a closing bracket:

page
	{
	    name = "King Azazel";
		dialog = "Our enemies are getting closer, and I need you to lead an assault in a vital point.";
		choice
		{
		    text = "I think I can do it. Where is it?";
			yesmessage = "It's the bridge of Theria, and after that, you can pass through it and get to a base our enemies have, and, from what I heard, it has a portal to take you to earth.";
			nextpage = 3;
		}
	}

EDIT: looks like a few more are missing.... comb through your script and make sure you have closing brackets where needed.

Share this post


Link to post
  • 0

Thanks, I swear I checked and rechecked it to see what was wrong, but, looks like I wasn't at full capacity, since I was pretty tired at that moment. Anyway, thanks.

Share this post


Link to post
  • 0
7 hours ago, DoomedMarine627 said:

Thanks, I swear I checked and rechecked it to see what was wrong, but, looks like I wasn't at full capacity, since I was pretty tired at that moment. Anyway, thanks.

Did it end up working?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×