Thread: Help with customs

Results 1 to 6 of 6
  1. #1 Help with customs 
    Donator

    Join Date
    Mar 2013
    Age
    26
    Posts
    43
    Thanks given
    8
    Thanks received
    1
    Rep Power
    11
    I just want someone to tell me or give me a guide with item models etc for lime whip and dragon kiteshield telling me exactly where to place the files because it is my first time adding customs and idk wtf ime doing thanks .
    Reply With Quote  
     

  2. #2  
    Member Help with customs Market Banned

    Join Date
    May 2011
    Age
    29
    Posts
    414
    Thanks given
    16
    Thanks received
    44
    Rep Power
    56
    You'll need to add this inside ItemDef.java in the client side. Also you'll need to add the model file into the Raw folder.

    Code:
    			case ####: // Pick your own case id. 
    			itemDef.itemActions = new String[5];
    			itemDef.modifiedModelColors = new int[1];
    			itemDef.originalModelColors = new int[1];
    			itemDef.itemActions[1] = "Wield";
    			itemDef.modelID = 5412;
    			itemDef.anInt165 = 51797; // Male
    			itemDef.anInt200 = 51819; // Female 
    			itemDef.modelZoom = 840;
    			itemDef.modelRotationY = 280;
    			itemDef.modelRotationX = 0;
    			itemDef.modelOffset1 = -2;
    			itemDef.modelOffset2 = 56;
    			itemDef.anInt204 = 0;
    			itemDef.name = "Lime Whip";
    			itemDef.description = "Custom description here.".getBytes();
    			itemDef.modifiedModelColors[0] = 17350;
    			itemDef.originalModelColors[0] = 528;
    			break;
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Donator

    Join Date
    Mar 2013
    Age
    26
    Posts
    43
    Thanks given
    8
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Chris^ View Post
    You'll need to add this inside ItemDef.java in the client side.

    Code:
    			case ####: // Pick your own case id. 
    			itemDef.itemActions = new String[5];
    			itemDef.modifiedModelColors = new int[1];
    			itemDef.originalModelColors = new int[1];
    			itemDef.itemActions[1] = "Wield";
    			itemDef.modelID = 5412;
    			itemDef.anInt165 = 51797; // Male
    			itemDef.anInt200 = 51819; // Female 
    			itemDef.modelZoom = 840;
    			itemDef.modelRotationY = 280;
    			itemDef.modelRotationX = 0;
    			itemDef.modelOffset1 = -2;
    			itemDef.modelOffset2 = 56;
    			itemDef.anInt204 = 0;
    			itemDef.name = "Lime Whip";
    			itemDef.description = "Custom description here.".getBytes();
    			itemDef.modifiedModelColors[0] = 17350;
    			itemDef.originalModelColors[0] = 528;
    			break;
    Thats all ?
    Reply With Quote  
     

  5. #4  
    Member Help with customs Market Banned

    Join Date
    May 2011
    Age
    29
    Posts
    414
    Thanks given
    16
    Thanks received
    44
    Rep Power
    56
    Quote Originally Posted by infidius View Post
    Thats all ?
    I've just edited my post, also you'll have to add the item case number to the item.cfg file in the source.
    Reply With Quote  
     

  6. #5  
    Donator

    Join Date
    Mar 2013
    Age
    26
    Posts
    43
    Thanks given
    8
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Chris^ View Post
    I've just edited my post, also you'll have to add the item case number to the item.cfg file in the source.
    Thanks very helpful , gave thanks and rep


    do you know where I can get the model file and what is the raw file I add it to?
    Last edited by infidius; 08-13-2013 at 03:10 PM. Reason: 1 more thing
    Reply With Quote  
     

  7. #6  
    Donator

    Join Date
    Mar 2013
    Age
    26
    Posts
    43
    Thanks given
    8
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Chris^ View Post
    You'll need to add this inside ItemDef.java in the client side. Also you'll need to add the model file into the Raw folder.

    Code:
    			case ####: // Pick your own case id. 
    			itemDef.itemActions = new String[5];
    			itemDef.modifiedModelColors = new int[1];
    			itemDef.originalModelColors = new int[1];
    			itemDef.itemActions[1] = "Wield";
    			itemDef.modelID = 5412;
    			itemDef.anInt165 = 51797; // Male
    			itemDef.anInt200 = 51819; // Female 
    			itemDef.modelZoom = 840;
    			itemDef.modelRotationY = 280;
    			itemDef.modelRotationX = 0;
    			itemDef.modelOffset1 = -2;
    			itemDef.modelOffset2 = 56;
    			itemDef.anInt204 = 0;
    			itemDef.name = "Lime Whip";
    			itemDef.description = "Custom description here.".getBytes();
    			itemDef.modifiedModelColors[0] = 17350;
    			itemDef.originalModelColors[0] = 528;
    			break;
    I added it to itemdef.java but there is a folder in my client called customitems.java and ime wondering whether I should put it there instead with the same type of things for example :
    case 23639:
    itemDef.name = "TokHaar-Kal";
    itemDef.value = 60000;
    itemDef.maleEquip1 = 62575;
    itemDef.femaleEquip1 = 62582;
    itemDef.groundActions = new String[5];
    itemDef.groundActions[2] = "Take";
    itemDef.modelOffset1 = -4;
    itemDef.modelID = 62592;
    itemDef.stackable = false;
    itemDef.description = "A cape made of ancient, enchanted obsidian.";
    itemDef.modelZoom = 2086;
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wear";
    itemDef.actions[4] = "Drop";
    itemDef.modelOffset2 = 0;
    itemDef.modelRotation1 = 533;
    itemDef.modelRotation2 = 333;
    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. Please help with Custom Model
    By linkcg0 in forum Help
    Replies: 0
    Last Post: 05-02-2009, 02:25 AM
  2. help with custom models in hd client.
    By hackerboy in forum Help
    Replies: 1
    Last Post: 04-14-2009, 12:39 PM
  3. Need help with custom world switching.
    By Ecstasy in forum Help
    Replies: 1
    Last Post: 12-03-2008, 02:24 AM
  4. Need help with customs....
    By mudvayne5493 in forum Help
    Replies: 2
    Last Post: 10-20-2008, 09:38 PM
  5. help with custom item
    By Tariq in forum Requests
    Replies: 2
    Last Post: 09-21-2008, 09:11 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
  •