Thread: Vine whip recollor doesnt work

Results 1 to 8 of 8
  1. #1 Vine whip recollor doesnt work 
    Member
    Join Date
    Nov 2016
    Posts
    86
    Thanks given
    44
    Thanks received
    14
    Rep Power
    0
    The recolor of my vine whip doens't work. could someone help me out?
    [SPOIL]
    Code:
                itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.originalModelColors = new int[1];
    	            itemDef.modifiedModelColors = new int[1];
    	            itemDef.originalModelColors[0] = 869308091;
    	            itemDef.modifiedModelColors[0] = 23421;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime Whip";
    				itemDef.description = "A Lime Abyssal Whip".getBytes();
    				itemDef.modifiedModelColors = new int[2];
    				itemDef.originalModelColors = new int[2];
    				itemDef.modifiedModelColors[0] = 944;
    				itemDef.originalModelColors[0] = 18215;
    				itemDef.modifiedModelColors[1] = 0;
    				itemDef.originalModelColors[1] = 0;
    [/SPOIL]
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Ⱨ₳Ɽ₳₥ ₳₴ ₣Ʉ₵₭

    A Furry's Avatar
    Join Date
    Sep 2014
    Age
    23
    Posts
    2,779
    Thanks given
    2,123
    Thanks received
    1,968
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Kamtzy View Post
    The recolor of my vine whip doens't work. could someone help me out?
    [SPOIL]
    Code:
                itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.originalModelColors = new int[1];
    	            itemDef.modifiedModelColors = new int[1];
    	            itemDef.originalModelColors[0] = 869308091;
    	            itemDef.modifiedModelColors[0] = 23421;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime Whip";
    				itemDef.description = "A Lime Abyssal Whip".getBytes();
    				itemDef.modifiedModelColors = new int[2];
    				itemDef.originalModelColors = new int[2];
    				itemDef.modifiedModelColors[0] = 944;
    				itemDef.originalModelColors[0] = 18215;
    				itemDef.modifiedModelColors[1] = 0;
    				itemDef.originalModelColors[1] = 0;
    [/SPOIL]
    You have two separate sections for recolourings, as I highlighted. Try using this format for recolouring, as it's much easier to see which colour relates to what and it's cleaner code.
    Example:
    Code:
    					itemDef.originalModelColors = new int[] { 18626, 18626, 18626 };
    					itemDef.modifiedModelColors = new int[] { 7073, 43117, 61 };
    So it corresponds as 7073 being the colour on the original model, 18626 is the colour you're changing to. Also, the colour 869308091 seems a very high number, which might be why it's not working lol. I'd have to look at the colours on the original model to help you properly.

    EDIT: Also another pointer, only use a capital letter for the first word in the name of the item, so "Lime whip". That's how items are in RS.





    Reply With Quote  
     

  4. Thankful users:


  5. #3  
    Member
    Join Date
    Nov 2016
    Posts
    86
    Thanks given
    44
    Thanks received
    14
    Rep Power
    0
    this doesn't work bro
    Code:
    		case 16022:
    	            itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime Whip";
    				itemDef.description = "A Lime Abyssal Whip".getBytes();
    				itemDef.originalModelColors = new int[] { 18626, 18626, 18626 };
    				itemDef.modifiedModelColors = new int[] { 7073, 43117, 61 };
    				break;
    Reply With Quote  
     

  6. Thankful user:


  7. #4  
    Ⱨ₳Ɽ₳₥ ₳₴ ₣Ʉ₵₭

    A Furry's Avatar
    Join Date
    Sep 2014
    Age
    23
    Posts
    2,779
    Thanks given
    2,123
    Thanks received
    1,968
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Kamtzy View Post
    this doesn't work bro
    Code:
    		case 16022:
    	            itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime Whip";
    				itemDef.description = "A Lime Abyssal Whip".getBytes();
    				itemDef.originalModelColors = new int[] { 18626, 18626, 18626 };
    				itemDef.modifiedModelColors = new int[] { 7073, 43117, 61 };
    				break;
    That was the example code for the format, you'll need to use the numbers that you posted originally, but put them like that.





    Reply With Quote  
     

  8. #5  
    Member
    Join Date
    Nov 2016
    Posts
    86
    Thanks given
    44
    Thanks received
    14
    Rep Power
    0
    like this?

    this are the color codes:
    Code:
    itemDef.modifiedModelColors[0] = 944;
    itemDef.originalModelColors[0] = 18215;
    itemDef.modifiedModelColors[1] = 0;
    itemDef.originalModelColors[1] = 0;
    Code:
    case 16022:
    	            itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime Whip";
    				itemDef.description = "A Lime Abyssal Whip".getBytes();
    				itemDef.originalModelColors = new int[] { 944 };
    				itemDef.modifiedModelColors = new int[] { 18215 };
    				break;
    Quote Originally Posted by A Mage View Post
    I'd have to look at the colours on the original model to help you properly.

    EDIT: Also another pointer, only use a capital letter for the first word in the name of the item, so "Lime whip". That's how items are in RS.
    Could you please?
    Reply With Quote  
     

  9. #6  
    Registered Member
    Ziva's Avatar
    Join Date
    Aug 2013
    Posts
    742
    Thanks given
    237
    Thanks received
    319
    Rep Power
    421
    Quote Originally Posted by Kamtzy View Post
    like this?

    this are the color codes:
    Code:
    itemDef.modifiedModelColors[0] = 944;
    itemDef.originalModelColors[0] = 18215;
    itemDef.modifiedModelColors[1] = 0;
    itemDef.originalModelColors[1] = 0;
    Code:
    case 16022:
    	            itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime Whip";
    				itemDef.description = "A Lime Abyssal Whip".getBytes();
    				itemDef.originalModelColors = new int[] { 944 };
    				itemDef.modifiedModelColors = new int[] { 18215 };
    				break;


    Could you please?


    orgin color codes after mat

    so if mat1 then the colorcode is 1
    R-S Mod Response  NL
    Proud to be dutch.

    Do you want to start modelling? Check lumplums thread here!
    [Only registered and activated users can see links. ]
    Don't forget to look at the videos they will help you using primitives.
    Reply With Quote  
     

  10. Thankful user:


  11. #7  
    Member
    Join Date
    Nov 2016
    Posts
    86
    Thanks given
    44
    Thanks received
    14
    Rep Power
    0
    did it like this now, still no result:

    Code:
    	            itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime whip";
    				itemDef.description = "A Lime Abyssal whip".getBytes();
    				itemDef.originalModelColors = new int[] {1};
    				itemDef.modifiedModelColors = new int[] {994};
    Reply With Quote  
     

  12. #8  
    Registered Member
    Join Date
    Mar 2016
    Posts
    347
    Thanks given
    82
    Thanks received
    24
    Rep Power
    60
    Quote Originally Posted by Kamtzy View Post
    did it like this now, still no result:

    Code:
    	            itemDef.modelID = 54120;
    	            itemDef.modelZoom = 848;
    	            itemDef.modelRotation1 = 324;
    	            itemDef.modelRotation2 = 1808;
    	            itemDef.modelOffset1 = 5;
    	            itemDef.modelOffset2 = -1;
    	            itemDef.maleEquip1 = 54090;
    	            itemDef.femaleEquip1 = 54090;
    	            itemDef.actions = new String[5];
    	            itemDef.actions[1] = "Wield";
    	            itemDef.actions[4] = "Drop";
    				itemDef.name = "Lime whip";
    				itemDef.description = "A Lime Abyssal whip".getBytes();
    				itemDef.originalModelColors = new int[] {1};
    				itemDef.modifiedModelColors = new int[] {994};
    read the screenshot for colours.
    relevant ones are prolly 944, 1344, 27738 and 1358
    Reply With Quote  
     

  13. Thankful user:



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. c. doesnt work
    By Robin Spud in forum Help
    Replies: 4
    Last Post: 05-10-2009, 05:33 AM
  2. Replies: 9
    Last Post: 03-31-2009, 09:53 AM
  3. doesnt work.. WEIRD! delta
    By blacksh00t in forum Help
    Replies: 9
    Last Post: 02-01-2009, 02:52 PM
  4. Replies: 2
    Last Post: 10-14-2008, 08:47 PM
  5. chatback doesnt work?
    By Dezzy in forum Graphics
    Replies: 10
    Last Post: 09-11-2007, 10:59 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
  •