Doesn't work.
|
|
when you add new npcs, the black parts of npcs turn transparent
only server i've seen with this fixed is grinderscape when i was trying to fix this, after a bunch of messing around i made this and it worked (made this few months back)
just put this in entityDef with your custom npc loading
Code:if (entityDef.modifiedModelColors != null) { for (int i2 = 0; i2 < entityDef.modifiedModelColors.length; i2++) { if (entityDef.modifiedModelColors[i2] == 0) { entityDef.modifiedModelColors[i2] = 1; } } }
Doesn't work.

As far as I know, the reason this issue exists is because of the earlier models such
as godswords and torsos which rendered a black triangle for some reason.
(This can be found in the model class, method479)
Code:for (int i2 = 0; i2 < numberOfTriangleFaces; i2++) { if (face_color != null && face_alpha != null) {//Triangle fix ///if (face_color[face] == 65535 || face_color[face] == 16705 || face_color[face] == 0) //face_alpha[face] = 255; }

I kind of stated that already,
Solution: Use a later revision model, from what I believe it's because it's a 500- model?As far as I know, the reason this issue exists is because of the earlier models such
as godswords and torsos which rendered a black triangle for some reason.

I think <= 602 is fine with that, 633 + it screws up.
| « new gwd killcount | [PI] Custom Slayer Shop Interface by DiamondX » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |