Ok so for those of you noobs who wanna make your server first person this is where you will probably need to look
to change your zoom closer or further away simply go to one of these methods and play around with them.
Code:
private void setCameraPos(int i, int j, int k, int l, int i1, int j1) {
Mess around with these ints. simply + or - like i did with zCameraPos
Code:
xCameraPos = k - i2; // idk honestly
zCameraPos = l - j2 - 275; // Height?
yCameraPos = j1 - k2; // Zoom or height idk tbh
yCameraCurve = j;
xCameraCurve = i1;
there is also
Code:
private void method146() {
Code:
setCameraPos(i * 1, i, anInt1014, getViewportHash(plane, myPlayer.y, myPlayer.x) + 100, k, anInt1015);
simply change the i * 1 to a different digit -2 or -1 is like first person but it screws up the camera. So idk play around with it.
Thats all... DO NOT REPLACE THESE WITH THE ONES I HAVE POSTED...unless you want to..