Difference between revisions of "Custom skins"

From War Thunder Wiki
Jump to: navigation, search
(Setting user camouflage)
 
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
If the appearance of your favourite vehicle has started to bore you, and the in-game camouflages available for it aren’t quite what you want, the best solution is to create a unique appearance for your vehicle with a user camouflage.
+
If you are bored with the look of your favorite vehicles and the available in-game camouflages are not quite right for your vehicle - a custom camouflage can be a good solution to creating a unique look for your vehicle.
You can always find interesting camouflages on the War Thunder LIVE portal or create your own.
 
User camouflage is set locally, i.e. only the player can see it. For others, your tank or aircraft will remain in the same camouflage that was selected in the “Appearance” menu as the basis for the user camouflage.
 
  
__TOC__
+
You can always find interesting camouflages on the [https://live.warthunder.com/feed/ War Thunder LIVE] or create your own. Custom camouflage will be set locally which means it is only visible to the player creating it themselves. For others, the tank or aircraft will remain in the camouflage that has been selected in the “Customization” menu as the basis for custom camouflage.     
  
==Setting user camouflage==
+
It is also possible to purchase camouflage for your vehicle on the [[War_Thunder_Market|War Thunder market]]. This camouflage will be visible to all players in battle.
Select the ground vehicle or aircraft you want to update the camouflage on, open the “Appearance” menu or click on the button to create an example camouflage.
 
  
<gallery perrow="1" widths="810px" heights="260px">
+
== How to setup custom camouflage ==
File:CustomSkins CreateSampleFiles Wiki.jpg ‎
+
Select the tank or aircraft on which you want to update the camouflage, open the “Customization” menu and click on the button to create an example of camouflage.
 +
 
 +
<gallery>
 +
File:Custom skins - 1-1.jpg|
 +
</gallery>
 +
 
 +
Then head to the folder with the installed War Thunder client and do the following:
 +
[[File:Custom skins - 1-2.png|thumb]]
 +
# Follow the path: <code>War Thunder → UserSkins → *''previously received folder name''*</code> (in example: template_ussr_t_34_85_d_5t).
 +
# If you want to install camouflage from War Thunder LIVE you need simply delete all the the contents of the folder then download the unique camo you like from  live.warthunder.com and copy into the folder the contents of the archive, which will consist of several .dds or .tga files, as well as the camouflage configuration file "''vehicle_name''.blk".
 +
::* If you want to create your own camouflage then proceed to editing already contained in the folder simple graphic files in .tga format. By default a texture will be created for tanks, which will be applied to all elements of the tank.
 +
 
 +
Return to the client and update the list of available camouflages by pressing the appropriate button.
 +
<gallery>
 +
File:Custom skins - 1-3.jpg|
 +
</gallery>
 +
 
 +
If you have done everything correctly, the camouflage you downloaded will be displayed in the list of custom camouflages when you click on it. Install it.
 +
<gallery>
 +
File:Custom skins - 1-4.png|
 +
</gallery>
 +
 
 +
{{Notice
 +
|The War Thunder developers periodically refine and [[History of updating 3D models and textures of units|update 3D models of vehicles in the game]]. Custom camouflages for such vehicles may need to be corrected in order to correctly display the custom camouflages created prior to the model update.
 +
}}
 +
 
 +
== How to create camouflage ==
 +
=== Creating tank camouflage ===
 +
Here we will take a look at three options for creating camouflages in order of complexity:
 +
* Scalable camouflage (via replace_tex)
 +
* Fixed camouflage (via set_tex)
 +
* <s>Combined camouflage (via set_tex with replace_tex elements)</s> — Coming Soon!
 +
 
 +
==== Scalable camouflage ====
 +
Let's start with the simplest one. As an example, we will make a scalable camouflage for the T-34-85 (D-5T).
 +
 
 +
Using the "Create Camouflage Example" function in the customization menu and finding these files in the UserSkins folder in the root of the game, we can start editing them.
 +
<gallery>
 +
File:Custom skins - 2-1.png|
 +
</gallery>
 +
 
 +
We will need the two files marked in green.
 +
* '''ussr_camo_green.tga''' - can be edited in almost any picture editor.
 +
* '''ussr_t_34_85_d_5t.blk''' - we may not need it, but it can also be opened and edited by almost any text editor.
 +
 
 +
Opening '''ussr_camo_green.tga''' in the photo editor we will see the standard camouflage for the tank.
 +
<gallery>
 +
File:Custom skins - 2-2.png|
 +
</gallery>
 +
 
 +
We can start editing immediately: let's draw some orange stripes as an example.
 +
<gallery>
 +
File:Custom skins - 2-3.png|
 +
</gallery>
 +
 
 +
We can save the camouflage and see what we get. For simplicity save it in the same format and with the same name: '''ussr_camo_green.tga'''. So our new texture replaces the old one.
 +
 
 +
Back in the game, you don't need to close it, pressing "Update custom camouflage list" will update all textures.
 +
 
 +
{{Notice
 +
|Just don't click on the "create camouflage example" again! If you do that, all textures will be overwritten and your changes will not be saved!
 +
|!
 +
}}
 +
 
 +
<gallery>
 +
File:Custom skins - 2-4.png|
 +
</gallery>
 +
 
 +
Then select our camouflage from the drop-down list and immediately see the result:
 +
<gallery>
 +
File:Custom skins - 2-5.png|
 +
File:Custom skins - 2-6.jpg|Vehicle in new camouflage
 +
</gallery>
 +
 
 +
We can scale, rotate and change the state of the camouflage, just like with the other available camouflages in the game.
 +
 
 +
<gallery>
 +
File:Custom skins - 2-7.png|
 +
</gallery>
 +
 
 +
Note: Right away that for camouflage to work properly, the texture must be seamless. If this is not taken into account, such inconsistencies may occur:
 +
<gallery>
 +
File:Custom skins - 2-8.png|Uneven joint on texture
 +
</gallery>
 +
 
 +
There are quite a few guides on how to make seamless textures on the internet, it won't be hard to find it.
 +
 
 +
It is also worth mentioning that the texture may have a different name or even a different resolution.
 +
 
 +
In this case we will need to put this texture in the folder with the other textures and replace the name of the old texture in the .blk file with the new one.
 +
 
 +
For example, we have the '''new_tex.dds''' texture. We put it in the '''template_ussr_t_34_85_d_5t''' folder and in '''ussr_t_34_85_d_5t.blk''' replace '''ussr_camo_green.tga''' with '''new_tex.dds''':
 +
<gallery>
 +
File:Custom skins - 2-9.png|
 +
</gallery>
 +
 
 +
Congratulations, we have made our first camouflage!
 +
 
 +
Before we move on to a higher level in creating camouflages, a few points should be noted:
 +
* The camouflage texture must be square.
 +
* The texture side must be 128; 256; 512; 1024; 2048; 4096px.
 +
* Basic textures of vehicles are best executed in a resolution no lower than 2048px on the largest side!
 +
 
 +
===== Possible errors =====
 +
Some ground vehicles may have textures that look like this after creation:
 +
 
 +
This can be fixed in two ways:
 +
# Edit blk
 +
# Edit textures
 +
 
 +
'''How to edit blk'''
 +
To do this, we will need a camouflage blk file (in this case template_ussr_t_80 / ussr_t_80.blk). In it, we remove all textures except our scalable camouflage and save.
 +
<gallery>
 +
File:Custom skins - 2-11.jpg|
 +
</gallery>
 +
 
 +
This method is suitable '''if you only want to use''' scalable camouflage. This method is not suitable for fixed camouflage, but we will cover that next.
 +
 
 +
'''How to edit textures'''
 +
# Open the textures of the hull, turret and cannon:
 +
#;[[File:Custom skins - 2-12.png|thumb|none]]
 +
# Find the alpha channel of the texture:
 +
#;[[File:Custom skins - 2-13.png|thumb|none]]
 +
# Black out the alpha channel on all textures and save.
 +
# Update in game!
 +
# Done!
 +
 
 +
===== Scalable texture and alpha channel. =====
 +
Let's take it up a notch! Let's say we have an inscription that we want to put on the tank. Let it be... "Camouflage". But if we will use the previous method, so the inscription will appear in an unclear place and, most likely, will be stretched...
 +
 
 +
Let's go back to our T-34-85 and try to make it look nice. Let's place this inscription on the turret.
 +
# Open the texture of the turret t_34_85_d5t_turret.tga.
 +
# We see a rendering of the texture of the turret. With a little skill we can guess which part of the texture is responsible for what.
 +
# Place the inscription on the turret where we want it:
 +
 
 +
Now we need to make it visible.
 +
 
 +
By default the alpha channel of the texture is black, which means that this texture is completely transparent and does not affect the camouflage. If we make the alpha channel white (i.e. completely opaque), this texture will completely cover our scalable camouflage.
 +
 
 +
This is what it would look like if we fill the "alpha" of the tower texture with white:
 +
<gallery>
 +
File:Custom skins - 2-15.png|
 +
File:Custom skins - 2-16.png|
 +
</gallery>
 +
 
 +
Therefore, in order to make only our inscription appear, it is necessary to paint only the area where our inscription is on the texture in "alpha" white.
 +
 
 +
Save, check the result in the game. Don't forget to press "Update custom camouflage list"!
 +
 
 +
The inscription has appeared and is not affected by rotation, scaling and our scalable camouflage! It will always be in the same place on the tower!
 +
 
 +
The alpha channel doesn't have to be white or black. You can use different greyscales to get a semi-transparent or uneven overlay.
 +
For example, if you make the lettering grey rather than white in the "alpha", our scalable camouflage will partially shine through from underneath it.
 +
 
 +
'''Why do we need this apart from proper inscriptions and decals?'''
 +
 
 +
For example, we don't need camouflage to be applied to the rollers... or the turret roof... Find these parts of the tank in the textures, create them the desired color and paint these parts white in the alpha channel.
 +
 
 +
There is plenty to experiment with, try it out and find interesting solutions! In the meantime, we will go one step further and move on to fully fixed camouflages.
 +
 
 +
==== Fixed camouflage ====
 +
This is going to be a little more difficult. It takes a lot of care and probably a lot of time.
 +
But camouflages of this type get into Camouflage Trophies, and their creators get a royalty on each sold key to such trophies. You can also apply in-game decals to these camouflages!
 +
 
 +
We have already familiarized ourselves with the textures of individual parts of the tank, now let's talk about them in more detail and create a simple camouflage for the same T-34-85. For example, we will make it in a grey fill with orange stripes at the joints of the armour plates.
 +
 
 +
But a bit of theory. Fixed camouflage cannot be rotated and scaled. All the necessary texture elements have to be applied manually to the corresponding parts of the albedo texture of the machine element.
 +
 
 +
{{Notice
 +
|'''Albedo texture''' — is the texture responsible for color and transparency. The Red, Green and Blue channels are responsible for color and Alpha for transparency.
 +
 
 +
There is also a '''normal map texture'''. This is not only responsible for normals, but also for smoothness and metallicity. НBut we will talk about “_n” textures later.
 +
}}
 +
 
 +
We will create everything from scratch.
 +
# Create an example of camouflage.
 +
# Find our textures in the root folder of the game.
 +
# We will start with editing the tower: open the t_34_85_d5t_turret.tga texture and immediately completely white out all the alpha-channel.
 +
 
 +
After updating in the game we will see the following picture:
 +
 
 +
Let’s to the RGB layers and will now work with them.
 +
<gallery>
 +
File:Custom skins - 2-21.png|
 +
</gallery>
 +
 
 +
Focusing on the texture elements, create orange stripes at the joints of the armour.
 +
<gallery>
 +
File:Custom skins - 2-22.png|
 
</gallery>
 
</gallery>
After that, go to the folder where the War Thunder client is installed and do the following:
 
  
#Go to the following path: War Thunder → UserSkins → *previously obtained folder name* - for example, template_ussr_t_10m. (macOS users using the standalone launcher must right-click the launcher in Finder, select 'Show Package Contents', then enter the 'Contents' folder. Inside is the War Thunder app itself. 'Show Package Contents' there, then go to Contents → Resources → game → UserSkins → *previously obtained folder name*.)
+
Fill the rest with gray ¯\_(ツ)_/¯
#If you want to set a camouflage from the War Thunder LIVE portal, just delete the entire contents of the folder, then download the unique camouflage you like from live.warthunder.com and copy the contents of the archive to the folder. This will be 2-3 files in the DDS or TGA file formats and also configuration file “name_of_the_vehicle.blk”.
+
<gallery>
#If you want to create your own camouflage, then start editing the simple graphical files in the TGA format that are already in the folder. By default a texture will be created for ground vehicles which will be applied to all elements of the vehicle.  
+
File:Custom skins - 2-23.png|
 +
</gallery>
 +
 
 +
Save under the same name and format with a replacement, update the camouflage in the game and get the result:
 +
 
 +
All other parts of the tank can be made by analogy:
 +
* t_34_85_d5t_gun.tga
 +
* t_34_85_d5t_body.tga
 +
<gallery>
 +
File:Custom skins - 2-25.jpg|
 +
</gallery>
 +
 
 +
We have got a great* camouflage!
 +
 
 +
You can download other players' camouflages from Live WT and see how they are made, there are many interesting things to discover.
 +
 
 +
Players also join camouflage authoring communities such as LNC and Slayer's Workshop. There experienced authors can help you if you can't figure something out, or teach you new tricks and techniques when working with camouflages.
 +
 
 +
The fixed camouflage method is used to make most camouflages on the Live WT. The quality of a camouflage is often directly related to the time it takes to create it. Some authors spend months gathering materials for historical camouflages and rendering them!
 +
Or very detailed and meticulous work on semi historical and fictional camouflages.  
 +
 
 +
==== Working with Camouflage Nets ====
 +
Starting from the Dance of Dragons update, tanks with camouflage nets are being switched to a new shader for texturing camouflage nets. In the Dance of Dragons update, the Vextra 105 and T-80U-E1 switched to the new system, and starting from the Firebirds update, all new vehicles with camouflage nets will be added with the new texturing system.
 +
 
 +
Camouflage nets now inherit the base texture of the camouflage instead of having its own fixed color.
 +
 
 +
Let’s use the Leopard 2A4M (germ_leopard_2a4m_can) as an example. In the resulting camouflage the net color is determined by the base texture, in this case ger_camo_bronzegruen.
 +
 
 +
Here’s the camouflage we get by default:
 +
<gallery>
 +
Custom skins - Nets 1.png|
 +
</gallery>
 +
 
 +
By changing it, we’ll change the camouflage of the entire tank, including the net.
 +
 
 +
For example, let’s create a simple ornament of grey and dark green lines instead of using solid grey color.
 +
<gallery>
 +
Custom skins - Nets 2.png|
 +
</gallery>
 +
 
 +
Here’s the result:
 +
<gallery>
 +
Custom skins - Nets 3.png|
 +
Custom skins - Nets 4.png|
 +
</gallery>
 +
 
 +
To make the textures of the rest of the tank separate from the camouflage net pattern, create or take the necessary textures for the gun, turret, and hull from the SDK and add them to the tank's camouflage using set_tex. The areas of the texture covered in white in the alpha channel will completely overlap the base pattern.
 +
<gallery>
 +
Custom skins - Nets 5.png|
 +
Custom skins - Nets 6.png|
 +
</gallery>
 +
 
 +
Here you can see that we applied a grey and green camouflage while keeping the tank in another desired color.
 +
 
 +
You can use [https://live.warthunder.com/post/1110085/en/ this camouflage] added to the game through the [[Camouflage trophy|UGC]] program as an example: it features a fully custom net and hull textures.
 +
 
 +
There is also an option to work with texture replacement via the shader, but it is currently unavailable for custom camouflages. More detailed information about working with the shader will be provided later.
 +
 
 +
==== Classification of camouflage by historicity ====
 +
Semi-historical, historical, fictional camouflages? Why classify them and how do they differ?
 +
 
 +
The camouflage classification is for the convenience of Live WT players. Some people for example only want to see historical camouflages on their vehicles, and such labels make it easier to find suitable work.
 +
 
 +
Such a label helps in the selection of camouflage for the market. And for the camouflage that got on the market it determines the visibility of the camouflage for other players in battle.
 +
 
 +
You can change this in the menu Settings - Customization of Vehicles
 +
* Historical camouflage — camouflage, which has a real-life prototype that served in the army. It is important that the prototype must have the same modification as the vehicle for which the camouflage was made in the game.
 +
: For example if a camouflage was made for the F-4C, and the QF-4B was chosen as the reference, then it would be a semi historical camouflage.
 +
* Semi Historical camouflage — if the camouflage was taken from another vehicle model of the same or a close time period, and also if the camouflage was applied to a vehicle that was not listed as active in the army (museum exhibits and racing camouflages).
 +
* Fictional camouflage — everything else.
 +
 
 +
==== Work with blk ====
 +
Let's talk a little more about the camouflage .blk file. It determines which textures to replace with new ones.
  
<gallery perrow="1" widths="810px" heights="230px">
+
For example let's take something more impressive than the T-34-85, let it be the Abrams M1A1 HC. We will be working in Visual Studio Code for this example, but almost any other text editor can be used.
File:CustomSkins MovingCustomSkins Wiki.PNG ‎
 
</gallery>
 
 
Return to the client and update the list of available camouflages by pressing the corresponding button.
 
  
<gallery perrow="1" widths="810px" heights="260px">
+
Having created an example of camouflage, we will see:
File:CustomSkins UpdateSkinFiles Wiki.jpg
+
<gallery>
 +
File:Custom skins - 2-27.png|
 
</gallery>
 
</gallery>
If you did everything correctly, then the camouflage you loaded should be shown in the “User camouflages” list when you click it. Set the camouflage.
+
* leopard_2a4_blade.tga — dump albedo texture
 +
* m1a1_abrams_ammo_box.tga — albedo texture of a box with a machine gun belt
 +
* m1a1_abrams_body.tga — hull albedo texture
 +
* m1a1_abrams_body_add.tga — albedo texture of mounted armor
 +
* m1a1_abrams_gun.tga — cannon albedo texture
 +
* m1a1_abrams_turret.tga — turret albedo texture
 +
* m1a1_hc_abrams_turret.tga — albedo texture for additional turret elements
 +
* mg_m240.tga — albedo texture of the anti-aircraft machine gun
 +
* us_camo_modern_green.tga— scalable camouflage texture
 +
* '''us_m1a1_hc_abrams.blk''' — camouflage config file, which will be discussed now
 +
* us_m1a1_hc_abrams_phys_track.tga — track albedo texture
  
<gallery perrow="1" widths="810px" heights="260px">
+
Let's talk about us_m1a1_hc_abrams.blk. In it we see:
File:CustomSkins NewSkinDisplay Wiki.jpg
+
<gallery>
 +
File:Custom skins - 2-28.png|
 
</gallery>
 
</gallery>
  
==Camouflage creation==
+
First, let's note that us_camo_modern_green.tga is in the set_tex block, and all other textures are in the replace_tex block.
The creation of any camouflage begins with the creation of the example that was described above. Next, the example files are edited in any suitable graphical editor as an ordinary image. The important thing here is to preserve the initial title, since this makes it far easier for less experienced users to use the already finished camouflage. If you want to change the name of texture so don’t forget to change it in the configuration file “name_of_the_vehicle.blk”.
+
<pre>
===Principles of creation===
+
name:t="user" // It just has to be here
When creating a camouflage scheme, authors are encouraged to adhere to the principles adopted in the game. Camouflages that do not comply with these rules will not be used in preparing content for the War Thunder Market.
+
 
 +
replace_tex { // Scalable camouflage
 +
  from:t="us_camo_olive*" // Replacement texture
 +
  to:t="us_camo_modern_green.tga" // New texture
 +
}
  
*Selection of content for the market will not be included if the camouflage contains changes in the cockpit.
+
set_tex { // Fixed camouflage
*Changing the texture of the engine flame on aircraft is not desirable and in most cases will lead to a rejection when selecting content for the market.
+
  from:t="m1a1_abrams_body_c*" // Replacement texture
*Damages and chips of paint on _dmg textures should not at the borders of different sections of the DM model in the covering.
+
  to:t="m1a1_abrams_body.tga" // New texture
*The identification markings on aircraft of countries from the fascist/Nazi bloc should not contain prohibited symbols.
+
  param:t="camo_skin_tex" // Required parameter for set_tex, it won't work without it
*For Italian aircraft it is recommended to use downloadable harmonised markings: ([https://live.warthunder.com/files/harmonisedItalianSigns.zip Click here to download the zip file]).
+
}
*The markings indicating shot down aircraft as well as the personal emblems of the pilots should not contain prohibited symbols. It is recommended to use the uniform image standards adopted in the game.
+
</pre>
*For German aircraft it is recommended not to use tail markings.
 
  
===Aircraft camouflage===
+
The texture of a separate part of the tank (turret, hull...) can also be made using replace_tex without the '''param:t="camo_skin_tex"''' parameter. But then the alpha channel of the texture should be made black, and game decals will not be applied to the camouflage. But it still won't scale or rotate.
Aircraft camouflages can not be rotated or scaled that’s why in the example you will find the arrangement of the elements of the structure.  
 
 
The example consists of the following files:
 
  
*vehicle_name.blk – a required file for defining the camouflage
+
Normal textures will be written via '''replace_tex'''.
*vehicle_name_с.tga – the camouflage itself
 
*vehicle_name_n.tga – camouflage normals
 
*vehicle-name_с_dmg.tga – damage mask for alterations after taking damage
 
*vehicle-name_n_dmg.tga – damage mask normals
 
 
The first two files are enough for the simplest camouflage, but then your camo will be swapped for the standard one created by the example when you take even the smallest hit. So it’s worth stocking up on patience and creating some truly impressive work.
 
  
===Camouflage ground equipment===
+
==== Work with assetviewer ====
At the moment it is possible to create two types of camouflage for ground vehicles:
+
[https://wiki.warthunder.com/Download_War_Thunder_CDK Assetviewer] — part of the War Thunder CDK.
  
#Repeating camouflage - simple (monochrome, with spots, stripes) colouring, which can be scaled and rotated.
+
With the help of Assetviewer, you can get the necessary textures for vehicles.
#Fixed camouflage - complex variable patterns on different parts of the vehicle in which it is also possible to add decals even without a background (camouflage) which will be on the vehicle at all times. Such camouflage can not be rotated or scaled.
 
  
Rules of fixed camouflage
+
==== Working with Normal Maps ====
 +
As mentioned above, normal maps allow you to adjust the smoothness, metallicity and relief of the texture. Normal maps usually have an "'''_n'''" in their texture name.
  
*Will be used by the set_tex block in the .blk file (see the example below).
+
Tank normal maps will not be automatically uploaded when creating a camouflage example and can be accessed via assetviewer. For aircraft they will be unloaded along with albedo textures.
*The colour of the camouflage will be applied to the model by the mask of the alpha channel.
 
*Alpha channel: white - colour of the camouflage seen on the model, gray - translucent, black - colour will not be applied.
 
*The colour of the fixed camouflage "shades" the metallicity and changes the smoothness.
 
*The size of each side of the texture in pixels should correspond to the power of two (for example, 2048, 4096, 8192), the ratio between the sides should be the same as the original texture.
 
  
As a simple example we will create camouflage for the Chieftain Mk.10 with fixed decal in the form of an orange square. The layer will contain chieftain_mk_10_turret.tga texture. Its RGB and Alpha channels look like this:
+
Let’s continue to work with our T-34-85. We can get the normal maps we need from the assetviewer and upgrade them or make them from scratch based on the albedo texture.
<gallery widths="350" heights="350">
+
 
File:CustomSkins Chieftain10RGB Wiki.png
+
Let's say we got the normal maps through the assetviewer. For each albedo texture there is a corresponding normal map.
File:CustomSkins Chieftain10Alpha Wiki.png
+
* For t_34_85_d5t_body.tga — t_34_85_d5t_body_n.tga
 +
* For t_34_85_d5t_turret.tga — t_34_85_d5t_turret_n.tga
 +
* And so on.
 +
 
 +
In the received example, normal maps for ground vehicles and ships will not be specified in the camouflage config. But you can write them yourself. For example, to add a turret normal map for the T-34-85, you need to add the normal texture to the folder with the rest of the textures and add it to the camouflage config (.blk).
 +
 
 +
<pre>
 +
replace_tex{
 +
  from:t="t_34_85_d5t_turret_n*"
 +
  to:t="t_34_85_d5t_turret_n.dds"
 +
}
 +
</pre>
 +
<gallery>
 +
File:Custom skins - 2-29.png|
 
</gallery>
 
</gallery>
We draw a square in the same area on all channels. In the alpha channel, the remaining area needs to be filled with black.
+
{{Notice
<gallery widths="350" heights="350">
+
|It is important that the file name and extension exactly match the specified file in the config!
File:CustomSkins Chieftain10RGBOrangeSq Wiki.png
+
|!
File:CustomSkins Chieftain10AlphaOrangeSq Wiki.png
+
}}
 +
 
 +
For example consider t_34_85_d5t_turret_n.tga — the normal map of the tower. We see the following:
 +
<gallery>
 +
File:Custom skins - 2-30.png|
 
</gallery>
 
</gallery>
In the case of changes to only one texture, the blk file will look like this:
+
 
+
Here all the work takes place in separate channels, each of which is responsible for its own parameter:
<code>
+
* Red — smoothness
name:t="user"
+
* Green — x normal
  set_tex{
+
* Blue — metallicity
  from:t="chieftain_mk_10_turret_c*" //the name of the source texture
+
* Alpha 1 — y normal
  to:t="chieftain_mk_10_turret.tga" //the name of the changed texture
+
<gallery>
  param:t="camo_skin_tex"  //technical parameter
+
File:Custom skins - 2-31.png|
  }
 
</code>
 
 
So the model will take the following form:
 
<gallery widths="350" heights="200">
 
File:CustomSkins Chieftain10OrangeSq Wiki.png
 
 
</gallery>
 
</gallery>
Note that the rest of the texture with rust on the turret is not visible. This occured because the values of the alpha channel outside the square were equal to zero. Places with a gray alpha channel will be applied as translucent. The decal will overpaint the “split colour” places, change the metallicity and smoothness of the surface. Let’s open the uk_camo_very_dark_drab.tga file and draw black bars there (in the understanding of PBR "black" - it's not darker than 30; 30; 30 in RGB).
 
Important:
 
  
*This texture should have alpha channel, the smoothness of the coloured areas depends on it.  
+
The closer to black, the weaker the effect. For example a completely black Red channel on a texture will make the car matte. And completely white - glossy. Normals (Green and Alpha 1 channels) allow you to make bumps. Their base color is grey.
*The texture should be shaded.
+
 
<gallery widths="350" heights="200">
+
Let's go back to our gray-orange skin on the T-34-85 and try each layer individually. Let's start with Red - smoothness. By default, the red channel looks like this:
File:CustomSkins RepetitiveCamoBlackBars Wiki.png|
+
<gallery>
 +
File:Custom skins - 2-32.png|
 
</gallery>
 
</gallery>
The replacement of the repetitive camouflage file should be displayed in the blk file. For this it is required to add following block:
 
<code>
 
replace_tex{
 
  from:t="uk_camo_very_dark_drab*" //old camouflage
 
  to:t="uk_camo_very_dark_drab.tga" //new camouflage
 
}
 
</code>
 
  
As a result you will get a camouflage that can age (An aging mask will be applied) and after the destruction the model, will look correct.
+
And this is what the turret looks like:
<gallery widths="350" heights="200">
+
<gallery>
File:CustomSkins Chieftain10OrangeSqBlackBars Wiki.png
+
File:Custom skins - 2-33.png|
 
</gallery>
 
</gallery>
 
+
 
By using set_tex you can paint the vehicle almost entirely as in the example of the camouflage “Berlin Brigade” for Chieftain Mk.10.
+
But if we paint it white (that is, turn the smoothness to the maximum), we will get:
<gallery widths="350" heights="200">
+
<gallery>
File:CustomSkins Chieftain10OrangeBerlinCamo Wiki.jpg
+
File:Custom skins - 2-34.png|
 +
File:Custom skins - 2-35.png|
 
</gallery>
 
</gallery>
The file .blk describes the application of fixed camouflage to the model by a consistent reference to the involved textures. If a texture is mentioned in .blk file which is not in the archive, then such a camouflage is unlikely to be considered in the selection for the market. <!---link--->
 
<code>
 
name:t="user"
 
// Scalable camouflage
 
replace_tex{
 
  from:t = "uk_camo_very_dark_drab*"
 
  to:t = "uk_camo_light_mud_blue_black.tga*"
 
}
 
// Fixed camouflage
 
set_tex{
 
  from:t="chieftain_mk_10_body_c*"
 
  to:t="chieftain_mk_10_body_c.tga"
 
  param:t="camo_skin_tex"
 
}
 
set_tex{
 
  from:t="chieftain_mk_10_gun_c*"
 
  to:t="chieftain_mk_10_gun_c.tga"
 
  param:t="camo_skin_tex"
 
}
 
set_tex{
 
  from:t="chieftain_mk_10_turret_c*"
 
  to:t="chieftain_mk_10_turret_c.tga"
 
  param:t="camo_skin_tex"
 
}
 
set_tex{
 
  from:t="chieftain_mk_10_add_c*"
 
  to:t="chieftain_mk_10_add.tga"
 
  param:t="camo_skin_tex"
 
}
 
  
 +
And vice versa, if we paint it black:
 +
<gallery>
 +
File:Custom skins - 2-36.png|
 +
File:Custom skins - 2-37.png|
 +
</gallery>
  
<br />
+
Everything is exactly the same with the metallicity map (Blue).
</code>
+
 
Pay attention to the alpha channel in the hull structure (the alpha channels of the remaining elements of fixed camouflage are similar).
+
{{Notice
<gallery widths="350" heights="200">
+
|With the “Wind of Change” update the game has incorporated a new rendering system. The advantage of this being an extended range in the “smoothness” textures, allowing for a more natural reproduction of smooth and rough materials. This will especially affect the use of heavy roughness.
File:CustomSkins Chieftain10HullAlpha Wiki.png
+
 
 +
In connection with this, there have been changes in the technology for camouflage creation. In the normal texture (_n, _n_dmg) the red channel that previously was responsible for smoothness of the texture, is now stored inverted roughness.
 +
 
 +
The old smoothness channel has been converted to the new inverted roughness by the formula:
 +
 
 +
<pre>inverted roughness = 1 - (1-0.7*smoothness)^3</pre>
 +
}}
 +
 
 +
Note how the normal layers (Green and Alpha 1) work. The base color is grey, which simply means the surface is flat. The lighter, the surface will be more convex, the darker, on the contrary, more hollow.
 +
 
 +
For example let's flatten completely the turret of our T-34-85 by making both layers of normals evenly grey.
 +
<gallery>
 +
File:Custom skins - 2-38.png|
 +
File:Custom skins - 2-39.png|
 +
</gallery>
 +
 
 +
We equalized the normals of the tower and we get a perfectly smooth tower without seams or chipping:
 +
<gallery>
 +
File:Custom skins - 2-40.png|
 
</gallery>
 
</gallery>
Due to such a complex structure, there is no "paint" on scratches and parts if chassis. The similar effect can be achieved by subtracting a metallic map from the white alpha channel. To get alpha channel masks and metallicity maps we recommend using the export function WTAssetViewer from the [[War_Thunder_CDK#Installing_War_Thunder_CDK|War Thunder CDK.]] <!---link--->
 
  
*'''Important!''' Using the replace_tex instead of set_tex for the fixed camouflage texture will result in the inability to apply any decal to such textures in the game and such creations will be automatically rejected by selecting the content for the [[War_Thunder_Market|War Thunder Market.]] <!--- link--->
+
=== Camouflages for aircraft ===
 +
Creating an aircraft skin is almost the same thing as creating a tank skin. The main difference is, it is impossible to create a scalable skin, only a fixed one. Everything else is the same as for ground vehicles and ships.
 +
 
 +
Each aircraft has two main textures:
 +
1. Albedo texture of an aircraft (e.g., su_25.tga)
 +
2. Normal map of an aircraft (e.g., su_25_n.tga)
 +
 
 +
In most cases, these two textures alone will be sufficient.
 +
 
 +
The main texture does not include the textures for the pylons, the interior of the cockpit and the afterburner flame texture for the jet engines. These can be obtained through Assetviewer.
 +
 
 +
{{Notice
 +
|In the “Apex Predators” update for PCs, the _dmg textures of aircraft and helicopters have been replaced by damage decals. But _dmg textures are still required for consoles, where damage is displayed the old way.
 +
}}
 +
 
 +
=== Naval camouflages ===
 +
This will be done in the same way as tank camouflages.
 +
 
 +
=== Helicopter camouflages ===
 +
This will be done in the same way as aircraft camouflages.
  
Features of the application of camouflage by using set_tex:
+
=== Requirements for market ===
 +
Camouflage published on the WT Live page may qualify for selection for [[Camouflage_trophy|Camouflage Trophies]].
  
*Set_tex is not intended for normal maps or AO (ambient occlusion).  
+
Camouflages need to meet several technical and formal requirements.
*Transparency or incomplete coverage are allowed - for example to fix the decals. Then a scalable colour will be used in the missed areas.
+
:'''Technical:'''
*You can apply decals from the game to the model.
+
:*Camouflage should be published on the WT Live in the camouflage section ([https://live.warthunder.com/feed/camouflages/ https://live.warthunder.com/feed/camouflages/]).
*Following destruction, the model will look correct.
+
:*The resolution of the camouflage texture must be in multiples of 8. Permitted texture sizes on the largest side: 128; 256; 512; 1024; 2048; 4096 and 8192 px (8192 px only for the texture of high rank (VI+ rank) aircraft and bombers).
 +
:*Textures for ground vehicles should be made with the obligatory possibility of applying decals (see [[Custom skins|fixed camouflage]]). Diffuse texture should be done via set_tex, not via replace_tex. It is allowed to combine fixed and scalable camouflage.
 +
:*The title picture of the topic will be chosen as cover for the camouflage. It must have a horizontal format and have a proportion of 16x9. If the title picture doesn't meet the requirements another suitable picture from the topic will be chosen.
 +
:*Camouflage textures should be in .dds or .tga format. The dds format is recommended, as it is more compact.
 +
:*It is not allowed to change cockpit and engine flame textures.
 +
:'''Formal:'''
 +
:*Camouflage must not violate WT Live WT rules.
 +
:*Camouflages containing intellectual property will not be considered for trophy selection. Check for copyrights on decals, logos, drawings, and patterns. Often festival camouflages and pilot group camouflages have active copyrights!
 +
:*Aircraft identification marks of the countries of the fascist/Nazi bloc must not contain prohibited symbols. The use of harmonized identification marks is recommended ([https://live.warthunder.com/camouflage_guides/ link]).
  
==Share your work on the War Thunder LIVE portal==
+
== Links ==
[https://live.warthunder.com/feed/camouflages/ Click here: To share your work on the War Thunder LIVE portal. Learn from the works of other authors or take them as a basis for your own work, but don’t forget to credit the original author]
+
* [https://live.warthunder.com/post/926800/en/ Custom gray hangar]
 +
* [https://gaijinent.com/ru/contribution Gaijin Contribution Agreement]
 +
* [https://trade.gaijin.net/ Market]
 +
* [[War_Thunder_Market|What is market]]
  
 
[[Category:War Thunder CDK]]
 
[[Category:War Thunder CDK]]
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]
 
[[Category:Custom skins]]
 
[[Category:Custom skins]]

Latest revision as of 09:25, 19 November 2024

If you are bored with the look of your favorite vehicles and the available in-game camouflages are not quite right for your vehicle - a custom camouflage can be a good solution to creating a unique look for your vehicle.

You can always find interesting camouflages on the War Thunder LIVE or create your own. Custom camouflage will be set locally which means it is only visible to the player creating it themselves. For others, the tank or aircraft will remain in the camouflage that has been selected in the “Customization” menu as the basis for custom camouflage.

It is also possible to purchase camouflage for your vehicle on the War Thunder market. This camouflage will be visible to all players in battle.

How to setup custom camouflage

Select the tank or aircraft on which you want to update the camouflage, open the “Customization” menu and click on the button to create an example of camouflage.

Then head to the folder with the installed War Thunder client and do the following:

Custom skins - 1-2.png
  1. Follow the path: War Thunder → UserSkins → *previously received folder name* (in example: template_ussr_t_34_85_d_5t).
  2. If you want to install camouflage from War Thunder LIVE you need simply delete all the the contents of the folder then download the unique camo you like from live.warthunder.com and copy into the folder the contents of the archive, which will consist of several .dds or .tga files, as well as the camouflage configuration file "vehicle_name.blk".
  • If you want to create your own camouflage then proceed to editing already contained in the folder simple graphic files in .tga format. By default a texture will be created for tanks, which will be applied to all elements of the tank.

Return to the client and update the list of available camouflages by pressing the appropriate button.

If you have done everything correctly, the camouflage you downloaded will be displayed in the list of custom camouflages when you click on it. Install it.

Msg-info.png The War Thunder developers periodically refine and update 3D models of vehicles in the game. Custom camouflages for such vehicles may need to be corrected in order to correctly display the custom camouflages created prior to the model update.

How to create camouflage

Creating tank camouflage

Here we will take a look at three options for creating camouflages in order of complexity:

  • Scalable camouflage (via replace_tex)
  • Fixed camouflage (via set_tex)
  • Combined camouflage (via set_tex with replace_tex elements) — Coming Soon!

Scalable camouflage

Let's start with the simplest one. As an example, we will make a scalable camouflage for the T-34-85 (D-5T).

Using the "Create Camouflage Example" function in the customization menu and finding these files in the UserSkins folder in the root of the game, we can start editing them.

We will need the two files marked in green.

  • ussr_camo_green.tga - can be edited in almost any picture editor.
  • ussr_t_34_85_d_5t.blk - we may not need it, but it can also be opened and edited by almost any text editor.

Opening ussr_camo_green.tga in the photo editor we will see the standard camouflage for the tank.

We can start editing immediately: let's draw some orange stripes as an example.

We can save the camouflage and see what we get. For simplicity save it in the same format and with the same name: ussr_camo_green.tga. So our new texture replaces the old one.

Back in the game, you don't need to close it, pressing "Update custom camouflage list" will update all textures.

Msg-important.png Just don't click on the "create camouflage example" again! If you do that, all textures will be overwritten and your changes will not be saved!

Then select our camouflage from the drop-down list and immediately see the result:

We can scale, rotate and change the state of the camouflage, just like with the other available camouflages in the game.

Note: Right away that for camouflage to work properly, the texture must be seamless. If this is not taken into account, such inconsistencies may occur:

There are quite a few guides on how to make seamless textures on the internet, it won't be hard to find it.

It is also worth mentioning that the texture may have a different name or even a different resolution.

In this case we will need to put this texture in the folder with the other textures and replace the name of the old texture in the .blk file with the new one.

For example, we have the new_tex.dds texture. We put it in the template_ussr_t_34_85_d_5t folder and in ussr_t_34_85_d_5t.blk replace ussr_camo_green.tga with new_tex.dds:

Congratulations, we have made our first camouflage!

Before we move on to a higher level in creating camouflages, a few points should be noted:

  • The camouflage texture must be square.
  • The texture side must be 128; 256; 512; 1024; 2048; 4096px.
  • Basic textures of vehicles are best executed in a resolution no lower than 2048px on the largest side!
Possible errors

Some ground vehicles may have textures that look like this after creation:

This can be fixed in two ways:

  1. Edit blk
  2. Edit textures

How to edit blk To do this, we will need a camouflage blk file (in this case template_ussr_t_80 / ussr_t_80.blk). In it, we remove all textures except our scalable camouflage and save.

This method is suitable if you only want to use scalable camouflage. This method is not suitable for fixed camouflage, but we will cover that next.

How to edit textures

  1. Open the textures of the hull, turret and cannon:
    Custom skins - 2-12.png
  2. Find the alpha channel of the texture:
    Custom skins - 2-13.png
  3. Black out the alpha channel on all textures and save.
  4. Update in game!
  5. Done!
Scalable texture and alpha channel.

Let's take it up a notch! Let's say we have an inscription that we want to put on the tank. Let it be... "Camouflage". But if we will use the previous method, so the inscription will appear in an unclear place and, most likely, will be stretched...

Let's go back to our T-34-85 and try to make it look nice. Let's place this inscription on the turret.

  1. Open the texture of the turret t_34_85_d5t_turret.tga.
  2. We see a rendering of the texture of the turret. With a little skill we can guess which part of the texture is responsible for what.
  3. Place the inscription on the turret where we want it:

Now we need to make it visible.

By default the alpha channel of the texture is black, which means that this texture is completely transparent and does not affect the camouflage. If we make the alpha channel white (i.e. completely opaque), this texture will completely cover our scalable camouflage.

This is what it would look like if we fill the "alpha" of the tower texture with white:

Therefore, in order to make only our inscription appear, it is necessary to paint only the area where our inscription is on the texture in "alpha" white.

Save, check the result in the game. Don't forget to press "Update custom camouflage list"!

The inscription has appeared and is not affected by rotation, scaling and our scalable camouflage! It will always be in the same place on the tower!

The alpha channel doesn't have to be white or black. You can use different greyscales to get a semi-transparent or uneven overlay. For example, if you make the lettering grey rather than white in the "alpha", our scalable camouflage will partially shine through from underneath it.

Why do we need this apart from proper inscriptions and decals?

For example, we don't need camouflage to be applied to the rollers... or the turret roof... Find these parts of the tank in the textures, create them the desired color and paint these parts white in the alpha channel.

There is plenty to experiment with, try it out and find interesting solutions! In the meantime, we will go one step further and move on to fully fixed camouflages.

Fixed camouflage

This is going to be a little more difficult. It takes a lot of care and probably a lot of time. But camouflages of this type get into Camouflage Trophies, and their creators get a royalty on each sold key to such trophies. You can also apply in-game decals to these camouflages!

We have already familiarized ourselves with the textures of individual parts of the tank, now let's talk about them in more detail and create a simple camouflage for the same T-34-85. For example, we will make it in a grey fill with orange stripes at the joints of the armour plates.

But a bit of theory. Fixed camouflage cannot be rotated and scaled. All the necessary texture elements have to be applied manually to the corresponding parts of the albedo texture of the machine element.

Msg-info.png Albedo texture — is the texture responsible for color and transparency. The Red, Green and Blue channels are responsible for color and Alpha for transparency.

There is also a normal map texture. This is not only responsible for normals, but also for smoothness and metallicity. НBut we will talk about “_n” textures later.

We will create everything from scratch.

  1. Create an example of camouflage.
  2. Find our textures in the root folder of the game.
  3. We will start with editing the tower: open the t_34_85_d5t_turret.tga texture and immediately completely white out all the alpha-channel.

After updating in the game we will see the following picture:

Let’s to the RGB layers and will now work with them.

Focusing on the texture elements, create orange stripes at the joints of the armour.

Fill the rest with gray ¯\_(ツ)_/¯

Save under the same name and format with a replacement, update the camouflage in the game and get the result:

All other parts of the tank can be made by analogy:

  • t_34_85_d5t_gun.tga
  • t_34_85_d5t_body.tga

We have got a great* camouflage!

You can download other players' camouflages from Live WT and see how they are made, there are many interesting things to discover.

Players also join camouflage authoring communities such as LNC and Slayer's Workshop. There experienced authors can help you if you can't figure something out, or teach you new tricks and techniques when working with camouflages.

The fixed camouflage method is used to make most camouflages on the Live WT. The quality of a camouflage is often directly related to the time it takes to create it. Some authors spend months gathering materials for historical camouflages and rendering them! Or very detailed and meticulous work on semi historical and fictional camouflages.

Working with Camouflage Nets

Starting from the Dance of Dragons update, tanks with camouflage nets are being switched to a new shader for texturing camouflage nets. In the Dance of Dragons update, the Vextra 105 and T-80U-E1 switched to the new system, and starting from the Firebirds update, all new vehicles with camouflage nets will be added with the new texturing system.

Camouflage nets now inherit the base texture of the camouflage instead of having its own fixed color.

Let’s use the Leopard 2A4M (germ_leopard_2a4m_can) as an example. In the resulting camouflage the net color is determined by the base texture, in this case ger_camo_bronzegruen.

Here’s the camouflage we get by default:

By changing it, we’ll change the camouflage of the entire tank, including the net.

For example, let’s create a simple ornament of grey and dark green lines instead of using solid grey color.

Here’s the result:

To make the textures of the rest of the tank separate from the camouflage net pattern, create or take the necessary textures for the gun, turret, and hull from the SDK and add them to the tank's camouflage using set_tex. The areas of the texture covered in white in the alpha channel will completely overlap the base pattern.

Here you can see that we applied a grey and green camouflage while keeping the tank in another desired color.

You can use this camouflage added to the game through the UGC program as an example: it features a fully custom net and hull textures.

There is also an option to work with texture replacement via the shader, but it is currently unavailable for custom camouflages. More detailed information about working with the shader will be provided later.

Classification of camouflage by historicity

Semi-historical, historical, fictional camouflages? Why classify them and how do they differ?

The camouflage classification is for the convenience of Live WT players. Some people for example only want to see historical camouflages on their vehicles, and such labels make it easier to find suitable work.

Such a label helps in the selection of camouflage for the market. And for the camouflage that got on the market it determines the visibility of the camouflage for other players in battle.

You can change this in the menu Settings - Customization of Vehicles

  • Historical camouflage — camouflage, which has a real-life prototype that served in the army. It is important that the prototype must have the same modification as the vehicle for which the camouflage was made in the game.
For example if a camouflage was made for the F-4C, and the QF-4B was chosen as the reference, then it would be a semi historical camouflage.
  • Semi Historical camouflage — if the camouflage was taken from another vehicle model of the same or a close time period, and also if the camouflage was applied to a vehicle that was not listed as active in the army (museum exhibits and racing camouflages).
  • Fictional camouflage — everything else.

Work with blk

Let's talk a little more about the camouflage .blk file. It determines which textures to replace with new ones.

For example let's take something more impressive than the T-34-85, let it be the Abrams M1A1 HC. We will be working in Visual Studio Code for this example, but almost any other text editor can be used.

Having created an example of camouflage, we will see:

  • leopard_2a4_blade.tga — dump albedo texture
  • m1a1_abrams_ammo_box.tga — albedo texture of a box with a machine gun belt
  • m1a1_abrams_body.tga — hull albedo texture
  • m1a1_abrams_body_add.tga — albedo texture of mounted armor
  • m1a1_abrams_gun.tga — cannon albedo texture
  • m1a1_abrams_turret.tga — turret albedo texture
  • m1a1_hc_abrams_turret.tga — albedo texture for additional turret elements
  • mg_m240.tga — albedo texture of the anti-aircraft machine gun
  • us_camo_modern_green.tga— scalable camouflage texture
  • us_m1a1_hc_abrams.blk — camouflage config file, which will be discussed now
  • us_m1a1_hc_abrams_phys_track.tga — track albedo texture

Let's talk about us_m1a1_hc_abrams.blk. In it we see:

First, let's note that us_camo_modern_green.tga is in the set_tex block, and all other textures are in the replace_tex block.

name:t="user"		// It just has to be here

replace_tex {		// Scalable camouflage
  from:t="us_camo_olive*"		// Replacement texture
  to:t="us_camo_modern_green.tga"	// New texture
}

set_tex {		// Fixed camouflage
  from:t="m1a1_abrams_body_c*"		// Replacement texture
  to:t="m1a1_abrams_body.tga"		// New texture
  param:t="camo_skin_tex"		// Required parameter for set_tex, it won't work without it
}

The texture of a separate part of the tank (turret, hull...) can also be made using replace_tex without the param:t="camo_skin_tex" parameter. But then the alpha channel of the texture should be made black, and game decals will not be applied to the camouflage. But it still won't scale or rotate.

Normal textures will be written via replace_tex.

Work with assetviewer

Assetviewer — part of the War Thunder CDK.

With the help of Assetviewer, you can get the necessary textures for vehicles.

Working with Normal Maps

As mentioned above, normal maps allow you to adjust the smoothness, metallicity and relief of the texture. Normal maps usually have an "_n" in their texture name.

Tank normal maps will not be automatically uploaded when creating a camouflage example and can be accessed via assetviewer. For aircraft they will be unloaded along with albedo textures.

Let’s continue to work with our T-34-85. We can get the normal maps we need from the assetviewer and upgrade them or make them from scratch based on the albedo texture.

Let's say we got the normal maps through the assetviewer. For each albedo texture there is a corresponding normal map.

  • For t_34_85_d5t_body.tga — t_34_85_d5t_body_n.tga
  • For t_34_85_d5t_turret.tga — t_34_85_d5t_turret_n.tga
  • And so on.

In the received example, normal maps for ground vehicles and ships will not be specified in the camouflage config. But you can write them yourself. For example, to add a turret normal map for the T-34-85, you need to add the normal texture to the folder with the rest of the textures and add it to the camouflage config (.blk).

replace_tex{
  from:t="t_34_85_d5t_turret_n*"
  to:t="t_34_85_d5t_turret_n.dds"
}
Msg-important.png It is important that the file name and extension exactly match the specified file in the config!

For example consider t_34_85_d5t_turret_n.tga — the normal map of the tower. We see the following:

Here all the work takes place in separate channels, each of which is responsible for its own parameter:

  • Red — smoothness
  • Green — x normal
  • Blue — metallicity
  • Alpha 1 — y normal

The closer to black, the weaker the effect. For example a completely black Red channel on a texture will make the car matte. And completely white - glossy. Normals (Green and Alpha 1 channels) allow you to make bumps. Their base color is grey.

Let's go back to our gray-orange skin on the T-34-85 and try each layer individually. Let's start with Red - smoothness. By default, the red channel looks like this:

And this is what the turret looks like:

But if we paint it white (that is, turn the smoothness to the maximum), we will get:

And vice versa, if we paint it black:

Everything is exactly the same with the metallicity map (Blue).

Msg-info.png With the “Wind of Change” update the game has incorporated a new rendering system. The advantage of this being an extended range in the “smoothness” textures, allowing for a more natural reproduction of smooth and rough materials. This will especially affect the use of heavy roughness.

In connection with this, there have been changes in the technology for camouflage creation. In the normal texture (_n, _n_dmg) the red channel that previously was responsible for smoothness of the texture, is now stored inverted roughness.

The old smoothness channel has been converted to the new inverted roughness by the formula:

inverted roughness = 1 - (1-0.7*smoothness)^3

Note how the normal layers (Green and Alpha 1) work. The base color is grey, which simply means the surface is flat. The lighter, the surface will be more convex, the darker, on the contrary, more hollow.

For example let's flatten completely the turret of our T-34-85 by making both layers of normals evenly grey.

We equalized the normals of the tower and we get a perfectly smooth tower without seams or chipping:

Camouflages for aircraft

Creating an aircraft skin is almost the same thing as creating a tank skin. The main difference is, it is impossible to create a scalable skin, only a fixed one. Everything else is the same as for ground vehicles and ships.

Each aircraft has two main textures: 1. Albedo texture of an aircraft (e.g., su_25.tga) 2. Normal map of an aircraft (e.g., su_25_n.tga)

In most cases, these two textures alone will be sufficient.

The main texture does not include the textures for the pylons, the interior of the cockpit and the afterburner flame texture for the jet engines. These can be obtained through Assetviewer.

Msg-info.png In the “Apex Predators” update for PCs, the _dmg textures of aircraft and helicopters have been replaced by damage decals. But _dmg textures are still required for consoles, where damage is displayed the old way.

Naval camouflages

This will be done in the same way as tank camouflages.

Helicopter camouflages

This will be done in the same way as aircraft camouflages.

Requirements for market

Camouflage published on the WT Live page may qualify for selection for Camouflage Trophies.

Camouflages need to meet several technical and formal requirements.

Technical:
  • Camouflage should be published on the WT Live in the camouflage section (https://live.warthunder.com/feed/camouflages/).
  • The resolution of the camouflage texture must be in multiples of 8. Permitted texture sizes on the largest side: 128; 256; 512; 1024; 2048; 4096 and 8192 px (8192 px only for the texture of high rank (VI+ rank) aircraft and bombers).
  • Textures for ground vehicles should be made with the obligatory possibility of applying decals (see fixed camouflage). Diffuse texture should be done via set_tex, not via replace_tex. It is allowed to combine fixed and scalable camouflage.
  • The title picture of the topic will be chosen as cover for the camouflage. It must have a horizontal format and have a proportion of 16x9. If the title picture doesn't meet the requirements another suitable picture from the topic will be chosen.
  • Camouflage textures should be in .dds or .tga format. The dds format is recommended, as it is more compact.
  • It is not allowed to change cockpit and engine flame textures.
Formal:
  • Camouflage must not violate WT Live WT rules.
  • Camouflages containing intellectual property will not be considered for trophy selection. Check for copyrights on decals, logos, drawings, and patterns. Often festival camouflages and pilot group camouflages have active copyrights!
  • Aircraft identification marks of the countries of the fascist/Nazi bloc must not contain prohibited symbols. The use of harmonized identification marks is recommended (link).

Links