Thread: Quest dialogues

Results 1 to 4 of 4
  1. #1 Quest dialogues 
    Jay
    Jay is offline
    Registered Member
    Jay's Avatar
    Join Date
    Apr 2012
    Posts
    542
    Thanks given
    96
    Thanks received
    176
    Rep Power
    201
    Here are some quest dialogues i recently made, thought to share them here.
    They arnt fully complete as i left out the option parts.
    Have fun with it?

    You may find some duplicate cases as you might use the same but that wouldnt be a problem for most people
    and obv the saving parts and checking the progress part is upto you to change as i prob used different things such as c.ETC etc


    Spoiler for Dorics Quest:
    Code:
    				        case 500:
    		    			    sendNpcChat1("Hello, may I ask what you're doing here?", c.talkingNpc, "Doric");	
    						    c.nextChat = 501;
    						break;
    						case 501:
    							sendPlayerChat1("I'm looking for a quest!");
    							c.nextChat = 502;
    						break;
    						case 502:
    							if(c.dorics == 1){
    								sendNpcChat1("You already have a quest...", c.talkingNpc, "Doric");
    								c.nextChat = 507;
    							}else{
    								sendNpcChat1("A quest, huh? I can give you a quest.", c.talkingNpc, "Doric");
    								c.nextChat = 503;
    							}
    						break;
    						case 503:
    							sendNpcChat3("I want you to get me", "6 clay, 4 copper ore, and 2 iron ore.", "You up for it?", c.talkingNpc, "Doric");
    							c.nextChat = 504;	
    						break;
    						case 504:
    							sendPlayerChat1("Sure.");
    							c.nextChat = 505;
    						break;
    						case 505:
    							sendNpcChat2("Okay, Come back to", "Me when you have all the Ingredients.", c.talkingNpc, "Doric");
    							c.dorics = 1;	
    							c.nextChat = -1;
    						break;
    						case 507:
    							sendNpcChat1("Well? Did you get my materials yet?", c.talkingNpc, "Doric");	
    							c.nextChat = 508;
    						break;
    						case 508:
    							if(c.getItems().playerHasItem(434, 6) && c.getItems().playerHasItem(436, 4) && c.getItems().playerHasItem(440, 3)) {
    								sendPlayerChat1("Yes, I have them all here!");
    								c.nextChat = 509;
    							} else {
    								sendPlayerChat1("No sorry, I'll be getting on with that!");
    								c.nextChat = -1;
    							}
    						break;
    						case 509:
    							if(c.getItems().playerHasItem(434, 6) && c.getItems().playerHasItem(436, 4) && c.getItems().playerHasItem(440, 3)) {
    								sendStatement("You give Doric the materials");
    								c.getItems().deleteItem(434, 6);
    								c.getItems().deleteItem(436, 4);
    								c.getItems().deleteItem(440, 2);
    								c.nextChat = 510;
    		                                        }
    						break;
    						case 510:
    						c.getPA().removeAllWindows();
    						DoricsQuest.doricsFinish(c);
    						break;
    						case 511:
    						sendNpcChat1("Thanks again for helping me", c.talkingNpc, "Doric");
    						c.nextChat = -1;
    						break;


    Spoiler for Ernest the Chicken:
    Code:
    		case 94:
    			sendPlayerChat1("No, not yet.");
    			c.nextChat = -1;
    			break;
    		case 93:
    			if(c.getItems().playerHasItem(277, 1) && c.getItems().playerHasItem(276, 1) && c.getItems().playerHasItem(271, 1)) {
    				sendPlayerChat1("Yes, here you go.");
    				c.getItems().deleteItem(277, 1);
    				c.getItems().deleteItem(276, 1);
    				c.getItems().deleteItem(271, 1);
    				c.nextChat = 2571;
    			} else {
    				sendPlayerChat1("No, not yet.");
    				c.nextChat = -1;
    			} 
    			break;
    			
    		case 2550:
    			if(c.ETC == 3){
    				sendNpcChat1("Thanks for helping me find Ernest back <3.", c.talkingNpc , "Veronica");
    				c.nextChat = -1;
    		}else if(c.ETC == 1 || c.ETC == 2){
    				sendNpcChat1("Have you found my fiance yet?", c.talkingNpc , "Veronica");
    				c.nextChat = 94;
    			} else{
    			sendNpcChat2("Can you please help me? I'm in a terrible spot","of trouble.", c.talkingNpc , "Veronica");
    			c.nextChat = 2551;}
    			break;
    		case 2551:
    			sendPlayerChat1("Ahh, sound like a quest. I'll help.");
    			c.nextChat = 2552;
    			break;
    		case 2552:
    			sendNpcChat2("Yes yes, I suppose it is a quest. My fiance Ernest","and I cam upon this house.", c.talkingNpc , "Veronica");
    			c.nextChat = 2553;
    			break;
    		case 2553:
    			sendNpcChat2("Seeing as we were a little lost Ernest decided to go in","and ask for directions.", c.talkingNpc , "Veronica");
    			c.nextChat = 2554;
    			break;
    		case 2554:
    			sendNpcChat2("That was an hour ago. That house looks really spooky,","can you go and see if you can find him?.", c.talkingNpc , "Veronica");
    			c.nextChat = 2555;
    			break;
    		case 2555:
    			sendPlayerChat1("Ok, I'll see what I can do.");
    			c.nextChat = 2556;
    			c.ETC = 1;
    			break;
    		case 2556:
    			sendNpcChat1("Thank you, thank you!. I'm very grateful.", c.talkingNpc , "Veronica");
    			c.nextChat = -1;
    			break;
    		case 2557:
    			if(c.ETC == 3){
    				sendNpcChat1("Ernest is back with his fiance!", c.talkingNpc , "Professor Oddenstein");
    				c.nextChat = -1;
    			}else if(c.ETC == 2){
    				sendNpcChat1("Have you found the missing parts yet?", c.talkingNpc , "Professor Oddenstein");
    				c.nextChat = 93;
    			} else{
    			sendNpcChat1("Be careful in here, there's lost of dangerous equipment!", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2558;}
    			break;
    		case 2558:
    			sendPlayerChat1("I'm sorry, but i'm looking for a guy called Ernest.");
    			c.nextChat = 2559;
    			break;
    		case 2559:
    			sendNpcChat2("Ah Ernest, top notch bloke. He's helping me with","my experiments.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2560;
    			break;
    		case 2560:
    			sendPlayerChat1("So you know where he is then?");
    			c.nextChat = 2561;
    			break;
    		case 2561:
    			sendNpcChat1("He's that chicken over there.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2562;
    			break;
    		case 2562:
    			sendPlayerChat1("Ernest is a chicken...? Are you sure...?");
    			c.nextChat = 2563;
    			break;
    		case 2563:
    			sendNpcChat2("Oh, he isnt normally a chicken, or at least he wasn't","until he helped me test my pouletmorph machine.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2564;
    			break;
    		case 2564:
    			sendNpcChat3("It was originally going to be called a transmutation","machine. But after testing pouletmorph seems","more appropriate.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2565;
    			break;
    		case 2565:
    			sendPlayerChat1("Change him back this instant!");
    			c.nextChat = 2566;
    			break;
    		case 2566:
    			sendNpcChat1("Uhmmm... It's not so easy...", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2567;
    			break;
    		case 2567:
    			sendNpcChat2("My machine is broken, and the house gremlins have","run off with some vital bits.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2568;
    			break;
    		case 2568:
    			sendPlayerChat1("Well i can look for them.");
    			c.nextChat = 2569;
    			break;
    		case 2569:
    			sendNpcChat3("That would be a help. They'll be somewhere in the","manor house or its grounds, the gremlins never get","further thatn the entrance gate.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2570;
    			break;
    		case 2570:
    			sendNpcChat3("I'm missing the pressure gauge and a rubber tube.","They've also taken my oil can, which I'm going to need","to get this thing started again.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = -1;
    			c.ETC = 2;
    			break;
    		case 2571:
    			sendNpcChat1("Thank you, Ernest will be out of here in no-time.", c.talkingNpc , "Professor Oddenstein");
    			c.nextChat = 2572;
    			break;
    		case 2572:
    		c.getPA().removeAllWindows();
    		ErnesttheChicken.ETCfinish(c);
    		break;


    Spoiler for Black Knights Fortress:
    Code:
    		case 95:
    			sendNpcChat2("Sorry you can not enter."," You are not one of the Fortress Guards.", 609 , "Fortress Guard");
    			c.nextChat = -1;
    		break;
    		case 97:
    			sendStatement("Infiltrate fortress.. sabotage secret weapon...self" +
    					"destruct in 3...2...ARG!");
    			c.getItems().deleteItem(607, 1);
    			break;
    		case 98:
    				sendPlayerChat1("No, not yet.");
    				c.nextChat = -1;
    			break;
    		case 99:
    				sendPlayerChat2("Yes, it is some sort of potion. I will sabotage it by","throwing a cabbage into it.");
    				c.nextChat = -1;
    			break;
    		case 2513:
    		if(c.BKF == 4){
    			sendNpcChat1("Thanks for helping Falador.", c.talkingNpc , "Sir Amik Varze");
    			}else if(c.BKF == 3){
    				sendPlayerChat3("I have ruined the Black Knights'invincibility potion.","That should put a stop to your problem and an end","to their little schemes");
    				c.nextChat = 2547;
    			}else if(c.BKF ==2){
    				sendNpcChat1("Have you sabotaged their potion yet?", c.talkingNpc , "Sir Amik Varze");
    				c.nextChat = 98;
    			}else if(c.BKF ==1){
    				sendNpcChat1("Have you found out what their secret weapon is?", c.talkingNpc , "Sir Amik Varze");
    				c.nextChat = 99;
    			}else{
    				sendNpcChat2("I am the leader of the White Knights of Falador. Why","do you seek my audience?", c.talkingNpc , "Sir Amik Varze");
    				c.nextChat = 2514;
    			}
    			  break;
    		case 2514:
    			sendPlayerChat1("I seek a quest!");
    			c.nextChat = 2515;
    			break;
    		case 2515:
    			sendNpcChat3("Well, I need some spy work doing but it's quite","dangerous. It will involve going into the Black Knights'","fortress.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2516;
    			break;
    		case 2516:
    			sendPlayerChat1("I laugh in the face of danger!");
    			c.nextChat = 2517;
    			break;
    		case 2517:
    			sendNpcChat1("Well that's good. Don't get too overconfident though.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2518;
    			break;
    		case 2518:
    			sendNpcChat2("You've come along at just the right time actually. All of","my knights are already known to the Black Knights.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2519;
    			break;
    		case 2519:
    			sendNpcChat1("Subtlety isn't exactly our strong point", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2520;
    			break;
    		case 2520:
    			sendPlayerChat2("Can't you just take your White Kinghts'armour off?","They wouldn't recognise you then!");
    			c.nextChat = 2521;
    			break;
    		case 2521:
    			sendNpcChat2("I am afraid our charter prevents us using espionage in","any form, that is the domain of the Temple Knights.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2522;
    			break;
    		case 2522:
    			sendPlayerChat2("Temple Knights?","Who are they?!");
    			c.nextChat = 2523;
    			break;
    		case 2523:
    			sendNpcChat2("That information is classified. I am forbidden to share","it with outsiders.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2524;
    			break;
    		case 2524:
    			sendPlayerChat1("So....what do you need doing?");
    			c.nextChat = 2525;
    			break;
    		case 2525:
    			sendNpcChat4("Well, the Black Knights have started making strange","threats to us; demanding large amounts of money and","land, and threatening to invade Falador if","don't pay them", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2526;
    			break;
    		case 2526:
    			sendNpcChat1("Now, NORMALLY this wouldn't be a problem...", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2527;
    			break;
    		case 2527:
    			sendNpcChat1("But they claim to have a powerful new secret weapon.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2528;
    			break;
    		case 2528:
    			sendNpcChat2("Your misson is to infiltrate their fortress, find out","what their secret weapon is, and then sabotage it.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2529;
    			break;
    		case 2529:
    			sendPlayerChat1("Ok, I'll do my best!");
    			c.BKF = 1;
    			c.nextChat = 2530;
    			break;
    		case 2530:
    			sendNpcChat2("Good luck! Let me know how you get on. Here's the","dossier for the case, I've already given you the details.", c.talkingNpc , "Sir Amik Varze");
    			c.getItems().addItem(607, 1);
    			c.sendMessage("@[email protected] Amik Varze hands you the dossier.");
    			c.nextChat = -1;
    			break;
    
    		case 2531:
    			sendNpcChat1("So... how's the secret weapon coming along?", 610 , "Black Knight Captain");
    			c.nextChat = 2532;
    			break;
    		case 2532:
    			sendNpcChat1("The invincibility potion is almost ready...", 611 , "Witch");
    			c.nextChat = 2533;
    			break;
    		case 2533:
    			sendNpcChat1("It has taken me FIVE YEARS, but it's almost ready.", 611 , "Witch");
    			c.nextChat = 2535;
    			break;
    		case 2535:
    			sendNpcChat2("Greldo the Goblin here is just going to fetch that last.","ingredient for me.", 611 , "Witch");
    			c.nextChat = 2536;
    			break;
    		case 2536:
    			sendNpcChat2("It's a specially grown cabbage grown by my cousin.","Helda who lives in Draynor Manor.", 611 , "Witch");
    			c.nextChat = 2537;
    			break;
    		case 2537:
    			sendNpcChat2("The soil there is slightly magical and it gives the ","cabbages slight magical properties...", 611 , "Witch");
    			c.nextChat = 2538;
    			break;
    		case 2538:
    			sendNpcChat1("..not to mention the threes!", 611 , "Witch");
    			c.nextChat = 2539;
    			break;
    		case 2539:
    			sendNpcChat3("Now remember Greldo, only a Draynor Manor.","cabbage will do! Don't get lazy and bring any old","cabbage, THAT would ENTIRELY wreck the potion!", 611 , "Witch");
    			c.nextChat = 2540;
    			break;
    		case 2540:
    			sendNpcChat1("Yeth, Mithreth", 612 , "Greldo");
    			c.nextChat = -1;
    			c.BKF = 2;
    			break;
    		case 2541:
    			c.getPA().showInterface(18460);
    			c.flushOutStream();
    				sendStatement("You throw the cabbage into the hole.");
    				c.nextChat = 2542;
    				c.BKF = 3;
    			break;
    		case 2542:
    			sendNpcChat1("Where has Greldo got to with that magic cabbage!", 611 , "Witch");
    			c.nextChat = 2543;
    			break;	
    		case 2543:
    			sendNpcChat1("What is that noise?!", 610 , "Black Knight Captain");
    			c.nextChat = 2544;
    			break;
    		case 2544:
    			sendNpcChat2("Hopefully Greldo with the cabbage... yes, look here it","co.. NOOOOOOOOOOOOOO", 611 , "Witch");
    			c.nextChat = 2545;
    			break;
    		case 2545:
    			sendStatement("You hear a lound noise as your cabbage falls into the potion.");
    			c.nextChat = 2546;
    		break;
    		case 2546:
    			sendPlayerChat2("Looks like my work here is done. Seems like that's","successfully sabotaged their little secret weapon plan.");
    			c.nextChat = -1;
    			break;
    		case 2547:
    			sendNpcChat3("yes, we have just received a message from the Black","Knights saying they withdraw their demans, which","would semm to confirm your story.", c.talkingNpc , "Sir Amik Varze");
    			c.nextChat = 2548;
    			break;
    		case 2548:
    			sendPlayerChat1("Now I believe there was a good reward...");
    			c.nextChat = 2549;
    			break;
    		case 2549:
    			sendNpcChat1("Absolutely right. Please accept this reward.", c.talkingNpc , "Sir Amik Varze");
    			c.getPA().removeAllWindows();
    			BlackKnightsFortress.BKFfinish(c);
    			break;


    Spoiler for Imp Catcher:
    Code:
    		case 2500:
    			if(c.impcat ==2){
    				sendNpcChat1("Thanks again for helping me find all my beads back!", c.talkingNpc, "Wizard Mizgog");
    				c.nextChat = -1;
    	        }else if(c.impcat == 1){
    			 sendNpcChat1("Have you found all my beads yet?", c.talkingNpc, "Wizard Mizgog");	
    			    c.nextChat = 2504;
    			}else{
    				sendPlayerChat1("Give me a quest!");
    				c.nextChat = 2501;
    			}
    			  break;
    		case 2501:
    			 sendNpcChat1("Give me a quest what?", c.talkingNpc, "Wizard Mizgog");	
    			    c.nextChat = 2502;
    			  break;
    		case 2502:
    			 sendPlayerChat1("Give me a quest please.");	
    			    c.nextChat = 2503;
    			  break;
    		case 2503:
    			 sendNpcChat2("Well seeing as you asked nicely... I could do", "with some help.", c.talkingNpc, "Wizard Mizgog");	
    			 c.nextChat = 2507;
    			break;
    		case 2504:
    			if(c.getItems().playerHasItem(1470, 1) && c.getItems().playerHasItem(1472, 1) && c.getItems().playerHasItem(1474, 1) && c.getItems().playerHasItem(1476, 1)) {
    				sendPlayerChat1("I've got all four beads. It was hard work i can tell you.");
    				c.nextChat = 2505;
    			} else {
    				sendPlayerChat1("I don't got them all just yet.");
    				c.nextChat = -1;
    			}
    		case 2505:
    			if(c.getItems().playerHasItem(1470, 1) && c.getItems().playerHasItem(1472, 1) && c.getItems().playerHasItem(1474, 1) && c.getItems().playerHasItem(1476, 1)) {
    				sendStatement("You give Wizard Mozgog his beads");
    				c.getItems().deleteItem(1470, 1);
    				c.getItems().deleteItem(1472, 1);
    				c.getItems().deleteItem(1474, 1);
    				c.getItems().deleteItem(1476, 1);
    				c.nextChat = 2506;
                   }
    		break;
    		case 2506:
    		c.getPA().removeAllWindows();
    		ImpCatcher.Impfinish(c);
    		c.nextChat = 2500;
    		break;
    		case 2507:
    			sendNpcChat2("The wizard Grayzag decided he didn't like","me so he enlisted an army of hundreds of imps.", c.talkingNpc, "Wizard Mizgog");
    			c.nextChat = 2508;
    			break;
    		case 2508:
    			sendNpcChat3("These imps stole all sorts of my things","Most of these things i don't really care about, just eggs and balls of","string and things.", c.talkingNpc, "Wizard Mizgog");
    			c.nextChat = 2509;
    			break;
    		case 2509:
    			sendNpcChat2("But they stole my four magical beads. There was a red","one, a yellow one, a black one and a white one.", c.talkingNpc, "Wizard Mizgog");
    			c.nextChat = 2510;
    			break;
    		case 2510:
    			sendNpcChat2("These imps have now spread out all over the kingdom."," Could you get my beads back for me?", c.talkingNpc, "Wizard Mizgog");
    			c.nextChat = 2511;
    			break;
    		case 2511:
    			sendPlayerChat1("For sure, i will do it!");
    			c.impcat = 1;
    			c.nextChat = 2512;
    			break;
    		case 2512:
    			sendNpcChat1("That is great! Thank you!", c.talkingNpc , "Wizard Mizgog");
    			c.nextChat = -1;
    			break;


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Ain't Messin' Around - Gary Clark Jr.

    Wolfs Darker's Avatar
    Join Date
    Jul 2012
    Posts
    1,547
    Thanks given
    598
    Thanks received
    464
    Rep Power
    252
    Thanks, will use later
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #3  
    Registered Member

    Join Date
    Aug 2012
    Posts
    3,177
    Thanks given
    2,842
    Thanks received
    850
    Rep Power
    2235
    Thanks a lot! One thing I hate about making quests is writing out all the dialogue. This will save me a few hours.
    Reply With Quote  
     

  5. #4  
    Donator


    Join Date
    Jul 2011
    Posts
    832
    Thanks given
    172
    Thanks received
    138
    Rep Power
    152
    Thanks bro!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Delta] Real Doric's Quests Dialogues
    By Nighel in forum Configuration
    Replies: 2
    Last Post: 08-01-2011, 09:08 PM
  2. Some quest dialogues
    By Ross in forum Snippets
    Replies: 3
    Last Post: 04-04-2011, 09:48 PM
  3. Quest dialogues?
    By Ross in forum Help
    Replies: 2
    Last Post: 03-13-2011, 12:56 AM
  4. Quest dialogues
    By Teemuzz in forum Requests
    Replies: 0
    Last Post: 01-05-2011, 01:12 PM
  5. Quest/Dialogue Help! [DELTA]
    By Vault in forum Help
    Replies: 22
    Last Post: 01-08-2010, 04:04 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •