I am using PI more specifically the PI that came with the Rune-Fusion source Lost Valentino released.
I am preloading models for PVP armor and no matter what I do the new item won't go in the right worn slot.
Let's take Vesta's chainbody as an example. I have the ID in the right spots in Item.java:
Code:
public static int body[] = {11142, 7608, 2520};
public static int platebody[] = {11142, 10338, 7608};
The item loads perfectly with no problems it just won't go in the right fucking spot.
Here's my Itemdef code for it, if it matters:
Code:
if(i == 11142) {
itemDef.itemActions = new String[5];
itemDef.itemActions[1] = "Wear";
itemDef.modelID = 42593;
itemDef.modelZoom = 1440;
itemDef.modelRotationY = 545;
itemDef.modelRotationX = 2;
itemDef.modelOffset2 = 5;
itemDef.modelOffset1 = 4;
itemDef.anInt204 = 0;
itemDef.anInt165 = 42624;
itemDef.anInt165 = 42624;
itemDef.stackable = false;
itemDef.name = "Vesta's chainbody";
itemDef.description = "This item degrades in combat, and will turn to dust.".getBytes();
}
If I make a "new" item by putting a non-existent number like 13887 the item will go to the head slot, if I overwrite an existing item (which is shown above) then it goes to the weapon slot. So whats going on here? I'll pay $1.00 paypal if someone can get this working