class otocVez_roof_hide: roof_hide {
	selection = "otocVez_roof";
};
class cargoshell_hide: tailgate_hide {
	selection = "m1151_trunk";
};
class GunnerShield_hide {
	type = "hide";
	minValue = 0;
	maxValue = 1;
	hideValue = 0.1;
	selection = "GunnerShieldKit";
	source = "GunnerShield_hide";
};
class gunnershield_destruct {
	type="hide";
	minValue = 0; 
	maxValue = 1; 
	hidevalue = 0.99;
	selection = "GunnerShieldKit"; source = "HitGunnerShield";
};
class gunnershield_destruct_a: gunnershield_destruct {
	selection = "GunnerShieldKit_a";
	hideValue = 0.5;
};
class gunnershield_destruct_dmg: gunnershield_destruct_a {
	selection = "GunnerShieldKit_dmg";
	hideValue = 0;
	unhideValue = 0.5;
};
class turret_transported {
	type = "hide";
	minValue = 0;
	maxValue = 1;
	source = "vehicleTransported";
	hideValue = 0.1;
	selection = "OtocHlaven_hide";
};
class turretVez_transported: turret_transported {
	selection = "OtocVez_hide";
};
class hatch_transported: turret_transported {
	selection = "hatch_2";
};
class turret_removed: turret_transported {
	source = "TurretRemoved";
};
class turretVez_removed: turretVez_transported {
	source = "TurretRemoved";
};
class GunnerTurnOut {
	type="Rotation";
	minValue = 0;
	maxValue = 1;
	angle0 = 0;
	angle1 = "rad -90";
	axis = "OsaVeze";
	selection = "OtocVez";
	source = "GunnerTurnOut";
};
class GunnerTurnAround {
		type = "Rotation";
		minValue = 0;
		maxValue = 1;
		angle0 = 0;
		axis = "OsaVeze";
		source = "GunnerTurnAround";
		selection = "OtocVezGunner";
		angle1 = "rad -360";
		sourceAddress = "loop";
};
class GunnerTurnAroundTurret: GunnerTurnAround {
	selection = "OtocVez";
};
class MainTurret
{
	type="rotationY";
	source="mainTurret";
	selection="OtocVez";
	axis="OsaVeze";
	animPeriod=0;
	minValue="rad -360";
	maxValue="rad +360";
	angle0="rad -360";
	angle1="rad +360";
};
class MainTurretGunner: MainTurret {
	selection = "OtocVezGunner";
};
class MainGun: MainTurret
{
	type="rotationX";
	source="mainGun";
	selection="OtocHlaven";
	axis="OsaHlavne";
};
class MainGunGunner: MainGun {
	selection = "OtocHlavenGunner";
};
class m1151_hide {
	type = "hide";
	minValue = 0;
	maxValue = 1;
	source = "m1151_hide";
	hideValue = 0.1;
	selection = "m1151";
};
class m1151_trunk_fold {
	type = "rotation";
	axis = "m1151_trunk_axis";
	minValue=0;
	maxValue=1;
	selection="m1151_trunk";
	angle0=0;
	angle1="rad 90";
	source="tailgate_fold";
	memory=1;
};
class m1151_trunk_fold_rear: m1151_trunk_fold {
	axis = "m1151_trunk_back_axis";
	angle1 = "rad -70";
	source = "cargoshell_open_rear";
};

class hatch_1_fold {
	type = "rotation";
	axis = "hatch_1_axis";
	selection = "hatch_1";
	minValue = 0;
	maxValue = 0.45;
	angle0 = 0;
	angle1 = "rad 180";
	source = "hatch_open";
	memory = 1;
};
class hatch_2_fold: hatch_1_fold {
	angle1 = "rad 90";
	axis = "hatch_2_axis";
	selection = "hatch_2";
	minValue = 0.55;
	maxValue = 1;
};
class hatch_closed_hide {
	type = "hide";
	selection = "hit_hatch_closed";
	source = "hatch_open";
	hideValue = 0.5;
	minValue = 0;
	maxValue = 1;
};
class hatch_open_hide: hatch_closed_hide {
	selection = "hit_hatch_open";
	hideValue = 0;
	unhideValue = 0.5;
};