// Script para chamar o breve em elipse nas fardas do exército
// Autor: Valmo Trindade

params["_unit", "_brevet"];

switch (_brevet) do {
	case "astros": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\astros_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\astros.rvmat"];
	};
	case "blindado": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\armor_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\armor.rvmat"];
	};
	case "cigs": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\cigs_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\cigs.rvmat"];
	};
	case "esacosae": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\esacosae_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\esacosae.rvmat"];
	};
	case "health": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\health_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\health.rvmat"];
	};
	case "montanha": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\montanha_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\montanha.rvmat"];
	};
	case "piloto": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\piloto_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\piloto.rvmat"];
	};
	case "pqdt": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\pqdt_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\pqdt.rvmat"];
	};
	case "sar": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\sar_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\sar.rvmat"];
	};
	case "sniper": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\sniper_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\sniper.rvmat"];
	};
	case "specops": {
		_unit setObjectTextureGlobal [14, "braf\braf_insignia\uniform\brevet\specops_CO.paa"];
		_unit setObjectMaterialGlobal [14, "braf\braf_insignia\uniform\brevet\specops.rvmat"];
	};
	default {
		_unit setObjectTextureGlobal [14, ""];
		_unit setObjectMaterialGlobal [14, ""];
	};
};