Cacodemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Dialogue 2nd actor not talking help!!
 
Author
All times are GMT. The time now is 11:20. Post New Thread    Post A Reply
Unholypimpin
Member


Posts: 457
Registered: 03-11


The first conversation with the town guard works flawlessly but the second conversation with the king wont even start.

Could anyone help me? Thanks in advance.

Heres the code

namespace = "Strife";

//------------------------------------------------
//TOWN GUARD
//------------------------------------------------
conversation
{
actor = 1;
page
{
name = "Town Gate Guard";
dialog = "Aw you must be the new hero that has come to rid us of this evil?";
choice
{
yesmessage = "Well...then...carry on.";
text = "Nope you are mistaken!!";
nextpage = 1;
closedialog = true;
}
choice
{
text = "Yes I am!!";
nextpage = 2;
}
choice
{
text = "And if I am?";
nextpage = 5;
}
}
page
{
name = "Town Gate Guard";
dialog = "Please go talk to Orgrim right away!!.";
choice
{

text = "Yeah... Whos Orgrim and where is he?";
nextpage = 3;

}
}
page
{
name = "Town Gate Guard";
dialog = "Why hes the king of course!!. Hes in the townhall.";
choice
{
yesmessage = "Your quite welcome!!";
text = "Thankyou kind sir";
nextpage = 4;
closedialog = true;
}
}
page
{
name = "Town Gate Guard";
dialog = "Go see King Orgrim in the townhall right away!!";
closedialog = true;
}
page
{
name = "Town Gate Guard";
dialog = "Then the townsfolk will worship you like a god if you defeat this evil that plagues our lands.";
choice
{

text = "Than yes I am that hero. (With a grin on your face)";
nextpage = 2;

}
}
}
}


//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------


conversation
{
actor = 2;
page
{
name = "King Orgrim";
dialog = "HERO!! We meet at last. My name is Orgrim Stromdam and im the King of Stromdam Keep. My kingdom has needed someone like you for a long time.";
choice
{
yesmessage = "Well then perhaps I have misjudged you, We dont need someone like you helping us.";
text = "Uhuh thats nice...But if im not paid well then I dont care";
nextpage = 2;
closedialog = true;
}
choice
{
text = "Yes I am!!";
nextpage = 3;
}

}
page
{
name = "King Orgrim";
dialog = "I take it you have had a change of heart?.";
choice
{

text = "Yes my lord, now how can I assist you and your kingdom?";
nextpage = 3;

}
}
page
{
name = "Town Gate Guard";
dialog = "Why hes the king of course!!. Hes in the townhall.";
choice
{
yesmessage = "Your quite welcome!!";
text = "Thankyou kind sir";
nextpage = 4;
closedialog = true;
}
}

Old Post 12-06-12 04:42 #
Unholypimpin is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
Blzut3
Member


Posts: 522
Registered: 06-04


This is why we indent.
code:
namespace = "Strife"; //------------------------------------------------ //TOWN GUARD //------------------------------------------------ conversation { actor = 1; page { name = "Town Gate Guard"; dialog = "Aw you must be the new hero that has come to rid us of this evil?"; choice { yesmessage = "Well...then...carry on."; text = "Nope you are mistaken!!"; nextpage = 1; closedialog = true; } choice { text = "Yes I am!!"; nextpage = 2; } choice { text = "And if I am?"; nextpage = 5; } } page { name = "Town Gate Guard"; dialog = "Please go talk to Orgrim right away!!."; choice { text = "Yeah... Whos Orgrim and where is he?"; nextpage = 3; } } page { name = "Town Gate Guard"; dialog = "Why hes the king of course!!. Hes in the townhall."; choice { yesmessage = "Your quite welcome!!"; text = "Thankyou kind sir"; nextpage = 4; closedialog = true; } } page { name = "Town Gate Guard"; dialog = "Go see King Orgrim in the townhall right away!!"; closedialog = true; } page { name = "Town Gate Guard"; dialog = "Then the townsfolk will worship you like a god if you defeat this evil that plagues our lands."; choice { text = "Than yes I am that hero. (With a grin on your face)"; nextpage = 2; } } } } //------------------------------------------------ //KING ORGRIM //------------------------------------------------ //------------------------------------------------ //KING ORGRIM //------------------------------------------------ //------------------------------------------------ //KING ORGRIM //------------------------------------------------ //------------------------------------------------ //KING ORGRIM //------------------------------------------------ conversation { actor = 2; page { name = "King Orgrim"; dialog = "HERO!! We meet at last. My name is Orgrim Stromdam and im the King of Stromdam Keep. My kingdom has needed someone like you for a long time."; choice { yesmessage = "Well then perhaps I have misjudged you, We dont need someone like you helping us."; text = "Uhuh thats nice...But if im not paid well then I dont care"; nextpage = 2; closedialog = true; } choice { text = "Yes I am!!"; nextpage = 3; } } page { name = "King Orgrim"; dialog = "I take it you have had a change of heart?."; choice { text = "Yes my lord, now how can I assist you and your kingdom?"; nextpage = 3; } } page { name = "Town Gate Guard"; dialog = "Why hes the king of course!!. Hes in the townhall."; choice { yesmessage = "Your quite welcome!!"; text = "Thankyou kind sir"; nextpage = 4; closedialog = true; } }

Hopefully the brace problems should be obvious now. I'm surprised the first conversation is even working.

Old Post 12-06-12 15:09 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Unholypimpin
Member


Posts: 457
Registered: 03-11


You wouldnt happen to know if you can run scripts from dialogues?

Old Post 12-06-12 23:55 #
Unholypimpin is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
Blzut3
Member


Posts: 522
Registered: 06-04


You can. Just set the special and arg0-arg4 as documented on the ZDoom wiki.

Old Post 12-07-12 13:52 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 11:20. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Dialogue 2nd actor not talking help!!

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.