Thread: How do you add item emotes while walking, wielding, and attacking?

Results 1 to 2 of 2
  1. #1 How do you add item emotes while walking, wielding, and attacking? 
    Registered Member
    Join Date
    Dec 2007
    Posts
    50
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Where would I come about adding emotes for walking, wielding, and attacking in my server files?

    Thanks,

    Rep+ for anyone that helps..

    -Michaela
    Reply With Quote  
     

  2. #2  
    Beast

    Join Date
    May 2010
    Posts
    301
    Thanks given
    6
    Thanks received
    27
    Rep Power
    40
    for attacking you go to public int GetWepAnim(int id)

    then add something like

    id == weaponid
    return attack emote here;

    if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 8100 || id == 8032)
    {
    return 407;
    }

    for running search

    public int GetRunAnim(int id)

    then add
    id == weaponid
    return runemoteid;
    if(id == 35 || id == 2402 || id == 667 || id == 746 || id == 8100 || id == 8032)
    {
    return 1664;

    then for walking

    search public int GetWalkAnim(int id)
    same as above add
    id == itemid
    return walkemoteid;
    if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 8100 || id == 8032)
    {
    return 306;
    }

    then for standing search public int GetStandAnim(int id)

    then like others add
    id == weaponid
    return standemoteid;
    if(id == 746 || id == 667 || id == 35 || id == 2402 || id == 8100 || id == 6818 || id == 7808 || id == 7668 || id == 8032)
    {
    return 301;
    }

    for blocking search public int GetBlockAnim()

    then add
    playerEquipment[playerWeapon] == weapon id
    return blockid;

    if(playerEquipment[playerWeapon] == 35 || playerEquipment[playerWeapon] == 667 || playerEquipment[playerWeapon] == 8032 || playerEquipment[playerWeapon] == 2402 || playerEquipment[playerWeapon] == 8100 || playerEquipment[playerWeapon] == 746)
    {
    return 2063;

    for weapon speed search
    public int getbattleTimer()
    then add
    playerEquipment[playerWeapon]==weaponid
    return speed;
    you will have to add another
    }
    to the end of getbattletimer() if u add this or u will get errors

    if (playerEquipment[playerWeapon]==35 || playerEquipment[playerWeapon]==667 || playerEquipment[playerWeapon]==8032 || playerEquipment[playerWeapon]==2402 || playerEquipment[playerWeapon]==746 || playerEquipment[playerWeapon]==6528 || playerEquipment[playerWeapon]==4153 || playerEquipment[playerWeapon]==4718 ||playerEquipment[playerWeapon]==1377 || playerEquipment[playerWeapon]==3204 || playerEquipment[playerWeapon]==4827 || playerEquipment[playerWeapon]==7158 || playerEquipment[playerWeapon]==1319) {
    return 4500;
    } else {

    that is how
    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
  •