Thread: [PI]how to add custom items to deadlypvpz v4

Results 1 to 7 of 7
  1. #1 [PI]how to add custom items to deadlypvpz v4 
    Donator

    Join Date
    Jul 2013
    Posts
    488
    Thanks given
    21
    Thanks received
    42
    Rep Power
    0
    I have deadlypvpz v4 and whenever i copy and paste custom partyhat PI codes into the itemdef_2.java, it doesnt work
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Dec 2011
    Posts
    967
    Thanks given
    234
    Thanks received
    208
    Rep Power
    0
    It should be the same as adding custom items into ANY server. itemdef.java, and since it has custom torva, you can just post the code in the same place.

    Should be fairly simple.
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Jul 2013
    Posts
    488
    Thanks given
    21
    Thanks received
    42
    Rep Power
    0
    Quote Originally Posted by icandoit View Post
    It should be the same as adding custom items into ANY server. itemdef.java, and since it has custom torva, you can just post the code in the same place.

    Should be fairly simple.
    itemdef.java has no items they are in itemdef_2.java, and no it doesnt seem to work
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2012
    Posts
    35
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    paste the ints in itemdef_2.java
    then go to items.cfg and add the item
    go to item.java and add id to "hats"
    should work (atleast works for me)
    Reply With Quote  
     

  5. #5  
    Donator

    Join Date
    Jul 2013
    Posts
    488
    Thanks given
    21
    Thanks received
    42
    Rep Power
    0
    Quote Originally Posted by gzikuuu View Post
    paste the ints in itemdef_2.java
    then go to items.cfg and add the item
    go to item.java and add id to "hats"
    should work (atleast works for me)
    could you possibly provide me an example of one of your custom helms? thanks
    Reply With Quote  
     

  6. #6  
    Member of the Imagine Cult

    Join Date
    Feb 2013
    Posts
    519
    Thanks given
    21
    Thanks received
    7
    Rep Power
    59
    Use these Ints:
    Code:
    if(i == 1804){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 6028;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Bronze partyhat";
    itemdef.description = "It's a Bronze partyhat.";
    }
    if(i == 1805){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 33;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Iron partyhat";
    itemdef.description = "It's a Iron partyhat.";
    }
    if(i == 1806){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 61;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Steel partyhat";
    itemdef.description = "It's a Steel partyhat.";
    }
    if(i == 1807){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 6020;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Black partyhat";
    itemdef.description = "It's a Black partyhat.";
    }
    if(i == 1808){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 43297;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Mithril partyhat";
    itemdef.description = "It's a Mithril partyhat.";
    }
    if(i == 1809){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 21662;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Adamant partyhat";
    itemdef.description = "It's a Adamant partyhat.";
    }
    if(i == 1810){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 36252;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Rune partyhat";
    itemdef.description = "It's a Rune partyhat.";
    }
    if(i == 1811){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 926;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Dragon partyhat";
    itemdef.description = "It's a Dragon partyhat.";
    }
    if(i == 1812){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 10388;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Barrows partyhat";
    itemdef.description = "It's a Barrows partyhat.";
    }
    if(i == 1813){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 17350;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Lime partyhat";
    itemdef.description = "It's a Lime partyhat.";
    }
    if(i == 1814){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 6073;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Lava partyhat";
    itemdef.description = "It's a Lava partyhat.";
    }
    Or make yours look around the same, or post your so we can fix it for ya
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Donator

    Join Date
    Jul 2013
    Posts
    488
    Thanks given
    21
    Thanks received
    42
    Rep Power
    0
    Quote Originally Posted by fiveriverflo View Post
    Use these Ints:
    Code:
    if(i == 1804){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 6028;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Bronze partyhat";
    itemdef.description = "It's a Bronze partyhat.";
    }
    if(i == 1805){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 33;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Iron partyhat";
    itemdef.description = "It's a Iron partyhat.";
    }
    if(i == 1806){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 61;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Steel partyhat";
    itemdef.description = "It's a Steel partyhat.";
    }
    if(i == 1807){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 6020;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Black partyhat";
    itemdef.description = "It's a Black partyhat.";
    }
    if(i == 1808){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 43297;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Mithril partyhat";
    itemdef.description = "It's a Mithril partyhat.";
    }
    if(i == 1809){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 21662;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Adamant partyhat";
    itemdef.description = "It's a Adamant partyhat.";
    }
    if(i == 1810){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 36252;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Rune partyhat";
    itemdef.description = "It's a Rune partyhat.";
    }
    if(i == 1811){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 926;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Dragon partyhat";
    itemdef.description = "It's a Dragon partyhat.";
    }
    if(i == 1812){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 10388;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Barrows partyhat";
    itemdef.description = "It's a Barrows partyhat.";
    }
    if(i == 1813){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 17350;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Lime partyhat";
    itemdef.description = "It's a Lime partyhat.";
    }
    if(i == 1814){ 
    itemdef.itemActions = new String[5];
    itemdef.itemActions[1] = "Wear";
    itemdef.modifiedModelColors = new int [1];
    itemdef.originalModelColors = new int [1];
    itemdef.modifiedModelColors[0] = 926;
    itemdef.originalModelColors[0] = 6073;
    itemdef.modelID = 2635;
    itemdef.modelZoom = 440;
    itemdef.modelRotation1 = 76;
    itemdef.modelRotation2 = 1850;
    itemdef.modelOffset1 = 0;
    itemdef.modelOffset1 = 1;
    itemdef.modelOffset2 = 0;
    itemdef.anInt165 = 187;
    itemdef.anInt200 = 363;
    itemdef.anInt188 = -1;
    itemdef.anInt164 = -1;
    itemdef.anInt175 = -1;
    itemdef.anInt197 = -1;
    itemdef.name = "Lava partyhat";
    itemdef.description = "It's a Lava partyhat.";
    }
    Or make yours look around the same, or post your so we can fix it for ya
    thankyou, i will try tomorrow morning (and give rep if it works so you know i'm fine ) . Could i send you a pm otherwise?
    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. How to add custom item to deathlypvpz V4
    By Asylum-Pk in forum Help
    Replies: 2
    Last Post: 07-25-2013, 05:23 AM
  2. Replies: 4
    Last Post: 06-15-2013, 08:06 PM
  3. Replies: 2
    Last Post: 08-29-2012, 07:00 AM
  4. Replies: 0
    Last Post: 08-29-2012, 06:24 AM
  5. How to add Custom Items to a 562 RSPS?
    By Exorcist in forum Help
    Replies: 1
    Last Post: 07-19-2011, 09:15 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
  •