Thread: Ruse Custom Items

Results 1 to 6 of 6
  1. #1 Ruse Custom Items 
    Registered Member
    Join Date
    Jul 2017
    Posts
    25
    Thanks given
    16
    Thanks received
    1
    Rep Power
    10
    I have a few questions regarding custom items in Ruse. The end result I need is an item named Dragon Bar that looks like any of the normal metal bars but red.

    What is the most efficient way of doing this?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2017
    Posts
    84
    Thanks given
    0
    Thanks received
    19
    Rep Power
    36
    You can recolor items client-sided in Itemdef.java, for example:

    Code:
    case 11924:
    			itemDef.name = "Malediction ward";
    			itemDef.modelZoom = 1200;
    			itemDef.rotationY = 568;
    			itemDef.rotationX = 1836;
    			itemDef.modelOffsetX = 2;
    			itemDef.modelOffsetY = 3;
    			itemDef.newModelColor = new int[] { -21608 }; **********
    			itemDef.editedModelColor = new int[] { 908 }; **********
    			itemDef.modelID = 9354;
    			itemDef.actions[1] = "Wield";
    			itemDef.actions[4] = "Drop";
    			itemDef.maleEquip1 = 9347;
    			itemDef.femaleEquip1 = 9347;
    			break;
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Sep 2018
    Posts
    58
    Thanks given
    17
    Thanks received
    10
    Rep Power
    0
    or just get a model made, as gunnar said would be easier recolouring it
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2017
    Posts
    84
    Thanks given
    0
    Thanks received
    19
    Rep Power
    36
    Here, 100%

    Add this to ItemDef.java
    Code:
    case 18885:
    			itemDef.name = "Dragon bar";
    			itemDef.actions = new String[]{null, null, null, null, null, null};
    			itemDef.modelID = 2408;
    			itemDef.modelZoom = 820;
    			itemDef.rotationY = 196;
    			itemDef.rotationX = 1180;
    			itemDef.modelOffset1 = 1;
    			itemDef.modelOffsetY = -8;
    			itemDef.newModelColor = new int[] { 933  };
    			itemDef.editedModelColor = new int[] { 7062 };
    			break;

    Add this to item.txt
    Code:
    Item Id: 18885
    Name: Dragon bar
    Examine: It's a bar of dragon.
    Value: 284480
    Stackable: false
    Noted: false
    Double-handed: false
    Equipment type: WEAPON
    Is Weapon: false
    finish
    Results:
    Attached image

    Enjoy bud
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member
    Join Date
    Jul 2017
    Posts
    25
    Thanks given
    16
    Thanks received
    1
    Rep Power
    10
    Quote Originally Posted by _Gunnar View Post
    Here, 100%

    Add this to ItemDef.java
    Code:
    case 18885:
    			itemDef.name = "Dragon bar";
    			itemDef.actions = new String[]{null, null, null, null, null, null};
    			itemDef.modelID = 2408;
    			itemDef.modelZoom = 820;
    			itemDef.rotationY = 196;
    			itemDef.rotationX = 1180;
    			itemDef.modelOffset1 = 1;
    			itemDef.modelOffsetY = -8;
    			itemDef.newModelColor = new int[] { 933  };
    			itemDef.editedModelColor = new int[] { 7062 };
    			break;

    Add this to item.txt
    Code:
    Item Id: 18885
    Name: Dragon bar
    Examine: It's a bar of dragon.
    Value: 284480
    Stackable: false
    Noted: false
    Double-handed: false
    Equipment type: WEAPON
    Is Weapon: false
    finish
    Results:
    Attached image

    Enjoy bud
    You are the man for this!!! It worked for me on the first try!


    Another question regarding colors;

    Code:
    itemDef.newModelColor = new int[] { 933  };
    itemDef.editedModelColor = new int[] { 7062 };
    How do I know what values to put into each of those fields and for an item with multiple colors what color would it change?
    Example: If I re-colored a godsword with this method would it recolor the whole thing including the hilt or just the blade?

    Best regards,
    Patrick
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    May 2017
    Posts
    84
    Thanks given
    0
    Thanks received
    19
    Rep Power
    36
    Quote Originally Posted by paepay1023 View Post
    You are the man for this!!! It worked for me on the first try!


    Another question regarding colors;

    Code:
    itemDef.newModelColor = new int[] { 933  };
    itemDef.editedModelColor = new int[] { 7062 };
    How do I know what values to put into each of those fields and for an item with multiple colors what color would it change?
    Example: If I re-colored a godsword with this method would it recolor the whole thing including the hilt or just the blade?

    Best regards,
    Patrick
    1) There's a recolouring guide here, you'll need metasequoia 4, datmaker, and a .dat model of the item you wish to recolor:
    https://www.rune-server.ee/runescape...ecoloring.html

    2) You can edit a single color or multiple colors on a model. It would just look something like this:
    Code:
    case 12927:
                	itemDef.name = "Magma blowpipe";
                	itemDef.modelZoom = 1158;
                	itemDef.rotationY = 768;
                	itemDef.rotationX = 189;
                	itemDef.modelOffset1 = -7;
                	itemDef.modelOffsetY = 4;
                	itemDef.groundActions = new String[] { null, null, "Take", null, null };
                	itemDef.actions = new String[] { null, "Wield", "Check", "Unload", "Uncharge" };
                	itemDef.newModelColor = new int[] { 8134, 5058, 926, 957, 3008, 1321, 86, 41, 49, 7110, 3008, 1317 };
                	itemDef.editedModelColor = new int[] { 48045, 49069, 48055, 49083, 50114, 33668, 29656, 29603, 33674, 33690, 33680, 33692 };
                	itemDef.modelID = 19219;
                	itemDef.maleEquip1 = 14403;
                	itemDef.femaleEquip1 = 14403;
                	break;
    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. Ruse customs items
    By Kyan in forum Help
    Replies: 3
    Last Post: 01-07-2018, 05:16 PM
  2. 317 Ruse custom item
    By dutchminer in forum Help
    Replies: 0
    Last Post: 09-11-2017, 12:28 PM
  3. [Ruse] Problem adding custom items
    By Dyslexic Donke in forum Help
    Replies: 3
    Last Post: 03-29-2016, 02:09 AM
  4. Replies: 3
    Last Post: 03-24-2016, 03:51 PM
  5. [Ruse] Adding Custom Items?
    By Lord Orago in forum Help
    Replies: 6
    Last Post: 01-21-2016, 11:39 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
  •