Building upon the great work of others, I offer my further tweaked La-5FN cockpit. New gun sight, tinted armored glass, gauge textures shamelessly taken from another mod from years ago (the name of the creator of which I've long forgotten), a fixed upper part of the rear armored glass frame, increased range of head movement for 4.12 players, fixed 270-degree compass glitch, fixed airspeed and VSI scaling, and numerous other little touches.
_____________________________________________________
UPDATE Jan 8, 2021: If you are just now about to get the full mod, no need for this update; it's now included in the full mod, linked to below the picture. But if you've already installed this mod before this update release, and don't want to re-download the whole thing again, here are the
4 cockpit class files only, for 4.12 (plus Java code, to help modders adapt to earlier versions). The new changes:
- Fixes the infamous compass glitch when passing through azimuth 270 degrees.
- Matches the airspeed and VSI needle response to those gauge graphics.
Available here:
https://www.mediafire.com/file/i2245y845pnism6/WxTech_La-5FN_cockpit_class_fix_4_12.7z/file_____________________________________________________
Get the full mod here, which
includes all updated material indicated above:
https://www.mediafire.com/file/wdpcze25g30jpcs/WxTech_La-5FN_cockpit_tweaks.7z/fileFrom the included readme file:
This is a quick overhaul, not delving into every little matter. I decided to not let the 'perfect' be the enemy of the good.
This mod applies only to the La-5FN. Not the La-5. It builds upon the marvelous canopy frame treatment by a modder whose name I never encountered. And of course it incorporates the sliding canopy code.
I include EVERY file in the La-5FN cockpit folder, as available up to 4.12. This makes this completely ready for any other mod work.
I include the cockpit class files for 4.12 (and the Java code), with these fixes (in addition to the already present sliding canopy mod):
- Added the 6dof code for increased range of head movement.
- Fixed the annoying compass snap-spin problem at azimuth 270.
- Matched the airspeeed and VSI scales to the gauges.
=============================
The main 3D and graphical changes:
- Added my own PBP-1 gun sight, with circular reticle mask, dynamically illuminated collimator reflection, and reticle.
- Added armored glass greenish tint.
- Fixed the gaps along the edges of the forward perspex; removed the perspex just ahead of the front armored glass.
- Added my own perspex texture, and reversed the surface normals for emphasis of forward scatter increased efficiency.
- Lowered the top part of the rear armored glass frame, to better follow the arch of the rest of the canopy.
- Fixed gaps in the cockpit tub where the sides meet the rear wall.
- Added instrument panel gauge textures, and seat, and other bits I got from another mod years ago, the name of the creator long forgotten. Sorry!
- Cleaned up the instrument panel transparency cutouts, for cleaner lines.
- Pulled inward the inner part of the canopy lock, so that it doesn't merge into the frame. (It does 'dig' into the leather padding as it slides back, but this is still a huge improvement.)
=============================
I've set the POVs for the two pilot position viewpoints to my own taste as a TIR user. If you want to alter the PoV for your pilot, the setting for this is in the file,
mainframe.msh.
[Hooks]
CAMERA <BASE>
CAMERAAIM <BASE>
CAMERAUP <BASE>
LIGHTHOOK_L <BASE>
LIGHTHOOK_R <BASE>
[HookLoc]
//1 0 0 0 1 0 0 0 1 -0.0168526 0.000619278 0.750618 //F L U
//1 0 0 0 1 0 0 0 1 0.108147 0.000619272 0.750618
//1 0 0 0 0 1 0 -1 0 0.383147 0.370619 0.340618
//1 0 0 0 0 1 0 -1 0 0.383147 -0.369381 0.340618
1 0 0 0 1 0 0 0 1 0.1 0.0 0.724
1 0 0 0 1 0 0 0 1 0.3 0.0 0.717
1 0 0 0 1 0 0 0 1 -0.157 -0.181 0.791
1 0 0 0 0 1 0 -1 0 0.383147 0.370619 0.340618
1 0 0 0 0 1 0 -1 0 0.383147 -0.369381 0.340618
As you can see, I REM'ed out the original values with "//" characters. The "//F L U" reminder tells you that the last 3 numbers on each line move the hook forward, left and up, and are measured in meters. The first two lines are for the 'normal' PoV and the SHF-F1 'gun sight' view. The 3rd line sets the 'seat up' PoV, toggleable when the canopy is opened. Here you move to the right, a little up, and well back in the seat. The LIGHTHOOKs don't seem to be supported; at least I never dug into the matter yet.
If you want to alter the strength of the green tint for the armored glass, alter the opacity in
GlassArmorFace.mat.
The last number of the following line sets the opacity (intensity), ranging between 0.0 and 1.0.
ColorScale 1.0 1.0 1.0 0.2
=============================
As always, this work is offered for the use by any and all, for any purpose, without restriction of hindrance.
WxTech,
Jan 4, 2021 (first release)
Jan 8, 2021 (this release, altering the classfiles and adding the Java code)