livery = {

-- forward fuselage
	{"C-130J_ext_01",	DIFFUSE				,	"c-130j_ext_01", false};
	{"C-130J_ext_01",	NORMAL_MAP			,	"c-130j_ext_01_nrm", true};
	{"C-130J_ext_01",	ROUGHNESS_METALLIC	,	"c-130j_ext_01_roughmet", true};

-- center fuselage
	{"C-130J_ext_02",	DIFFUSE				,	"c-130j_ext_02", false};
	{"C-130J_ext_02",	NORMAL_MAP			,	"c-130j_ext_02_nrm", true};
	{"C-130J_ext_02",	ROUGHNESS_METALLIC	,	"c-130j_ext_02_roughmet", true};

-- rear fuselage
	{"C-130J_ext_03",	DIFFUSE			    ,	"c-130j_ext_03", false};
	{"C-130J_ext_03",	NORMAL_MAP			,	"c-130j_ext_03_nrm", true};
	{"C-130J_ext_03",	ROUGHNESS_METALLIC	,	"c-130j_ext_03_roughmet", true};

-- front belly
	{"C-130J_ext_04",	DIFFUSE				,	"c-130j_ext_04", false};
	{"C-130J_ext_04",	NORMAL_MAP			,	"c-130j_ext_04_nrm", true};
	{"C-130J_ext_04",	ROUGHNESS_METALLIC	,	"c-130j_ext_04_roughmet", true};

-- center belly & gear pods
	{"C-130J_ext_05",	DIFFUSE				,	"c-130j_ext_05", false};
	{"C-130J_ext_05",	NORMAL_MAP			,	"c-130j_ext_05_nrm", true};
	{"C-130J_ext_05",	ROUGHNESS_METALLIC	,	"c-130j_ext_05_roughmet", true};

-- rear belly & right horizontal stabilizer
	{"C-130J_ext_06",	DIFFUSE				,	"c-130j_ext_06", false};
	{"C-130J_ext_06",	NORMAL_MAP			,	"c-130j_ext_06_nrm", true};
	{"C-130J_ext_06",	ROUGHNESS_METALLIC	,	"c-130j_ext_06_roughmet", true};

-- left horizontal stabilizer
	{"C-130J_ext_07",	DIFFUSE				,	"c-130j_ext_07", false};
	{"C-130J_ext_07",	NORMAL_MAP			,	"c-130j_ext_07_nrm", true};
	{"C-130J_ext_07",	ROUGHNESS_METALLIC	,	"c-130j_ext_07_roughmet", true};

-- vertical stabilizer
	{"C-130J_ext_08",	DIFFUSE				,	"c-130j_ext_08", false};
	{"C-130J_ext_08",	NORMAL_MAP			,	"c-130j_ext_08_nrm", true};
	{"C-130J_ext_08",	ROUGHNESS_METALLIC	,	"c-130j_ext_08_roughmet", true};

-- IR detectors
	{"C-130J_ext_16",	DIFFUSE				,	"../common/c-130j_ext_16", false};
	{"C-130J_ext_16",	NORMAL_MAP			,	"c-130j_ext_16_nrm", true};
	{"C-130J_ext_16",	ROUGHNESS_METALLIC	,	"c-130j_ext_16_roughmet", true};
	
-- wings
	{"C-130J_wing_left_01",	DIFFUSE				,	"c-130j_wing_left_01", false};
	{"C-130J_wing_left_01",	NORMAL_MAP			,	"c-130j_wing_left_01_nrm", true};
	{"C-130J_wing_left_01",	ROUGHNESS_METALLIC	,	"c-130j_wing_left_01_roughmet", true};
	
	{"C-130J_wing_left_02",	DIFFUSE				,	"c-130j_wing_left_02", false};
	{"C-130J_wing_left_02",	NORMAL_MAP			,	"c-130j_wing_left_02_nrm", true};
	{"C-130J_wing_left_02",	ROUGHNESS_METALLIC	,	"c-130j_wing_left_02_roughmet", true};
	
	{"C-130J_wing_right_01",	DIFFUSE				,	"c-130j_wing_left_01", false};
	{"C-130J_wing_right_01",	NORMAL_MAP			,	"c-130j_wing_right_01_nrm", true};
	{"C-130J_wing_right_01",	ROUGHNESS_METALLIC	,	"c-130j_wing_right_01_roughmet", true};
	
	{"C-130J_wing_right_02",	DIFFUSE				,	"c-130j_wing_left_02", false};
	{"C-130J_wing_right_02",	NORMAL_MAP			,	"c-130j_wing_right_02_nrm", true};
	{"C-130J_wing_right_02",	ROUGHNESS_METALLIC	,	"c-130j_wing_right_02_roughmet", true};
	
-- engines	
	{"C-130J_wing_left_03",	DIFFUSE				,	"c-130j_wing_left_03", false};
	{"C-130J_wing_left_03",	NORMAL_MAP			,	"c-130j_wing_left_03_nrm", true};
	{"C-130J_wing_left_03",	ROUGHNESS_METALLIC	,	"c-130j_wing_left_03_roughmet", true};
	
	{"C-130J_wing_right_03",	DIFFUSE				,	"c-130j_wing_left_03", false};
	{"C-130J_wing_right_03",	NORMAL_MAP			,	"c-130j_wing_right_03_nrm", true};
	{"C-130J_wing_right_03",	ROUGHNESS_METALLIC	,	"c-130j_wing_right_03_roughmet", true};
	
-- flap tracks
	
--	{"C-130J_wing_left_04",	DIFFUSE				,	"c-130j_wing_04", false};
	{"C-130J_wing_left_04",	NORMAL_MAP			,	"c-130j_wing_04_nrm", true};
	{"C-130J_wing_left_04",	ROUGHNESS_METALLIC	,	"c-130j_wing_04_roughmet", true};
	
--	{"C-130J_wing_left_05",	DIFFUSE				,	"c-130j_wing_05", false};
	{"C-130J_wing_left_05",	NORMAL_MAP			,	"c-130j_wing_05_nrm", true};
	{"C-130J_wing_left_05",	ROUGHNESS_METALLIC	,	"c-130j_wing_05_roughmet", true};
	
--	{"C-130J_wing_left_06",	DIFFUSE				,	"c-130j_wing_06", false};
	{"C-130J_wing_left_06",	NORMAL_MAP			,	"c-130j_wing_06_nrm", true};
	{"C-130J_wing_left_06",	ROUGHNESS_METALLIC	,	"c-130j_wing_06_roughmet", true};
	
--	{"C-130J_wing_right_04",	DIFFUSE				,	"c-130j_wing_04", false};
	{"C-130J_wing_right_04",	NORMAL_MAP			,	"c-130j_wing_04_nrm", true};
	{"C-130J_wing_right_04",	ROUGHNESS_METALLIC	,	"c-130j_wing_04_roughmet", true};
	
--	{"C-130J_wing_right_05",	DIFFUSE				,	"c-130j_wing_05", false};
	{"C-130J_wing_right_05",	NORMAL_MAP			,	"c-130j_wing_05_nrm", true};
	{"C-130J_wing_right_05",	ROUGHNESS_METALLIC	,	"c-130j_wing_05_roughmet", true};
	
--	{"C-130J_wing_right_06",	DIFFUSE				,	"c-130j_wing_06", false};
	{"C-130J_wing_right_06",	NORMAL_MAP			,	"c-130j_wing_06_nrm", true};
	{"C-130J_wing_right_06",	ROUGHNESS_METALLIC	,	"c-130j_wing_06_roughmet", true};
	

-- miscellaneous
	{"C-130J_ext_decals",	DIFFUSE				,	"c-130j_ext_decals", false};
	{"C-130J_ext_decals",	NORMAL_MAP			,	"c-130j_ext_decals_nrm", true};
	{"C-130J_ext_decals",	ROUGHNESS_METALLIC	,	"c-130j_ext_decals_roughmet", true};
	
	{"C-130J_ext_stancil",   DIFFUSE            ,   "c-130j_ext_stensil_USAF", false};
	{"C-130J_ext_stancil",   NORMAL_MAP         ,   "c-130j_ext_stensil_nrm", true};
	{"C-130J_ext_stancil",   ROUGHNESS_METALLIC ,   "c-130j_ext_stensil_roughmet", true};
}

-- livery by Robsonek

name = "Polish Air Force 1505"

custom_args = {
[6000] = 1.0 -- formation light 3d model
}