Thread: REP ++ Flowing dialogue in Devo 2.7.. REP ++

Results 1 to 4 of 4
  1. #1 REP ++ Flowing dialogue in Devo 2.7.. REP ++ 
    Registered Member
    Join Date
    May 2007
    Posts
    277
    Thanks given
    9
    Thanks received
    6
    Rep Power
    42
    I need to know where I add flowing dialogues? I've got the options but when I click I don't know how to make it go to other options? Any help? Thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2009
    Posts
    215
    Thanks given
    6
    Thanks received
    11
    Rep Power
    27
    Not sure what you mean by flowing... please explain.
    Reply With Quote  
     

  3. #3  
    Im a Pimp
    Guest
    Quote Originally Posted by assaulth3ro911 View Post
    Not sure what you mean by flowing... please explain.
    he means like when you click an option or "click here to continue" it goes to the next dialogue
    Reply With Quote  
     

  4. #4  
    Registered Member Jeremy [Pwnage]'s Avatar
    Join Date
    May 2009
    Posts
    233
    Thanks given
    9
    Thanks received
    0
    Rep Power
    25
    In Devo 2.7:

    Open up 'DialogueAssistant.java'
    Search for:
    Code:
    public void case40(client c) {
    You will see something along the lines of this:
    Code:
    if ((c.NpcDialogue == 1) 
    			|| c.NpcDialogue == 579	|| c.NpcDialogue == 580 || c.NpcDialogue == 581 
    			|| c.NpcDialogue == 582 || c.NpcDialogue == 583	|| c.NpcDialogue == 584 
    			|| c.NpcDialogue == 586 || c.NpcDialogue == 587	|| c.NpcDialogue == 590	
    			|| c.NpcDialogue == 591 || c.NpcDialogue == 592 || c.NpcDialogue == 593
    			|| c.NpcDialogue == 596 || c.NpcDialogue == 597 || c.NpcDialogue == 600
    			|| c.NpcDialogue == 601 || c.NpcDialogue == 602 || c.NpcDialogue == 603
    			|| c.NpcDialogue == 604 || c.NpcDialogue == 605 || c.NpcDialogue == 608
    			|| c.NpcDialogue == 609 || c.NpcDialogue == 610 || c.NpcDialogue == 612
    			|| c.NpcDialogue == 613 || c.NpcDialogue == 614 || c.NpcDialogue == 615
    			|| c.NpcDialogue == 618 || c.NpcDialogue == 622 || c.NpcDialogue == 623
    			|| c.NpcDialogue == 2650
    			){//add continue talking
    				c.NpcDialogue += 1;
    				c.NpcDialogueSend = false;				
    			} else {
    				c.closeInterface();
    			}
    Basically that is saying if you're in the NPCDialogue of # it will +1 to it (therefore going onto the next part) and if it's no in that list, it will close the chat. You can easily make it do extra things example:

    Code:
    if(c.NpcDialogue == 620){
    				c.closeInterface();
    				c.heightLevel = 4;
    				c.q3BOMB = 30;
    				c.QH().q3 = 9;
    			}

    Hope I helped.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •