Thread: [PI] Make Npc use different attack styles.

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 [PI] Make Npc use different attack styles. 
    Registered Member
    Join Date
    Jun 2011
    Posts
    58
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    [unresolved]
    Making custom bosses for my PI server, but I need some help.

    I want the npc to randomly use different attacks, like melee or magic, so someone can't sit there with one prayer on and easily kill it.

    Along with this, if you know how to make an npc ALWAYS use one attack style, please share.

    I know this happens in NpcHandler somehow, but I just don't know where.
    Thank you a ton if you happen to know..! Will rep as always..
    Reply With Quote  
     

  2. #2  
    Registered Member DeathTacoz's Avatar
    Join Date
    Jun 2011
    Posts
    176
    Thanks given
    4
    Thanks received
    11
    Rep Power
    1
    Base it off of jad?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2011
    Posts
    58
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by DeathTacoz View Post
    Base it off of jad?
    I need to know where it actually happens
    Reply With Quote  
     

  4. #4  
    Member
    Join Date
    Mar 2009
    Posts
    624
    Thanks given
    49
    Thanks received
    30
    Rep Power
    0
    \Server\src\server\model\npcs
    Find class: NpcHandler
    That's where it happens

    Just a little help:
    Search for
    public void loadSpell(Client c, int i) {
    Then scroll down untill you see case 50: (it's KBD).
    Take a look at that, it should help you.
    Reply With Quote  
     

  5. #5  
    Registered Member DeathTacoz's Avatar
    Join Date
    Jun 2011
    Posts
    176
    Thanks given
    4
    Thanks received
    11
    Rep Power
    1
    npcHandler and search 2745
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2011
    Posts
    58
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by 'Famouz View Post
    \Server\src\server\model\npcs
    Find class: NpcHandler
    That's where it happens
    I already said I know what class

    I need to know where -Inside-
    and how to -Add- it to other Npcs.
    Reply With Quote  
     

  7. #7  
    Member
    Join Date
    Mar 2009
    Posts
    624
    Thanks given
    49
    Thanks received
    30
    Rep Power
    0
    Quote Originally Posted by Aurapkz View Post
    I already said I know what class

    I need to know where -Inside-
    and how to -Add- it to other Npcs.
    I edited my post, read it.

    EDIT:
    Just a little help:
    Search for

    public void loadSpell(Client c, int i) {
    Then scroll down untill you see case 50: (it's KBD).
    Take a look at that, it should help you.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2011
    Posts
    58
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by 'Famouz View Post
    I edited my post, read it.

    EDIT:
    Just a little help:
    Search for



    Then scroll down untill you see case 50: (it's KBD).
    Take a look at that, it should help you.
    I need to know how it works, not just copy Kbd and stick it on another Npc...
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Jun 2011
    Posts
    58
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Bump
    Reply With Quote  
     

  10. #10  
    Registered Member Pound Land's Avatar
    Join Date
    May 2011
    Age
    32
    Posts
    131
    Thanks given
    3
    Thanks received
    3
    Rep Power
    3
    Facepalm.

    Rip it off KBD/Corp etc.
    Spoiler for Vouches:
    Quote Originally Posted by Charmander View Post
    He's legit I bought a ton of powers off of him
    Quote Originally Posted by #Beatz View Post
    Legit, brought 5 pins off him.
    Quote Originally Posted by Coder Mark View Post
    100% Trusted Pound Land is legit Bought xat pins off him!
    Quote Originally Posted by lilmatty70 View Post
    Wow, this guy is totally 100% legit! Just got Anime hands & Status. If you need powers, this is the place to get them I would really recommend this guy
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. [PI] Attack styles
    By Mark in forum Help
    Replies: 1
    Last Post: 06-13-2011, 05:46 PM
  2. Replies: 2
    Last Post: 05-04-2011, 01:22 PM
  3. Attack styles help.
    By Drastic Pk in forum Help
    Replies: 9
    Last Post: 09-23-2010, 01:09 AM
  4. How to make the Dark Bow use the Range attack styles.
    By Mr Blah Man in forum Tutorials
    Replies: 10
    Last Post: 03-11-2008, 07:53 AM
  5. How to make the Dark Bow use the Range attack styles.
    By Mr Blah Man in forum Tutorials
    Replies: 18
    Last Post: 03-08-2008, 10:53 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
  •