if u want pm i can do it for u model sided
|
is there possible to recolor npc models? etc similar way to items :
itemDef.editedModelColor = new int[1];
itemDef.newModelColor = new int[1];
itemDef.editedModelColor[0] = 959;
itemDef.newModelColor[0] = 47023;
`?
if u want pm i can do it for u model sided
Yes completely possible, doing it via models means you'd have to have a separate model for each colour, doing it via definitions means you can use the same model multiple times over for items with different colours.
Bit tricky to get the original model colour that you want to change, would have to use some modelling tool for that, also worth learning what arrays are in java and how they work.Code:itemDef.editedModelColor = new int[] { 959, originalColour }; itemDef.newModelColor = new int[] { 47023, newColour };
Awesome thread I was just looking for this. I want to colour an npc so just want to know how it works.
What do the numbers here represent? Why do we need them?Code:itemDef.editedModelColor = new int[] { 959, originalColour }; itemDef.newModelColor = new int[] { 47023, newColour };
I'm guessing you need to find the model colours that it currently uses so it can search through them and replace them, so temDef.editedModelColor and itemDef.newModelColor will be arrays of the same length right? You might have like {100, 200} as editedModelColor and {105, 200} as newModelColor. That would keep the 200 colour on the npc the same and the parts of npc that were colour 100 will change to 105. Is this correct? Also what colour system is this, cause these numbers mean nothing to me, just give me a name and I can google it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |