Thread: 317 NPC Colors help

Results 1 to 5 of 5
  1. #1 317 NPC Colors help 
    Registered Member
    Join Date
    Jan 2015
    Posts
    337
    Thanks given
    17
    Thanks received
    4
    Rep Power
    11
    Hey, I was wondering is there a bit of code that will tell me the color of an npc? or is there a program I can use to find out the model colors. I have a program to give me the colors to put on the npc but I dont have anything to get the "originalModelColors" from the npc. It's hard to explain lets say I want to change blue to green but I only have the green color code not the blue. so how do I get the blue?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2015
    Posts
    337
    Thanks given
    17
    Thanks received
    4
    Rep Power
    11
    I am willing to give a thanks and reputation.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2015
    Posts
    337
    Thanks given
    17
    Thanks received
    4
    Rep Power
    11
    Bump
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2015
    Posts
    337
    Thanks given
    17
    Thanks received
    4
    Rep Power
    11
    Bump
    Reply With Quote  
     

  5. #5  
    "We don’t worry about warnings; we only worry about errors."
    Rozo's Avatar
    Join Date
    Dec 2013
    Posts
    573
    Thanks given
    53
    Thanks received
    70
    Rep Power
    49
    Make a method in EntityDef.java
    Code:
    public static String npcAnims(int npcID) {
    		int[] colors = forID(npcID).anIntArray76;
    	        String name = forID(npcID).name;
    		return "@blu@"+name+" @bla@"+npcID+" - @red@[Colors: "+anIntArray76+"]"
    	}
    then make a command in client.java ::npcinfo or whatever to call it ingame, then do the command and the NPC ID. You will probably have to do a few changes.
    A man is smoking a cigarette and blowing smoke rings into the air. His girlfriend becomes irritated with the smoke and says, “Can’t you see the warning on the cigarette pack? Smoking is hazardous to your health!”

    To which the man replies, “I am a programmer. We don’t worry about warnings; we only worry about errors.” -Mod Ash

    Attached image
    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

Similar Threads

  1. 317 npc help
    By runescapersps1 in forum Help
    Replies: 0
    Last Post: 08-30-2014, 05:35 PM
  2. [317 PI] Need help with an NPC dialogue...
    By Shapesnatch in forum Help
    Replies: 4
    Last Post: 11-24-2013, 09:20 AM
  3. [317 PI] Color Help
    By Wobblum in forum Help
    Replies: 0
    Last Post: 12-24-2012, 06:01 AM
  4. Replies: 2
    Last Post: 09-05-2012, 07:38 AM
  5. Changing npc colors help!
    By Bulby Strife in forum Help
    Replies: 0
    Last Post: 07-06-2010, 09:20 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
  •