Custom Liveries – Take On Helicopters

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Notes on configuring custom TKOH liveries)
 
m (category)
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
* Place the TGA textures in an appropriate data folder.
* 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).
* 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 ===
=== Light ===
Line 16: Line 17:
  "HSim\MyHelicopter_H\data\Heli_Medium01_MyLivery_main_co.paa", //heli_medium01_main_co_TEMPLATE.psd
  "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_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
  "HSim\MyHelicopter_H\data\Heli_Medium01_MyLivery_ext1_co.paa" //heli_medium01_ext1_co_TEMPLATE.psd
  };
  };


Line 32: Line 33:
Use the [[setObjectTexture|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.
Use the [[setObjectTexture|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.


[[Category:Take On Helicopters|Take On Helicopters: Custom Liveries]]
{{GameCategory|tkoh|Editing}}

Latest revision as of 16:50, 2 January 2021

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.