|
AKA Fixing Invisible K'ril Tsutsaroth on 667 NPCs!
I was sick and tired of servers loading newer NPCs (667+) having an invisible K'ril Tsutsaroth because of his polygon count being too high, so I managed to fix that shit.
Replace these values in Model.java:
What you get is this:Code:public static int anIntArrayArray1674[][] = new int[12][65535];//maxPolygons1 public static int anIntArray1675[] = new int[65535];//maxPolygons2 public static int anIntArray1676[] = new int[65535];//maxPolygons3
Had it not been for Owner Blade, I wouldn't have been able to post this thread.
Goodjob, if u want full support u also need to increase the camera and projection vertex position arrays (otherwise some camera angles will still make the client throw exceptions and make ur model flash).
Though that might only be neccary for really big models
Nicely done lad
wouldnt a zbuffer fix this or
but thanks anyways chief
gr8 cause extending arrays is always the best option :-) how about u take a look at ur mem usage
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |