Thread: [#163] All OSRS NPC anims grouped

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21  
    Registered Member
    Join Date
    Apr 2017
    Posts
    62
    Thanks given
    19
    Thanks received
    24
    Rep Power
    12
    Quote Originally Posted by Stan View Post
    Updated to #154u4
    Thank you Stan! Great work
    Reply With Quote  
     

  2. #22  
    OS-Saradomin Founder & Developer

    Saradomin's Avatar
    Join Date
    Nov 2015
    Posts
    593
    Thanks given
    296
    Thanks received
    149
    Rep Power
    238
    You able to do this with npc's gfx projectiles and shit like that?
    Reply With Quote  
     

  3. #23  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    394
    Rep Power
    521
    Quote Originally Posted by Saradomin View Post
    You able to do this with npc's gfx projectiles and shit like that?
    Looked into it before, seems harder/quite impossible, but guess there's always a way to do it and I could find out. But I stopped with everything related to RS as I have no time for it anymore IRL, I only update this thread once in a while and do my dumping services from time to time in the weekends. So sorry but you'd have to figure that one out yourself
    Reply With Quote  
     

  4. #24  
    Tetra317 Owner

    Join Date
    Apr 2017
    Posts
    24
    Thanks given
    1
    Thanks received
    10
    Rep Power
    11
    Hey, any chance of this being updated to include revs etc.? I believe these are in 159/160.
    Reply With Quote  
     

  5. #25  
    Registered Member
    Join Date
    Jun 2013
    Posts
    129
    Thanks given
    7
    Thanks received
    9
    Rep Power
    11
    Quote Originally Posted by Stan View Post
    Looked into it before, seems harder/quite impossible, but guess there's always a way to do it and I could find out. But I stopped with everything related to RS as I have no time for it anymore IRL, I only update this thread once in a while and do my dumping services from time to time in the weekends. So sorry but you'd have to figure that one out yourself
    Yeah pls, #160
    Reply With Quote  
     

  6. #26  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    394
    Rep Power
    521
    Quote Originally Posted by EddieRSPS View Post
    Hey, any chance of this being updated to include revs etc.? I believe these are in 159/160.
    Quote Originally Posted by DarklightOwn View Post
    Yeah pls, #160
    Got quite a few requests for this, but I quit the RSPS scene, just checking my inbox once a week or so.
    If someone can post the npcs.txt & sequences.txt from the current rev from an OpenRS dump i'll run my tool on them. Cba fixing the OpenRS readvals.
    Reply With Quote  
     

  7. #27  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Stan View Post
    Got quite a few requests for this, but I quit the RSPS scene, just checking my inbox once a week or so.
    If someone can post the npcs.txt & sequences.txt from the current rev from an OpenRS dump i'll run my tool on them. Cba fixing the OpenRS readvals.
    Wouldn't it be easier to release the code to do it so people stop pestering you?
    Reply With Quote  
     

  8. #28  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    394
    Rep Power
    521
    Quote Originally Posted by Stuart View Post
    Wouldn't it be easier to release the code to do it so people stop pestering you?
    I sold all my dumpers & tools, so that'd be unfair for the buyer.
    However releasing the output of any of them isn't against the deal I made with him, so i'm still willing to help the community out with releases like this. I'm just not going to invest (a lot of) time into it anymore.

    EDIT: Updated to OSRS #163
    Last edited by Stan; 02-21-2018 at 01:46 PM.
    Reply With Quote  
     

  9. Thankful users:


  10. #29  
    Donator


    Join Date
    Dec 2014
    Posts
    369
    Thanks given
    77
    Thanks received
    112
    Rep Power
    164
    Quote Originally Posted by Stan View Post
    I sold all my dumpers & tools, so that'd be unfair for the buyer.
    However releasing the output of any of them isn't against the deal I made with him, so i'm still willing to help the community out with releases like this. I'm just not going to invest (a lot of) time into it anymore.

    EDIT: Updated to OSRS #163
    Thank you so much for this, I really appreciate it.
    Attached image
    Reply With Quote  
     

  11. #30  
    Banned

    Join Date
    Jun 2008
    Age
    27
    Posts
    2,312
    Thanks given
    485
    Thanks received
    231
    Rep Power
    0
    Code:
    package com.jinrake.game.world.entity.mob.npc.anim;
    
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.HashMap;
    
    import com.google.gson.Gson;
    
    public class CachedAnimation {
    	
    	public static HashMap<Integer, CachedAnimationDefinition> definitions = new HashMap<Integer, CachedAnimationDefinition>();
    	
    	public static void loaddump() throws IOException {
            FileReader reader = new FileReader(new File("./data/def/npc/possibleanimations.json"));
            CachedAnimationDefinition[] defs = new Gson().fromJson(reader, CachedAnimationDefinition[].class);
            for (CachedAnimationDefinition def : defs) {
                definitions.put(def.id, def);
                System.out.println("ID: "+def.id+" NAME: "+def.name+" ANIMS: "+def.attackBlockAnims.length);
            }
            
            reader.close();
    	}
    	
    	/**
    	 * rewrite original data file
    	 * @param args
    	 * @throws IOException
    	 */
    	
    	public static void main(String[] args) throws IOException {
    		loaddump();
    		
    	}	
    	
    	public class CachedAnimationDefinition {
    		
    		private int id;
    		private String name;
    		private int[] stanceAnims;
    		private int[] walkAnims;
    		private int[] attackBlockAnims;
    		private int[] deathAnims;
    		private int[] otherAnims;
    		
    		public CachedAnimationDefinition() {
    
    		}
    
    		public CachedAnimationDefinition(final int id) {
    			this.id = id;
    			setDefault();
    		}
    
    		private void setDefault() {
    		
    
    		}
    	}
    }
    Tnx 4 the dump this is a quick loader
    Reply With Quote  
     

Page 3 of 4 FirstFirst 1234 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. REQUEST osrs npc animations
    By _Patrick_ in forum Requests
    Replies: 0
    Last Post: 01-24-2016, 11:52 PM
  2. all 498 npc animations
    By Ash Ketchum in forum Requests
    Replies: 0
    Last Post: 04-25-2014, 06:25 AM
  3. ALl ganodermic npc Animations.
    By Ss Pker in forum Requests
    Replies: 1
    Last Post: 02-20-2013, 03:04 AM
  4. ALl ganodermic npc Animations.
    By Ss Pker in forum Requests
    Replies: 0
    Last Post: 02-17-2013, 04:39 AM
  5. Replies: 2
    Last Post: 11-02-2011, 10:14 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
  •