its in the itemhandler or itemmanager put it in the body slots
|
Hi all!
I have a problem, i put a dragon platebody in my client and it seems to be no problem but when i equip it, it unwields my weapon and is in my weapon slot.
How can i solve this problem?
I tried in the item.cfg and copied the 2 codes of rune platebody and changed them into dragon platebody (and added customs stats for d plate) but i invented a new "item = ****" maybe that is wrong?
item = 1127 Rune_platebody It's_a_Rune_platebody 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 -30 -10 77 77 77 -6 80 0 0
item = 1128 Rune_platebody Swap_this_note_at_any_bank_for_a_Rune_platebody. 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 0 0 0 0 0 0 0 0 0
item = 7810 Dragon_platebody It's_a_Dragon_platebody 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 -10 -8 100 105 103 -4 120 0 0
item = 7811 Dragon_platebody Swap_this_note_at_any_bank_for_a_Dragon_platebody. 40777.6030268936 40777.6030268936 53022.3636702846 0 0 0 0 0 0 0 0 0 0 0 0
Code in itemDef of dragon platebody:
if(i == 14479)
{
itemDef.actions = new String[5];
itemDef.actions[1] = "Wear";
itemDef.originalModelColors = new int[2];
itemDef.modifiedModelColors = new int[2];
itemDef.originalModelColors[0] = 5662;
itemDef.modifiedModelColors[0] = 910;
itemDef.originalModelColors[1] = 3608;
itemDef.modifiedModelColors[1] = 910;
itemDef.modelID = 14104;
itemDef.modelZoom = 1600;
itemDef.modelRotation1 = 488;
itemDef.modelRotation2 = 50;
itemDef.modelOffset1 = -1;
itemDef.modelOffset2 = 2;
itemDef.maleEquip1 = 14105;
itemDef.femaleEquip1 = 14105;
itemDef.certID = 14479;
itemDef.name = "Dragon platebody";
itemDef.description = "Provides excellent protection.".getBytes();
}
I hope i posted in the right section.
I'm new at coding etc
Thanks!
its in the itemhandler or itemmanager put it in the body slots
go to item.java or item4.java or where-ever u have these:
and add the pl8 id to both of them.Code:public static int body[] = { public static int platebody[] = {
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |