Thread: 508+ Bow Animation for 317 Client

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38
  1. #1 508+ Bow Animation for 317 Client 
    Banned

    Join Date
    Oct 2009
    Posts
    1,621
    Thanks given
    15
    Thanks received
    67
    Rep Power
    0
    First, before you continue with this snippet, make sure you have SWAT's new emote system. Tutorial for it can be found here. Also, you might want to consider doing this quick tutorial. It can be found here. (note that this is not needed, but if you are going to keep adding new animations, do this tutorial)


    I'm sorry this isn't very good, this is my first attempt at making a new animation.

    Spoiler for Here is what you're adding:


    Spoiler for Non-Renamed:

    Add this code to your class20.java
    Code:
    if(j == 426) { //New Bow Animation
    int file = 1686;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {17,1,13,5,27,30,32,36,24,25,8,10,20,43,4,33,21,37,50,47,17};
    int[] delays = {3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3};
    aClass20Array351[j].anInt352 = frames.length-1;
    aClass20Array351[j].anIntArray353 = new int[frames.length-1];
    aClass20Array351[j].anIntArray354 = new int[frames.length-1];
    aClass20Array351[j].anIntArray355 = new int[frames.length-1];
    for(int i2 = 0; i2 < frames.length-1; i2++){
    aClass20Array351[j].anIntArray353[i2] = frames[i2]+FrameStart[file];
    aClass20Array351[j].anIntArray354[i2] = -1;
    aClass20Array351[j].anIntArray355[i2] = delays[i2];
    }
    }


    Spoiler for Renamed:
    Add this code to your Animation.java
    Code:
    if(j == 426) { //New Bow Animation
    int file = 1686;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {17,1,13,5,27,30,32,36,24,25,8,10,20,43,4,33,21,37,50,47,17};
    int[] delays = {3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3};
    anims[j].anInt352 = frames.length-1;
    anims[j].anIntArray353 = new int[frames.length-1];
    anims[j].anIntArray354 = new int[frames.length-1];
    anims[j].anIntArray355 = new int[frames.length-1];
    for(int i2 = 0; i2 < frames.length-1; i2++){
    anims[j].anIntArray353[i2] = frames[i2]+FrameStart[file];
    anims[j].anIntArray354[i2] = -1;
    anims[j].anIntArray355[i2] = delays[i2];
    }
    }

    And finally, download the animation file here.
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    its just the file of dclaws. let me get the real oder for you
    Reply With Quote  
     

  4. #3  
    Banned

    Join Date
    Oct 2009
    Posts
    1,621
    Thanks given
    15
    Thanks received
    67
    Rep Power
    0
    Quote Originally Posted by SWAT View Post
    its just the file of dclaws. let me get the real oder for you
    Ik, and cool thanks. I just tried to do this, I'm not very good at stuff like this.
    Reply With Quote  
     

  5. #4  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    fileframe [17]
    fileframe [1]
    fileframe [13]
    fileframe [5]
    fileframe [27]
    fileframe [30]
    fileframe [32]
    fileframe [36]
    fileframe [24]
    fileframe [25]
    fileframe [8]
    fileframe [10]
    fileframe [20]
    fileframe [43]
    fileframe [4]
    fileframe [33]
    fileframe [21]
    fileframe [37]
    fileframe [50]
    fileframe [47]
    fileframe [17]
    ur using the dclaw file right?
    thats the order i get out of a 525. you only need to make it into a array
    Reply With Quote  
     

  6. #5  
    Registered Member
    G0nzo's Avatar
    Join Date
    Feb 2009
    Posts
    4,960
    Thanks given
    514
    Thanks received
    546
    Rep Power
    1735
    that looks fine, u just need the new arrow gfx
    Computer Science Graduate, Java Expert
    Need help with something? PM me
    Reply With Quote  
     

  7. #6  
    Xenon
    Guest
    Good snippet. Thanks for the release.
    Reply With Quote  
     

  8. #7  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    Quote Originally Posted by G0nzo View Post
    that looks fine, u just need the new arrow gfx
    what changed? nvm ill look for it file 544
    Reply With Quote  
     

  9. #8  
    Registered Member
    G0nzo's Avatar
    Join Date
    Feb 2009
    Posts
    4,960
    Thanks given
    514
    Thanks received
    546
    Rep Power
    1735
    Quote Originally Posted by SWAT View Post
    what changed? nvm ill look for it file 544
    the projectile matches the emote, look at that gif the 317 doesnt match
    Computer Science Graduate, Java Expert
    Need help with something? PM me
    Reply With Quote  
     

  10. #9  
    Registered Member
    DaraX's Avatar
    Join Date
    Apr 2009
    Posts
    1,183
    Thanks given
    18
    Thanks received
    29
    Rep Power
    262
    The animation is missing some frames, look it on RuneScape then look at yours, it doesn't go down like it does on RuneScape.
    Reply With Quote  
     

  11. #10  
    Banned

    Join Date
    Oct 2009
    Posts
    1,621
    Thanks given
    15
    Thanks received
    67
    Rep Power
    0
    Quote Originally Posted by SWAT View Post
    ur using the dclaw file right?
    thats the order i get out of a 525. you only need to make it into a array
    Thanks, what are the delays?
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

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
  •