Thread: Npc , Help

Results 1 to 10 of 10
  1. #1 Npc , Help 
    Registered Member
    Join Date
    Sep 2012
    Posts
    287
    Thanks given
    9
    Thanks received
    6
    Rep Power
    31
    After adding a NPC I tried to fight with him but it fights with a little bug:




    See?, what is the problem with that ?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Aug 2013
    Age
    27
    Posts
    1,128
    Thanks given
    373
    Thanks received
    754
    Rep Power
    0
    Quote Originally Posted by hatem View Post
    After adding a NPC I tried to fight with him but it fights with a little bug:




    See?, what is the problem with that ?
    The problem is: this npc animation is wrong, you just need to change his attack and block animation to the correctly one.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2012
    Posts
    287
    Thanks given
    9
    Thanks received
    6
    Rep Power
    31
    Quote Originally Posted by Ardi View Post
    The problem is: this npc animation is wrong, you just need to change his attack and block animation to the correctly one.
    Thanks very much , would you give me more information how to change his attack and block animation ?.
    Reply With Quote  
     

  4. #4  
    Registered Member Frankie's Avatar
    Join Date
    Feb 2013
    Posts
    568
    Thanks given
    10
    Thanks received
    16
    Rep Power
    12
    Quote Originally Posted by hatem View Post
    Thanks very much , would you give me more information how to change his attack and block animation ?.
    search "getAttack"
    and "getBlock"
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Sep 2012
    Posts
    287
    Thanks given
    9
    Thanks received
    6
    Rep Power
    31
    Quote Originally Posted by Frankie View Post
    search "getAttack"
    and "getBlock"
    Searched but i didn't face a good explain or tut.
    Would you explain where exactly i have to change and what i have to change ?, also just let me know if the bug in server sided or client sided.
    Reply With Quote  
     

  6. #6  
    Registered Member Frankie's Avatar
    Join Date
    Feb 2013
    Posts
    568
    Thanks given
    10
    Thanks received
    16
    Rep Power
    12
    its server sided. if you want i can help you pm me your tv id. im helping someone at this very minute but ill help you in like 10
    Reply With Quote  
     

  7. #7  
    Registered Member Frankie's Avatar
    Join Date
    Feb 2013
    Posts
    568
    Thanks given
    10
    Thanks received
    16
    Rep Power
    12
    Spoiler for :
    public static int getAttackAnimation(int i) {
    switch(Server.npcHandler.npcs[i].npcType) {
    case 6213:
    case 6212:
    return 6547;
    case 6219:
    case 6254:
    case 6255:
    case 6256:
    case 6257:
    case 6258:
    case 6214:
    return 806;
    case 6216:
    return 1582;
    case 6218:
    return 4300;
    case 6221:
    return 811;

    case is npc id.
    the return is the attack emote, google the attack emote for goblins yw
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Sep 2012
    Posts
    287
    Thanks given
    9
    Thanks received
    6
    Rep Power
    31
    Quote Originally Posted by Frankie View Post
    Spoiler for :
    public static int getAttackAnimation(int i) {
    switch(Server.npcHandler.npcs[i].npcType) {
    case 6213:
    case 6212:
    return 6547;
    case 6219:
    case 6254:
    case 6255:
    case 6256:
    case 6257:
    case 6258:
    case 6214:
    return 806;
    case 6216:
    return 1582;
    case 6218:
    return 4300;
    case 6221:
    return 811;

    case is npc id.
    the return is the attack emote, google the attack emote for goblins yw
    Very thanks , but where do i have to add this code ?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Sep 2012
    Posts
    287
    Thanks given
    9
    Thanks received
    6
    Rep Power
    31
    Thanks very much guys i solved the problem!.
    Reply With Quote  
     

  10. #10  
    Registered Member Frankie's Avatar
    Join Date
    Feb 2013
    Posts
    568
    Thanks given
    10
    Thanks received
    16
    Rep Power
    12
    Quote Originally Posted by hatem View Post
    Thanks very much guys i solved the problem!.
    if i helped you thank me and give me
    and rep
    Reply With Quote  
     

  11. Thankful user:



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. npc help [508]
    By 0v3rc0m3 in forum Help
    Replies: 0
    Last Post: 02-04-2009, 01:51 AM
  2. how do i make train on npc help:)
    By e for ever in forum Help
    Replies: 1
    Last Post: 01-28-2009, 08:22 PM
  3. __ NPC Help Needed __
    By coder sal in forum Help
    Replies: 2
    Last Post: 01-25-2009, 01:02 AM
  4. NPC help
    By PasiipaZ in forum Help
    Replies: 1
    Last Post: 11-08-2008, 05:26 PM
  5. melee on npcs[help?]
    By Toonscape in forum Tutorials
    Replies: 5
    Last Post: 03-19-2008, 10:58 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •