Thread: npc walk server side

Results 1 to 8 of 8
  1. #1 npc walk server side 
    Registered Member
    Join Date
    Jun 2010
    Posts
    84
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    im trying to add a new emote to a new npc for there walking

    any idea were i can add it?

    like the emote id for a green drags walk is 79
    well ive looked everywere for that number must in client but im looking for a place to add this server sided
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    explain beter please
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2010
    Posts
    84
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    explained better was tired when i typed it lol

    like they have a place for there blocks, attacks, and deaths in server side

    i want to find where i can find to a npcs walking emotes and standing emotes so they dont look all glithhy
    Reply With Quote  
     

  4. #4  
    Registered Member
    Zaga's Avatar
    Join Date
    Jan 2010
    Posts
    514
    Thanks given
    89
    Thanks received
    47
    Rep Power
    149
    You CAN add this server sided, but it's a lot simpler to do it client sided.


    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2010
    Posts
    84
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    so its not added to servers yet?
    Reply With Quote  
     

  6. #6  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    u can do that client side beter

    for example

    Code:
    if(i == NPC ID) {
    				class5.anInt77 = STAND EMOTE; // stand emote
    				class5.anInt67 = WALK EMOTE; // walk emote
    				}
    didnt test it but hope for u it will work
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2010
    Posts
    84
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    already know that but i uploaded my client already forgot to add it in there before i did

    i well ill just add it in for the next updated client
    Reply With Quote  
     

  8. #8  
    Blue Slide Park [Mac Miller]
    Diverse Reality's Avatar
    Join Date
    Jun 2010
    Posts
    3,089
    Thanks given
    186
    Thanks received
    182
    Rep Power
    94
    npcHandler.java is where u set animations such as:

    if (npcs[NPCID].npcType == 9)
    npcs[NPCID].animNumber = 386;

    OR

    npcs[i].animNumber = 2646;
    } else if (npcs[i].npcType == 2745) {
    npcs[i].animNumber = 2654; //jad dead
    } else if(npcs[i].npcType == 1610){
    npcs[i].animNumber = 1518;

    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
  •