Thread: Adding models

Results 1 to 2 of 2
  1. #1 Adding models 
    Learning...

    Mathy's Avatar
    Join Date
    Jul 2013
    Posts
    231
    Thanks given
    31
    Thanks received
    12
    Rep Power
    82
    Hey,

    I tried to add the kodai wand to my server (to eventually add all the current OSRS items) and I used a #167 data cache dump to get the int and the model, here's the link to the post for that package:
    Spoiler for 167 data cache dump post:


    So I used this int (that I modified so it fits my client):
    Spoiler for 167 data int:
    Code:
    case 21006:
    	type.cost = 150000;
    	type.femaleModel0 = 32669;
    	type.interfaceOptions = new String[] { null, "Wield", null, null, null };
    	type.inventoryModel = 32789;
    	type.maleModel0 = 32669;
    	type.members = true;
    	type.name = "Kodai wand";
    	type.notedID = 21007;
    	type.stockMarket = true;
    	type.xan2d = 140;
    	type.xOffset2d = 2;
    	type.yan2d = 1416;
    	type.yOffset2d = -4;
    	type.zoom2d = 668;
    	type.anInt1879 = 21008;
    break;


    And I changed it to this:
    Spoiler for Current int in my client:
    Code:
    		case 22069:
    			itemDef.actions = new String[5];
    			itemDef.modelID = 21008;
    			itemDef.name = "Kodai Wand";
    			itemDef.modelZoom = 3000;
    			itemDef.modelRotation2 = 1416;
    			itemDef.modelRotation1 = 140;
    			itemDef.modelOffset1 = 2;
    			itemDef.modelOffsetY = -4;
    			itemDef.value = 20000000;
    			itemDef.maleWearId = 32699;
    			itemDef.femaleWearId = 32699;
    			itemDef.actions[1] = "Wield";
    			itemDef.groundActions = new String[] { null, null, "Take", null, null };
    			break;


    Here's how it shows on my player when I wear it:
    Spoiler for Wearing Kodai:
    Attached image


    So I used the int in the cache dump and the model that we're mentionned in the int, can anyone help me on this?

    Thanks!
    Spoiler for Vouches:
    Quote Originally Posted by StrayDog View Post
    Thanks Mathy for helping me with my server
    Quote Originally Posted by triscool1987 View Post
    Great Help, thanks Mathy_!
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Nov 2011
    Posts
    784
    Thanks given
    108
    Thanks received
    705
    Rep Power
    5000
    Quote Originally Posted by Mathy View Post
    Hey,

    I tried to add the kodai wand to my server (to eventually add all the current OSRS items) and I used a #167 data cache dump to get the int and the model, here's the link to the post for that package:
    Spoiler for 167 data cache dump post:


    So I used this int (that I modified so it fits my client):
    Spoiler for 167 data int:
    Code:
    case 21006:
    	type.cost = 150000;
    	type.femaleModel0 = 32669;
    	type.interfaceOptions = new String[] { null, "Wield", null, null, null };
    	type.inventoryModel = 32789;
    	type.maleModel0 = 32669;
    	type.members = true;
    	type.name = "Kodai wand";
    	type.notedID = 21007;
    	type.stockMarket = true;
    	type.xan2d = 140;
    	type.xOffset2d = 2;
    	type.yan2d = 1416;
    	type.yOffset2d = -4;
    	type.zoom2d = 668;
    	type.anInt1879 = 21008;
    break;


    And I changed it to this:
    Spoiler for Current int in my client:
    Code:
    		case 22069:
    			itemDef.actions = new String[5];
    			itemDef.modelID = 21008;
    			itemDef.name = "Kodai Wand";
    			itemDef.modelZoom = 3000;
    			itemDef.modelRotation2 = 1416;
    			itemDef.modelRotation1 = 140;
    			itemDef.modelOffset1 = 2;
    			itemDef.modelOffsetY = -4;
    			itemDef.value = 20000000;
    			itemDef.maleWearId = 32699;
    			itemDef.femaleWearId = 32699;
    			itemDef.actions[1] = "Wield";
    			itemDef.groundActions = new String[] { null, null, "Take", null, null };
    			break;


    Here's how it shows on my player when I wear it:
    Spoiler for Wearing Kodai:
    Attached image


    So I used the int in the cache dump and the model that we're mentionned in the int, can anyone help me on this?

    Thanks!
    The equip model is 32669, you put 32699 lol.
    Reply With Quote  
     

  3. 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. Adding models - [Outdated]
    By James in forum Tutorials
    Replies: 347
    Last Post: 04-17-2009, 09:31 PM
  2. Adding Models for Items and GFX [First TuT]
    By Valkyre in forum Tutorials
    Replies: 2
    Last Post: 08-05-2008, 05:50 PM
  3. [req]Adding models for refactored clients[/req]
    By Cup-o-cino in forum Tutorials
    Replies: 1
    Last Post: 04-28-2008, 12:45 AM
  4. Adding Models Into "ItemDef.Java" (Hardcoding)
    By Evolution X in forum Tutorials
    Replies: 4
    Last Post: 01-02-2008, 11:27 PM
  5. Need a lil help with kevin way of adding models!
    By newservermaker in forum RS2 Client
    Replies: 0
    Last Post: 11-20-2007, 02:30 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
  •