UPDATE #3, March 29, 2024: The main changes: I've repainted the interior green, replacing the former yellowish-gold. Some additional canopy elements have been painted black. The instrument panel is a very pale green, based on a number of online photos I've dug up. I've also adjusted the panel's surface normals so as to make the lighting of the upper edge give a more smoothly rounded form. The gauge mounting screws are now slotted, not Phillips. The magnetic compass has had a damping movement added. This completely replaces the full archive; it's a standalone install. Download from the link below...
UPDATE #2, Apr 12, 2023: I've added an improved reticle, the texture being of larger size and hence greater sharpness, and comprised of two layers, one being a subtle glow. The original archive has been updated. If you've already installed this mod, you may simply take the following three files and add them to your existing folder. The two textures are completely new, while the existing Reticle.mat file will have to be overwritten.
Reticle.mat
Reticle-new.tga
Reticle-new-blur.tga
------------------------------ end of update #2 ---------------------------UPDATE #1, May 12, 2021: The first release, in an interim state, was issued May 7, 2021. This should now be the 'final' release, and it
completely replaces the first. At least I'm happy enough, in spite of a number of littler things niggling at the back of my mind. This now includes the 4.12/BAT compatible cockpit class. The updated readme file contents are supplied below. The download link remains the same.
------------------------------ end of update #1 ---------------------------The gun sight, with dynamic collimator reflection (2 reflections, one from each glass surface), that changes intensity with the illumination angle. The glass texture is not 'milky' like the stock one, and the extra square texture on the face has been eliminated.
The sight's sun shade. Also not 'milky', but properly, cleanly transparent.
The instrument panel. The artificial horizon has been tidied up. The magnetic compass now looks like a recessed ball in shadow. Both of these gauges now show no bright background stuff through small gaps. All gauges have been given more appropriate bezels (the raised rings surrounding the faces), of a simple form.
The rear canopy. The framing has been made *slightly* rounder. Frame bar edges have been added, to give thickness. Glass now covers the rear canopy, where the stock plane had none.
The after cabin. I've added a shadow texture at the opening, to simulate the general darkness inside. The seat has had cutouts added for the holes.
Get the full cockpit here:
https://www.mediafire.com/file/dv8x0dswu5287d9/%25210_WxTech_Zero_Cockpit.7z/fileFrom the included readme file:
A Cockpit re-working of the A6M2 folder.
Third release, March 29, 2024. The main changes: I've repainted the interior green, replacing the former yellowish-gold. Some additional canopy elements have been painted black. The instrument panel is a very pale green, based on a number of online photos I've dug up. I've also adjusted the panel's surface normals so as to make the lighting of the upper edge give a more smoothly rounded form. The magnetic compass has had a damping movement added.
Second release, May 12, 2021.
The first, interim release: May 7, 2021.
Textures, 3-D elements and the cockpit class have all been tackled. Unless you have some mod that makes use of more specific plane folders, this will (or should) serve for the A6M2, A6M2-21 and A6M3 planes. At least it does in 4.12 and BAT Red Core. This mod contains EVERY file in the A6M2 folder; this is the complete thing, ready for other modders to tweak as they see fit without having to extract anything else.
I've included the cockpit class files for 4.12/BAT. If you're a Rebel (more properly, a Luddite
) playing an earlier version, simply delete these 4 classfiles. But I'm sure someone (we all know who) will soon enough cook up a 4.09 version. Worthwhile, so as to have a proper bank angle indicator and better behaved night lighting.
I've borrowed heavily from other modder's textures, in some cases mixing bits from here and there.
This project can hardly ever be truly finalized, but it's close enough at this point to call good enough. Note that because I do this work using a spreadsheet and simple text editor to alter or make meshes, this makes for a mighty slow slog. I must have put into this a solid week-and-a-half's worth of full-time days. Never said I was quick!
The main changes:
- Added the missing glass for the aft canopy.
- Slightly improved the aft canopy profile, by tweaking the worst offenders in angular frame segment transitions, and adding a couple extra segments. Now looks a bit more smoothly rounded.
- For the aft canopy, added frame edging so as to add thickness.
- Added my gun sight, which has better reflector and sun shade textures, gets rid of the long-standing extra square reflector plate texture, and adds a dynamic collimating lens reflection that varies with the illumination angle.
- Lifted the gun sight by 3cm.
- Fixed the more egregious of the multitude of bad surface normals all over the place.
- Put some effort into giving the artificial horizon and magnetic compass a better overall appearance. The gaps in the transparency cutouts have proper black backing behind them, so that no background textures forward of the panel can show through. You'll notice that the compass ball no longer shows the 'flickering' texture bits coming and going in the upper right part of the ball. That's because I reduced by a factor of 100 the size of the two triangular textures present in the 'parent', controlling meshes. They're not supposed to be seen, and now they're not!
- The canopy perspex surface normals have been reversed, so as to make dirt more prominent in the up-Sun direction, due to the greater efficiency of forward scattering.
- Gave the instruments a more consistent bezel (the raised circular rim surroundingn the face), of plain form, more in keeping with the real things.
- Added a shadow texture at the opening into the rear fuselage, to represent the more dimly lit 'cave' back there.
- Added transparency cutouts for the lightening holes in the seat.
- Removed the alpha channel for texture left.tga (which is used for the cockpit walls and both foreward and aft decking), the presence of which caused the Sun to be seen through parts of the 'pit side walls. This transparency layer was only there for the handhold openings on the forward decking near the gun sight. Not having these openings as see-through is a fair price to pay for not having the 'pit walls let the Sun shine through. Also, the .mat file must set:
tfTestA 0
- There were some 'useless' elements present that I've trimmed away. A simple gauge and needle for indicating oxygen pressure was cosmetic only; the gauge was generic and the needle was fixed. Moreover, there was a strange inability to show the gauge unless the cockpit lighting was turned on. This last issue was the main reason for deleting this one. Another pair of fixed needles were present, to indicate oxygen levels, but were not associated with any gauge at all. And the needles were hidden behind a sub-panel, anyway. So I disabled these. (Perhaps in the future, code could be added to make these gauges actually functional...)
- In the cockpit class:
# Added 6dof code to expand the range of virtual head movement. You'll be sure to like the extra close placement you can get to the sight, making for better gunnery in turn fights. Without having to toggle the gunsight view at all.
# Fixed the artificial horizon's bank angle caret action. It was, for all these years, incorrectly assigned as another turn rate indicator!!
# Fixed the interior night lamp emitters so as to greatly reduce flicker, as well as illuminate more of the panel.
I include the Java for the cockpit class, with my various comments present. For non-programmers who are curious, this is readable with any text editor, but Notepad++ (free) is excellent as it uses context highlighting for Java, making it more readable.
As with all my work, this is offered for use by any and all, for any reason, without restriction.
WxTech,
May 12, 2021
March 29, 2024