Strife Dialog Help

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Strife Dialog Help

Post by Demolisher »

This Script Doesn't seem to work and I don't know why. When I compile it, with KSSC, It gives me an error. I can't read the error message, so I don't know what to change. Although I can see that it fails in the second block.

Also, why don't the voices work? They compile, but they don't play. :(

Code: Select all

############################################ Mordeth the Baron of Hell

$MOBJ 5
NAME &Mordeth&
VOICE &DSBRSSIT&
PANEL &&
DIALOG &Welcome to Eden, The Home of the Tukari.&
	{
		TEXT &Eden?&
		GIVEMOBJ -1
		YESTEXT _
		LINK -2
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &Yes, This is Eden.  Our clan is one of the few that welcomes humans.&
	{
		TEXT &So, You're friendly?&
		GIVEMOBJ -1
		YESTEXT _
		LINK -3
	}

	{
		TEXT &Can I ask some you some questions?& ############## <--- Here
		GIVEMOBJ -1
		YESTEXT _
		LINK -5
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &Yes, We get along quite well. Most of us anyway.&
	{
		TEXT &I see.&
		GIVEMOBJ -1
		YESTEXT _
		LINK -1
	}

	{
		TEXT &Most?&
		GIVEMOBJ -1
		YESTEXT _
		LINK -4
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &Some of us don't feel the same. They simply don't get along. Xavier for example.&
	{
		TEXT &Ah.&
		GIVEMOBJ -1
		YESTEXT _
		LINK -1
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &Absolutely&
	{
		TEXT &Why am I here?&
		GIVEMOBJ -1
		YESTEXT _
		LINK -6
	}
	
	{
		TEXT &How do I leave?&
		GIVEMOBJ 101 #Map01_Script_256
		YESTEXT _
		LINK -7
	}
	
	{
		TEXT &Why are there other humans here?&
		GIVEMOBJ -1
		YESTEXT _
		LINK -9
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &We Don't Know.  It could be fate, chance, or simply effect.&
	{
		TEXT &Ok.&
		GIVEMOBJ -1
		YESTEXT _
		LINK -1
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &Unfortunately, You must go through the portal.  I will open the Teleporter, so you can head to our city.&
	{
		TEXT &Unfortunately?&
		GIVEMOBJ -1
		YESTEXT _
		LINK -8
	}

	{
		TEXT &Ok.&
		GIVEMOBJ -1
		YESTEXT _
		LINK -1
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &It is in Cybresten.  The home of the Cyber Clan.  They seem to have sprung up rapidly and took the gate before anyone could react.&
	{
		TEXT &Oh.&
		GIVEMOBJ -1
		YESTEXT _
		LINK -1
	}
$END

$MOBJ 5
NAME &Mordeth&
DIALOG &Some of them found their way here long ago, and have lived here since.  Others, like you, have started appearing here right after the Cyber Clan's Invasion.&
	{
		TEXT &Ok.&
		GIVEMOBJ -1
		YESTEXT _
		LINK -1
	}
$END
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

Are you still using KSSC2? The syntax doesn't look right at all. I would suggest using either my Dialog Editor or KSSC3.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

I think I'm using 3 but I don't know. I don't know where to find it.

Edit:Found it.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

I totally converted to the new syntax and it still gives me an error! :o
And I still can't read it. :cry:
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

Post the new script. My dialog editor will probably be able to compile it.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

Code: Select all

############################################ Mordeth the Baron of Hell

ACTOR 5
	NAME "Mordeth"
	VOICE "DSBRSSIT"
	PANEL ""
	DIALOG "Welcome to Eden, The Home of the Tukari."

	CHOICE
		TEXT "Eden?"
		GIVE -1
		YES "_"
		LINK -2
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "Yes, This is Eden.  Our clan is one of the few that welcomes humans."

	CHOICE
		TEXT "So, You're friendly?"
		GIVE -1
		YES "_"
		LINK -3
	;

	CHOICE
		TEXT "Can I ask you some questions?"
		GIVE -1
		YES "_"
		LINK -5
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "Yes, We get along quite well. Most of us anyway."

	CHOICE
		TEXT "I see."
		GIVE -1
		YES "_"
		LINK -1
	;

	CHOICE
		TEXT "Most?"
		GIVE -1
		YES "_"
		LINK -4
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "Some of us don't feel the same. They simply don't get along. Xavier for example."

	CHOICE
		TEXT "Ah."
		GIVE -1
		YES "_"
		LINK -1
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "Absolutely"

	CHOICE
		TEXT "Why am I here?"
		GIVE -1
		YES "_"
		LINK -6
	;
	
	CHOICE
		TEXT "How do I leave?"
		GIVE 101 #Map01_Script_256
		YES "_"
		LINK -7
	;
	
	CHOICE
		TEXT "Why are there other humans here?"
		GIVE -1
		YES "_"
		LINK -9
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "We Don't Know.  It could be fate, chance, or simply effect."

	CHOICE
		TEXT "Ok."
		GIVE -1
		YES "_"
		LINK -1
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "Unfortunately, You must go through the portal.  I will open the Teleporter, so you can head to our city."

	CHOICE
		TEXT "Unfortunately?"
		GIVE -1
		YES "_"
		LINK -8
	;

	CHOICE
		TEXT "Ok."
		GIVE -1
		YES "_"
		LINK -1
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "It is in Cybresten.  The home of the Cyber Clan.  They seem to have sprung up rapidly and took the gate before anyone could react."

	CHOICE
		TEXT "Oh."
		GIVE -1
		YES "_"
		LINK -1
	;
END

ACTOR 5
	NAME "Mordeth"
	DIALOG "Some of them found their way here long ago, and have lived here since.  Others, like you, have started appearing here right after the Cyber Clan's Invasion."

	CHOICE
		TEXT "Ok."
		GIVE -1
		YES "_"
		LINK -1
	;
END
Here.
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

My editor didn't seem to have a problem with it.

http://bitowl.com/downloads/Dialog_Edit ... it_05A.zip
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

Umm... Is there a compiler in that .jar? all I have is a bunch of .class's.
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

Ok, it's a java file. It won't drag and drop, It won't run with java, and It doesn't open up into anything decent with winrar.

Why won't this work?

All I get is a 0.2 second command prompt.
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

1. Open the command prompt.
2. cd to your java directory
3. java -version
4. if your version isn't 1.6 or later goto the website I linked to get the jre and update
5. java -jar "<insert the full path to the dialog edits jar file here>"
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

just updated. I get the 0.2 second Command Prompt Screen, Only now it has about 8 lines of unreadable text. :cry:
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

You didn't follow my directions. I didn't say close the prompt and try what you were doing over again. Do them over again without step 4.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Strife Dialog Help

Post by Demolisher »

Fatal Error: Config File Does not exist.

also, I finally read the KSSC3 error. something about a newline character in my string on line 4. There is no newline character, unless it is "S", "T", "E", or "V".
I am now pissed.
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Strife Dialog Help

Post by Blzut3 »

I think KSSC3 has been known to have some issues with compiling scripts. (Which is why I suggest you use mine even if its just to compile KSSC3 scripts.) Was there not a strife.cfg in the zip with the editor?
Locked

Return to “Editing (Archive)”