URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Xydia V2.0
  HTML https://xydia.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Programming
       *****************************************************
       #Post#: 1303--------------------------------------------------
       Beginner Delta Tutorial - How to make npc's talk in dialogue
       form #4
   DIR By: Dan
       Date: August 14, 2012, 10:58 pm
       ---------------------------------------------------------
       Difficulty: 1/10
       Credits: 100% me
       Open Up Client.java
       Now search:
       --- Code ---
       public void UpdateNPCChat() {
       --- End Code ---
       In there you should see stuff like this:
       --- Code ---
       case 10:
       talk("Want to fix your barrow pieces for 80,000 GP each?",
       1078);
       break;
       --- End Code ---
       Well copy that code and go to the end of all the case's and
       paste it now there change the case # to one that is not being
       used and change the dialogue of what the npc is saying and also
       the 1078 at the end change that to the npc you want to talk.
       If you want them to talk two lines use this:
       --- Code ---
       case 128:
       talk2("Here "+playerName+" " , "Have your cape back.",
       2610);
       break;
       --- End Code ---
       Alright after this look up case 155:
       you should see something like this in the case.
       --- Code ---
       if(NPCID == 212){
       NpcDialogue = 260;
       NpcDialogueSend = false;
       }
       --- End Code ---
       Change The Npcid to the npcid you want to talk and change the
       npcdialogue to the case # you used before.
       Now Look up case 40:
       And you should see something like this:
       --- Code ---
       case 40:
       if (NpcDialogue == 215 || NpcDialogue == 150 || NpcDialogue
       == 1022 || NpcDialogue == 127 || NpcDialogue == 270 ||
       NpcDialogue == 271 || NpcDialogue == 207 || NpcDialogue == 272
       ||
       --- End Code ---
       Now Copy one of them and paste it and change the Npcdialogue ==
       # to the case number you used before.
       Thanks,
       Dan
       #Post#: 1304--------------------------------------------------
       Re: Beginner Delta Tutorial - How to make npc's talk in dialogue
       form #4
   DIR By: Mike
       Date: August 14, 2012, 11:42 pm
       ---------------------------------------------------------
  HTML http://www.youtube.com/watch?v=eyQca1cwe54
       #Post#: 1308--------------------------------------------------
       Re: Beginner Delta Tutorial - How to make npc's talk in dialogue
       form #4
   DIR By: Zaff
       Date: August 15, 2012, 6:48 am
       ---------------------------------------------------------
       Mike, you show so much respect ;)
       I know nothing about programming, but I'm sure this will help
       people who do know the basics :P
       #Post#: 1313--------------------------------------------------
       Re: Beginner Delta Tutorial - How to make npc's talk in dialogue
       form #4
   DIR By: Mike
       Date: August 15, 2012, 12:51 pm
       ---------------------------------------------------------
       Haha it's just a little joke between me and Danny, and if you
       ever want a specific guide on something you can always request
       it. :)
       *****************************************************
       Page 1 of 1