Thread: A couple of questions.

Results 1 to 4 of 4
  1. #1 A couple of questions. 
    Donator

    Join Date
    Jul 2009
    Posts
    1,452
    Thanks given
    27
    Thanks received
    13
    Rep Power
    69
    Hey folks.

    I'm having some questions (obviously), of which i want an answer. I'm great for explaining all this to you right? I derserve cookies actually... :- D

    I'm using Devo, for the ones wondering about that...

    Okay, *cough *cough* starting from the top:
    Question 1:
    Where do i specify attacks and such for a boss, that uses different kind of attacks?

    Question 2:
    How do i disable walking for players - i need this for a cutscene as i cant have my players walking out of the cutscene obviously..

    Question 3:
    Is there a way in devo, that can make an npc walk from point A to point B. We are talking about 5 squares or so. Is there already one in devo?

    Question 4:
    Is there a way of controlling the camera angle and such? I saw that dynastry had this, but sadly it had some virus that i needed to remove including the source.
    This is also for a cutscene.

    Question 5:
    Which packets is used for selling X and buying X? Because i see some packets for reading x values and such but it's not those :/


    That was about it. I am not in need of 800 replys telling me to l2search because seaching this up from this forum will take years. Try searching camera angle for yourself.
    Also, typing l2search is a bad way of gaining reputation. I only rep you, if you give me constructive answer.

    Thank you very much in advance.
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Jul 2009
    Posts
    1,452
    Thanks given
    27
    Thanks received
    13
    Rep Power
    69
    *Cough* *Cough* My throat hurts these days.. ..and not in the good way.

    To thah point: Isn't anyone really able to help me on these basic questions? C'mom people, this is not very hard.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Hunter's Avatar
    Join Date
    Jun 2009
    Age
    33
    Posts
    857
    Thanks given
    3
    Thanks received
    23
    Rep Power
    216
    Quote Originally Posted by Masochist View Post
    *Cough* *Cough* My throat hurts these days.. ..and not in the good way.

    To thah point: Isn't anyone really able to help me on these basic questions? C'mom people, this is not very hard.
    I would assume they are somewhat hard considering you're asking. But, to the point:

    I honestly cannot help you much as far as cut-scenes go because I do not know much about them myself. However a few questions I think I can answer.

    Question 2: Once a cutscene starts, you should try setting a boolean like:

    Code:
    public boolean canWalk = true;
    Then under the walking packet add a check to see if that boolean is true:

    Code:
    if(canWalk) {
         /* walking stuff here, etc etc. */
    } else
         return;
    Question 3: I would assume you have a method such as "walk()" or something. I believe you could use this for NPCs although I am not 100% certain how to. Maybe you could look into it?

    Question 5: Try packet 208.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,328
    Thanks given
    14
    Thanks received
    19
    Rep Power
    416
    Question 1: In NPCHandler.java.
    Question 3: Npc.cfg and just change the 0's to the coords you want it to walk
    Question 5: Theres a tut in the snippets section i believe on perfect Buy and sell X(either in snippets or tuts)
    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
  •