Thread: Osrs item definition dump, including hardcoded recolouring, max item id 24871

Results 1 to 3 of 3
  1. #1 Osrs item definition dump, including hardcoded recolouring, max item id 24871 
    Owner of Dawntained

    Mgt Madness's Avatar
    Join Date
    Oct 2011
    Age
    28
    Posts
    3,380
    Thanks given
    1,429
    Thanks received
    958
    Rep Power
    2168
    I'm recolouring a bunch of items and had to dump the following files to make my recolouring journey a tad bit easier.. Hopefully sharing this will get some people to start recolouring.

    Someone tell me what revision these are, all i know is it goes up to item id 24871. It has the Princely monkey item, which is a July 2020 Osrs update Princely monkey - OSRS Wiki

    The item_definitions_recolours.txt is all you need to start recolouring Osrs items in a very easy way (still hardcoding). Displee has a model editor which is much better, it most likely also has colour replacing.


    item_definitions.txt example
    Code:
    case 24867:
    itemDefinition.name = "Princely monkey";
    itemDefinition.inventoryModel = 40690;
    itemDefinition.maleModel = 40675;
    itemDefinition.femaleModel = 40680;
    itemDefinition.zoom = 2276;
    itemDefinition.rotationY = 612;
    itemDefinition.inventoryX = -5;
    itemDefinition.inventoryY = -12;
    itemDefinition.inventoryOptions = new String[5];
    itemDefinition.inventoryOptions[0] = null;
    itemDefinition.inventoryOptions[1] = "Wear";
    itemDefinition.inventoryOptions[2] = "Transform";
    itemDefinition.inventoryOptions[3] = "Lap-count";
    itemDefinition.inventoryOptions[4] = "Release";
    break;
    item_definitions_recolours.txt. If any of the models have the same colours, it will combine them just like below.
    Code:
    Item: 4151 Abyssal whip
    Male and female colours
    
    itemDefinition.modelColourToEdit = new int[2];
    itemDefinition.newModelColourProduced = new int[2];
    colour = ItemColours.NONE;
    itemDefinition.modelColourToEdit[0] = 528;
    itemDefinition.newModelColourProduced[0] = colour == -1 ? 528 : colour;
    
    colour = ItemColours.NONE;
    itemDefinition.modelColourToEdit[1] = 16;
    itemDefinition.newModelColourProduced[1] = colour == -1 ? 16 : colour;
    
    -----
    Item: 4151 Abyssal whip
    Inventory colours
    
    itemDefinition.modelColourToEdit = new int[2];
    itemDefinition.newModelColourProduced = new int[2];
    colour = ItemColours.NONE;
    itemDefinition.modelColourToEdit[0] = 0;
    itemDefinition.newModelColourProduced[0] = colour == -1 ? 0 : colour;
    Item definitions
    Item definitions colours
    ItemColours
    Last edited by Mgt Madness; 10-10-2023 at 09:44 AM.
    Attached image
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    Join Date
    Mar 2016
    Posts
    362
    Thanks given
    102
    Thanks received
    24
    Rep Power
    60
    helped me fix ints on some items I previously didn't have them quite right on. awesome stuff
    Reply With Quote  
     

  4. #3  
    Registered Member
    Join Date
    Aug 2011
    Posts
    14
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    Absolute legend. This is extremely useful for what I'm working on, thank you!
    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. OSRS Item definitions dump
    By Dinh in forum Help
    Replies: 2
    Last Post: 01-22-2017, 06:02 PM
  2. Replies: 6
    Last Post: 11-19-2015, 07:32 PM
  3. 317-508 item definitions dump
    By Thrasher in forum Requests
    Replies: 0
    Last Post: 11-28-2013, 02:17 AM
  4. 663 Item Definition Dump
    By Velocity in forum Models
    Replies: 24
    Last Post: 09-30-2011, 06:53 AM
  5. [592 Cache] Complete item definition dump
    By Discardedx2 in forum Configuration
    Replies: 10
    Last Post: 08-19-2010, 06:50 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
  •