Hi there,
I've added this code:
Code:
case 16635:
itemDef.actions = new String[5];
itemDef.modifiedModelColors = new int[1];
itemDef.originalModelColors = new int[1];
itemDef.actions[1] = "Wield";
itemDef.modelID = 5412;
itemDef.maleEquip1 = 5409;
itemDef.femaleEquip1 = 5409;
itemDef.modelZoom = 840;
itemDef.modelRotation1 = 280;
itemDef.modelRotation2 = 0;
itemDef.modelOffset1 = -2;
itemDef.modelOffset2 = 56;
itemDef.anInt204 = 0;
itemDef.name = "Yellow whip";
itemDef.description = "Whip from the abyss.".getBytes();
itemDef.modifiedModelColors[0] = 76770;//100
itemDef.originalModelColors[0] = 528;
break;
to my client's itemDef.java in order to recolour the whip, but when I try and spawn the item id 16635 nothing happens..?
I've always used recoloured models in the past and haven't tried this before - have I missed a step?
Edit: This doesn't actually have much to do with models, so it might be in the wrong section. Sorry!