I have written a rough first draught of a new version of the original post of this thread. I still intend to create some new screenshots for it and add website links etc. When its finished I'll create a new thread and ask Skuzzy to kill this one. If anyone has any corrections or suggestions to the following, please post them.
AH 3 Skin Files Format GuideAH 3 introduced a new file system for player created skins and existing older skins were automatically converted to this format, at least to some extent. The old AH 2 skins system used text files to alter some lighting effects globally over the whole skin whereas AH 3 uses image maps to control these effects on a per-pixel basis. This guide is intended to explain the new AH3 format and assumes some knowledge of skinning whether for AH 1 or 2 skins or some other game. It isn't a beginner-level “how to skin” guide.
AH 3 skins consist of one or more sets of five image files in a bmp format. To find out which files can be skinned for a particular ride you should log onto the AH Skins Management Page. Here the files are listed with their minimum/maximum allowable size and correct colour depth format and as either mandatory or optional. Default files can be downloaded from the hangar screen in-game or through the skin viewer which is available from HTC's website.
The file types used in AH 3 are as follows:
The
Diffuse Map is the basic skin file that all skins share, it is simply a painting of the skin draped over the 3D shape. The main difference between AH 3 diffuse maps and earlier versions is that this file is now saved as a 32-bit bmp rather than 256 colour bmp. The diffuse map is always mandatory for any skin.
The
Normal Map gives the illusion of bumps and dips on the surface of the skin by creating the shadows and highlights of these features derived from the current in-game position of the sun. The map stores information about the relative angle and height of each pixel to the surface of the 3D model. It is mandatory for all new skins, is a 32-bit bmp and uses an “_N” file suffix.
Creating a normal map is a two-stage process. First you must create a bump map and then use special software to convert this into a normal map. The initial bump map is pretty much the same as the one used in AH 2 skins where height is defined in shades of grey, with white being maximum height and black minimum. The difference is that in AH 3 the file is saved as a 32-bit colour bmp not as a 256 shade greyscale bmp. So to convert an AH2 bump map to AH3 bump map you would just rename it from a “_B” suffix to a “_N” suffix and increase the colour depth to 32-bit.
Converting your bump map to a normal map requires a normal map generator. Luckily these are available as free plug-ins for the most popular graphics programs. There are also stand-alone programs but these usually cost money.
Nvidia make a free normal-generating plug-in that works with both Photoshop and Paintshop Pro:-
https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshopThere is also a free normal tool available for Gimp:
http://registry.gimp.org/node/69Your graphics program's help file should tell you exactly how to set up a plug-in if you don't know how.
To use the normal map generator save your bump map as a 32-bit bmp, load this bmp back into your graphics program and run the normal map plug-in. Once you activate the normal software it will bring up a window giving numerous display options. On the Nvidia plug-in that I use the only settings I have altered from default are "Invert Y" and "Scale". Ticking “Invert Y” changes the look of the normal file so that it appears light is coming from the top rather than the bottom of the image and this makes the resultant normal image a lot easier to understand. Scale alters the size of the bumps, a bigger number means bigger bumps. I use a scale of 3 for aircraft and 10 for tanks, any other bump editing I do by using more or less extreme shades of grey on the bump map. Click OK and you have your normal map.
The
Specular Map controls how the surface of the skin reflects the sun's rays. Lighter areas are more reflective and darker less. This file makes a big difference to bare metal skins, the bright reflections on the metal areas and weak ones on the paintwork create a powerful illusion. The file is a 256 shade greyscale bmp. It is essentially the same as the specular map used in AH 2 but in AH 3 the file's suffix has changed from “_B_a” to a more logical “_S”. It is mandatory for all new skins.
The
Environment Map controls how the skin reflects the sky and land around it. It is easily created from a copy of the specular map and often looks quite similar to it. This is because different surfaces tend to reflect both the sun's rays and the environment to a similar degree, i.e shiny metal reflects both types of light better than paint. An area of the environment map that is close to white will give a chrome-like appearance to the skin. While this can look quite pretty my personal view is that this is not very realistic for a WW2 metal finish so I like to dull this effect down. So my environment map shades tend to be a fair bit bit darker than their specular map equivalents. The only areas that are near-white are things like glass navigation lights and highly polished inner gear pistons. The environment map is an optional file, has an “_E” suffix and is a 256 shade greyscale bmp.
The
Power Map controls how sharp the specular reflections are on the skin. Like the environment map this is easily created from a copy of the specular map and also ends up looking similar to it. It looks similar because shiny surfaces like polished metal tend to have sharp highlights and matt surfaces like paint or rubber have vague highlights. My power maps tend to have grey values darker than the specular map but lighter than the environment map. On my power maps the shadow effects I use on the diffuse, specular and environment maps are deleted and white borders are added to the panel lines. The power map is an optional file and is a 256 shade greyscale bmp with a “_P” suffix.
The
Alpha Map is used on some AH skins to create holes in the skin. Examples include the holes on the SBD-5 dive flaps, holes in tank tracks and the holes in WW1 aircraft damage files. Where an alpha map is included in the file list for a ride, a power map isn't. The map is a 256 shade greyscale where white is solid and black transparent.
You can in theory use an alpha map on any skin to turn parts of it invisible (instant clip-wing Spitfire etc) but you will only be able to view the result offline, HTC won't let you submit it like that.
Putting it all together. The AH 3 skin viewer has a number of new buttons to help skinners work with these new files. These allow the effects of each map to be viewed in isolation, or with all the effects shown together or, as in the "Lighting Only" screenshot below, with all the effects except the diffuse map shown. Here you can see the effects of the normal map, the panel lines scribed into the surface and the structure ripples in the highlights on the wing. Also the specularity, environment and power differences in the reflections between the painted and bare metal areas. The environment effect is displayed best on the side of the fuselage which is bluer on its top half and greener below.
The in-game screenshots shows what it looks like when its all put together.