Custom Liveries – Take On Helicopters

From Bohemia Interactive Community
Revision as of 16:50, 2 January 2021 by R3vo (talk | contribs) (category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

By using the PSD templates available in the samples package, you can create your own custom liveries. But after you save out the final TGA texture files, you'll still need to configure the game to use them.


Configuring

  • Place the TGA textures in an appropriate data folder.
  • List the files in a textures.lst so they get packed into the PBO (depends on the packing pipeline you're using).
  • In the CfgVehicles class of your helicopter, configure the new textures like shown below.

Light

hiddenSelectionsTextures[] = {"HSim\MyHelicopter_H\data\heli_light01_MyLivery_ext_co.paa"}; //Heli_light01_ext_CO_TEMPLATE.psd

Medium

hiddenSelectionsTextures[] =
{
	"HSim\MyHelicopter_H\data\Heli_Medium01_MyLivery_main_co.paa", //heli_medium01_main_co_TEMPLATE.psd
	"HSim\MyHelicopter_H\data\Heli_Medium01_MyLivery_ext_co.paa",//heli_medium01_ext_co_TEMPLATE.psd
	"HSim\MyHelicopter_H\data\Heli_Medium01_MyLivery_ext1_co.paa" //heli_medium01_ext1_co_TEMPLATE.psd
};

Heavy

hiddenSelectionsTextures[] =
{
	"HSim\MyHelicopter_H\data\Heavy_MER_1_MyLivery_CO.paa", //Heavy_MER_1_CO_TEMPLATE.psd
	"HSim\MyHelicopter_H\data\Heavy_MER_2_MyLivery_CO.paa", //Heavy_MER_2_CO_TEMPLATE.psd
	"HSim\MyHelicopter_H\data\Heavy_MER_3_MyLivery_CO.paa" //Heavy_MER_3_CO_TEMPLATE.psd
};


Scripting

Use the setObjectTexture script command to change the livery on-the-fly. The index corresponds to the place in the above config samples. So texture listed first is index 0.