Copied exact item, model out of place. why ?
Hello there,
I'm messing around with new items and planning on doing some modelling. However, I just copied a complete DH set and added all the right ints by simply adding their correct itemdefs;
Code:
itemDef2 = ItemDefinition.get(4720);
itemDef.modelID = itemDef2.modelID;
itemDef.maleWearId = itemDef2.maleWearId;
itemDef.femaleWearId = itemDef2.femaleWearId;
itemDef.modelOffset1 = itemDef2.modelOffset1;
itemDef.modelOffsetX = itemDef2.modelOffsetX;
itemDef.modelOffsetY = itemDef2.modelOffsetY;
itemDef.modelRotation1 = itemDef2.modelRotation1;
itemDef.modelRotation2 = itemDef2.modelRotation2;
itemDef.modelZoom = itemDef2.modelZoom;
itemDef.actions = itemDef2.actions;
All items work fine, except for the platebody. The character's body went out of place by equipping the body. Did I miss an itemDef? If yes, can anybody tell me which one?
Or can this maybe, be because of the null item i have replaced? I also added the right itemdefs client sided (I simply copied the actual ones and changed the name).
Also another question. I dumped a model, changed the colors, made a new dat > gzipped it and added it. In game it shows a moving head which is odd... because the dropmodel works fine... Can anyone by any chance explain to me what I am doing wrong? thank you.
(btw im back after alot of years, dont mind my old posts where i was like 13 lmao).