Jump to content
Sign in to follow this  
R0adki11

T55 Commander Optics Issue

Recommended Posts

Hi all, I'm having an issue with my T55 commander optics, they will transverse from side to side, but not up and down. The config valid are correct, this leads me to believe its something I need to do on the model or model.cfg I'm away for the weekend unable to access the model, but was wondering and hoping some one could point me in the right direction of how to sort the issue.

I would imagine its the model.cfg that is the problem. I will post the cfg up tomorrow.

Thanks

Edited by R0adki11

Share this post


Link to post
Share on other sites
Are you using the standard czech names or your own names?

Czech standard, i will post up the model config tonight, currently in work at the moment ;)

Share this post


Link to post
Share on other sites
If so I would confirm the spelling of the class names.

Ive checked and still can't see what wrong :(. Model.cfg is below:

class CfgSkeletons 
{
class default
{
	isDiscrete = 1;
	skeletonInherit = "";
	skeletonBones[] = {};
};

  class rki_T55Bones: default
  {
isDiscrete=1;
skeletonInherit = "default"; 
skeletonBones[]=
{

	"levy predni","",
	"levy dalsi","",
	"levy prostredni","",
	"levy zadni","",
	"pravy predni","",
	"pravy dalsi","",
	"pravy prostredni","",
	"pravy zadni","",
	"damageHide","",
	"OtocVez","",
	"OtocHlaven","OtocVez",
	"recoilhlaven","OtocHlaven",
	"main_light","OtocVez",
	"otocvelitele","OtocVez",
	"damageVez","OtocVez",
	"Poklop_Gunner","OtocVez",
	"OtocHlavenVelitele","otocvelitele",
	"Poklop_Commander","otocvelitele",
	"damage_com_turret","otocvelitele",
	"GCP","OtocVez",
	"loder_hat","GCP",
	"ammo_belt","OtocHlaven_1",
	"OtocHlaven_1","GCP",
	"damage_mg","OtocHlaven_1",
	"div_h_null","",
	"poklop_Driver","div_h_null",

		"kolL1","",
		"kolL2","",

		"kolP1","",
		"kolP2","",

		"podkoloL1","",
		"podkoloL2","",
		"podkoloL3","",
		"podkoloL4","",
		"podkoloL5","",

		"podkoloP1","",
		"podkoloP2","",
		"podkoloP3","",
		"podkoloP4","",
		"podkoloP5","",

		"koloL1","podkoloL1",
		"koloL2","podkoloL2",
		"koloL3","podkoloL3",
		"koloL4","podkoloL4",
		"koloL5","podkoloL5",

		"koloP1","podkoloP1",
		"koloP2","podkoloP2",
		"koloP3","podkoloP3",
		"koloP4","podkoloP4",
		"koloP5","podkoloP5",

		"podkoloL1_hide","podkoloL1",
		"podkoloL2_hide","podkoloL2",
		"podkoloL3_hide","podkoloL3",
		"podkoloL4_hide","podkoloL4",
		"podkoloL5_hide","podkoloL5",

		"podkoloP1_hide","podkoloP1",
		"podkoloP2_hide","podkoloP2",
		"podkoloP3_hide","podkoloP3",
		"podkoloP4_hide","podkoloP4",
		"podkoloP5_hide","podkoloP5",
		"podkoloL1_up","podkoloL1",
		"podkoloL2_up","podkoloL2",
		"podkoloL3_up","podkoloL3",
		"podkoloL4_up","podkoloL4",
		"podkoloL5_up","podkoloL5",
		"podkoloP1_up","podkoloP1",
		"podkoloP2_up","podkoloP2",
		"podkoloP3_up","podkoloP3",
		"podkoloP4_up","podkoloP4",
		"podkoloP5_up","podkoloP5",
		"podkoloL1_up_hide","podkoloL1_up",
		"podkoloL2_up_hide","podkoloL2_up",
		"podkoloL3_up_hide","podkoloL3_up",
		"podkoloL4_up_hide","podkoloL4_up",
		"podkoloL5_up_hide","podkoloL5_up",
		"podkoloP1_up_hide","podkoloP1_up",
		"podkoloP2_up_hide","podkoloP2_up",
		"podkoloP3_up_hide","podkoloP3_up",
		"podkoloP4_up_hide","podkoloP4_up",
		"podkoloP5_up_hide","podkoloP5_up",
};
  };
};


class CfgModels
{
class default
{
	sections[] = {};
	sectionsInherit="";
	skeletonName = "";
};
class rki_T55 : default
{
	sectionsInherit="default";
	sections[]=
	{
		"ammo_belt",
		"zasleh",
		"zasleh_1",
		"koll1",
		"koll2",
		"kolp1",
		"kolp2",
		"koloL1",
		"koloL2",
		"koloL3",
		"koloL4",
		"koloL5",
		"koloP1",
		"koloP2",
		"koloP3",
		"koloP4",
		"koloP5",
		"pravy zadni",
		"pasoffsetl",
		"pasoffsetp",
		"levy zadni",
		"L svetlo", 
		"P svetlo",
		"brzdove svetlo", 
		"zadni svetlo",
		"HatchCommander",
		"HatchLoder",
		"HatchDriver",
		"damage_com_turret",
		"damage_mg",
		"damageHide",
		"main_light",
		"clan_sign",
		"clan",
		"damageVez",
		"div_h_null",
		"LoaderGun",
		"recoilhlaven",
		"pas_L",
		"pas_P",
		"zbran",
		"telo",
		"vez",
		"zbytek",
		"camo01",
		"camo02",
		"camo03",
		"camo04",
	};
	skeletonName="rki_T55Bones";
	class Animations
	{

		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 MainGun: MainTurret
		{
			type="rotationX";
			source="mainGun";
			selection="OtocHlaven";
			axis="OsaHlavne";
		};


/*			class cannon_reload
		{
				type="translation";
			source="recoil_source";
			selection="recoilhlaven";
			begin="main_gun_recoil_end";
			end="main_gun_recoil_start";
				initphase=0;
				memory=1;
				animperiod =0.2;
			sourceaddress="mirror";
			//	minvalue=0;
			//	maxvalue=(1/100)/2;
				offset0=0;
				offset1=1;
			}
*/

		class ammo_belt_rotation
		{
			type="rotationZ";
			source="belt_rotation";
			selection="ammo_belt";
			axis="ammo_belt_axis";
			memory=1;
			sourceAddress="loop";
			minValue=0.000000;
			maxValue=0.003000;
			angle0=0.000000;
			angle1=0.35;
		};


		class recoil_BEGIN
		{
			Type = "translation";
			Source = "recoil_source";
			Selection = "recoilhlaven";
			axis= "recoilhlaven_axis";
			MinValue = 0.98;
			MaxValue = 0.985;
			MinPhase = 0.0;
			MaxPhase = 0.2;
			SourceAddress = "clamp";
			Offset0 = 0.000000;
			Offset1 = 0.500000;
		};
		class recoil_END
		{
			Type = "translation";
			Source = "recoil_source";
			Selection = "recoilhlaven";
			axis= "recoilhlaven_axis";
			MinValue = 0.986;
			MaxValue = 1.0;
			MinPhase = 0.7;
			MaxPhase = 1.00;
			SourceAddress = "clamp";
			Offset0 = 0.000000;
			Offset1 = -0.500000;
		}; 

		class HatchGunner
		{
			type = "rotationX";
			source = "HatchGunner";
			selection="poklop_gunner";
			axis="osa_poklop_gunner";
			minValue = 0;
			maxValue = 1;
			angle0 = 0; 
			angle1= rad 160;
		};

		class main_light
		{
			type="rotationX";
			source="mainGun";
			selection="main_light";
			axis="main_light_ax";
			minValue="rad -10.5";
			maxValue="rad 0";
			angle0="rad -10.5";
			angle1="rad 0";
		};

		class ObsTurret
		{
			type="rotationY";
			source="obsTurret";
			selection="OtocVelitele";
			axis="OsaVelitele";
			animPeriod=0;
			minValue="rad -360";
			maxValue="rad +360";
			angle0="rad -360";
			angle1="rad +360";
		};

		class ObsGun: ObsTurret
		{
			type="rotationX";
			source="obsGun";
			selection="OtocHlavenVelitele";
			axis="OsaHlavneVelitele";
		};

		class HatchCommander: HatchGunner
		{
			type="rotation";
			source="hatchCommander";
			selection="poklop_commander";
			axis="osa_poklop_commander";
			animPeriod=0;
			angle0=0;
			angle1="rad 100";
		};
		class LoaderTurret: MainTurret
		{
			source="Turret_2";
			selection="GCP";
			axis="gunner_cp_ax";
		};

		class HatchLoder
		{
		type = "rotationX";
		source = "Hatch_2";
		selection="loder_hat";
		axis="osa_poklop_loder";
		minValue = 0;
		maxValue = 1;
		angle0 = 0; 
		angle1= rad 105;
		};

		class LoaderGun: MainGun
		{
			source="Gun_2";
			selection="OtocHlaven_1";
			axis="OsaHlavne_1";
		};


		class damageHide
		{
			type="hide";
			source="damage";
			selection="damageHide";
		};
		class HatchDriver
		{
			type="rotation";
			source="hatchDriver";
			selection="poklop_driver";
			axis="osa_poklop_driver";
			animPeriod=0;
			angle0=0;
			angle1="rad -100";
		};
		class HatchDriver_ymove
		{
			type="translationY";
			source="hatchDriver";
			selection="div_h_null";
			axis="div_h_null_ax";
			minValue = 0;
			maxValue = 0.03;
			Offset0 = 0; 
			Offset1=  -0.03;
		};	

		class rki_T55_Wheel_kolL1
		{
			type="rotationX";
			source="wheelL";
			selection="kolL1";
			axis="";
			memory="false";
			animPeriod=0;
			angle0=0;
			angle1="rad -360";
			sourceAddress="loop";
		};
		class rki_T55_Wheel_koloL1: rki_T55_Wheel_kolL1
		{
			selection="koloL1";
		};
		class rki_T55_Wheel_podkoloL1
		{
			type="translationY";
			source="damper";
			selection="podkoloL1";
			axis="";
			memory="false";
			animPeriod=0;
			minValue=-1000;
			maxValue=1000;
		};
		class rki_T55_Wheel_kolP1: rki_T55_Wheel_kolL1
		{
			source="wheelR";
			selection="kolP1";
		};
		class rki_T55_Wheel_koloP1: rki_T55_Wheel_koloL1
		{
			source="wheelR";
			selection="koloP1";
		};
		class rki_T55_Wheel_podkoloP1: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloP1";
		};
		class rki_T55_Wheel_kolL2: rki_T55_Wheel_kolL1
		{
			selection="kolL2";
		};
		class rki_T55_Wheel_kolL3: rki_T55_Wheel_kolL1
		{
			selection="kolL3";
		};
		class rki_T55_Wheel_kolL4: rki_T55_Wheel_kolL1
		{
			selection="kolL4";
		};
		class rki_T55_Wheel_kolL5: rki_T55_Wheel_kolL1
		{
			selection="kolL5";
		};

		class rki_T55_Wheel_kolP2: rki_T55_Wheel_kolP1
		{
			selection="kolP2";
		};
		class rki_T55_Wheel_kolP3: rki_T55_Wheel_kolP1
		{
			selection="kolP3";
		};
		class rki_T55_Wheel_kolP4: rki_T55_Wheel_kolP1
		{
			selection="kolP4";
		};
		class rki_T55_Wheel_kolP5: rki_T55_Wheel_kolP1
		{
			selection="kolP5";
		};

		class rki_T55_Wheel_koloL2: rki_T55_Wheel_koloL1
		{
			selection="koloL2";
		};
		class rki_T55_Wheel_koloL3: rki_T55_Wheel_koloL1
		{
			selection="koloL3";
		};
		class rki_T55_Wheel_koloL4: rki_T55_Wheel_koloL1
		{
			selection="koloL4";
		};
		class rki_T55_Wheel_koloL5: rki_T55_Wheel_koloL1
		{
			selection="koloL5";
		};

		class rki_T55_Wheel_koloP2: rki_T55_Wheel_koloP1
		{
			selection="koloP2";
		};
		class rki_T55_Wheel_koloP3: rki_T55_Wheel_koloP1
		{
			selection="koloP3";
		};
		class rki_T55_Wheel_koloP4: rki_T55_Wheel_koloP1
		{
			selection="koloP4";
		};
		class rki_T55_Wheel_koloP5: rki_T55_Wheel_koloP1
		{
			selection="koloP5";
		};

		class rki_T55_Wheel_podkoloL2: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL2";
		};
		class rki_T55_Wheel_podkoloL3: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL3";
		};
		class rki_T55_Wheel_podkoloL4: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL4";
		};
		class rki_T55_Wheel_podkoloL5: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL5";
		};

		class rki_T55_Wheel_podkoloP2: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP2";
		};
		class rki_T55_Wheel_podkoloP3: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP3";
		};
		class rki_T55_Wheel_podkoloP4: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP4";
		};
		class rki_T55_Wheel_podkoloP5: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP5";
		};

		class rki_T55_podkoloL1_hide_damage: damageHide
		{
			selection="podkoloL1_hide";
		};
		class rki_T55_podkoloL2_hide_damage: damageHide
		{
			selection="podkoloL2_hide";
		};
		class rki_T55_podkoloL3_hide_damage: damageHide
		{
			selection="podkoloL3_hide";
		};
		class rki_T55_podkoloL4_hide_damage: damageHide
		{
			selection="podkoloL4_hide";
		};
		class rki_T55_podkoloL5_hide_damage: damageHide
		{
			selection="podkoloL5_hide";
		};
////////////////////////////////////////////////////////////////////////////////

		class rki_T55_podkoloL1_up_hide_damage: damageHide
		{
			selection="podkoloL1_up_hide";
		};
		class rki_T55_podkoloL2_up_hide_damage: damageHide
		{
			selection="podkoloL2_up_hide";
		};
		class rki_T55_podkoloL3_up_hide_damage: damageHide
		{
			selection="podkoloL3_up_hide";
		};
		class rki_T55_podkoloL4_up_hide_damage: damageHide
		{
			selection="podkoloL4_up_hide";
		};
		class rki_T55_podkoloL5_up_hide_damage: damageHide
		{
			selection="podkoloL5_up_hide";
		};

		class rki_T55_podkoloP1_up_hide_damage: damageHide
		{
			selection="podkoloP1_up_hide";
		};
		class rki_T55_podkoloP2_up_hide_damage: damageHide
		{
			selection="podkoloP2_up_hide";
		};
		class rki_T55_podkoloP3_up_hide_damage: damageHide
		{
			selection="podkoloP3_up_hide";
		};
		class rki_T55_podkoloP4_up_hide_damage: damageHide
		{
			selection="podkoloP4_up_hide";
		};
		class rki_T55_podkoloP5_up_hide_damage: damageHide
		{
			selection="podkoloP5_up_hide";
		};

/////////////////////////////////////////////////////////////////////////////////
		class rki_T55_podkoloP1_hide_damage: damageHide
		{
			selection="podkoloP1_hide";
		};
		class rki_T55_podkoloP2_hide_damage: damageHide
		{
			selection="podkoloP2_hide";
		};
		class rki_T55_podkoloP3_hide_damage: damageHide
		{
			selection="podkoloP3_hide";
		};
		class rki_T55_podkoloP4_hide_damage: damageHide
		{
			selection="podkoloP4_hide";
		};
		class rki_T55_podkoloP5_hide_damage: damageHide
		{
			selection="podkoloP5_hide";
		};

		class damageVez: damageHide
		{
			selection="damageVez";
		};

		class damage_com_turret: damageHide
		{
			selection="damage_com_turret";
		};

		class damage_mg: damageHide
		{
			selection="damage_mg";
		};

	};
};
class rki_T55AM : rki_T55{};
class rki_T55AM2 : default
{
	sectionsInherit="default";
	sections[]=
	{
		"ammo_belt",
		"zasleh",
		"zasleh_1",
		"koll1",
		"koll2",
		"kolp1",
		"kolp2",
		"koloL1",
		"koloL2",
		"koloL3",
		"koloL4",
		"koloL5",
		"koloP1",
		"koloP2",
		"koloP3",
		"koloP4",
		"koloP5",
		"pravy zadni",
		"pasoffsetl",
		"pasoffsetp",
		"levy zadni",
		"L svetlo", 
		"P svetlo",
		"brzdove svetlo", 
		"zadni svetlo",
		"HatchCommander",
		"HatchLoder",
		"HatchDriver",
		"damage_com_turret",
		"damage_mg",
		"damageHide",
		"main_light",
		"clan_sign",
		"clan",
		"damageVez",
		"div_h_null",
		"LoaderGun",
		"recoilhlaven",
		"pas_L",
		"pas_P",
		"zbran",
		"telo",
		"vez",
		"zbytek",
		"04_co",
		"camo01",
		"camo02",
		"camo03",
		"camo04",
		"camo05",
		"camo06"
	};
	skeletonName="rki_T55Bones";
	class Animations
	{

		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 MainGun: MainTurret
		{
			type="rotationX";
			source="mainGun";
			selection="OtocHlaven";
			axis="OsaHlavne";
		};


/*			class cannon_reload
		{
				type="translation";
			source="recoil_source";
			selection="recoilhlaven";
			begin="main_gun_recoil_end";
			end="main_gun_recoil_start";
				initphase=0;
				memory=1;
				animperiod =0.2;
			sourceaddress="mirror";
			//	minvalue=0;
			//	maxvalue=(1/100)/2;
				offset0=0;
				offset1=1;
			}
*/

		class ammo_belt_rotation
		{
			type="rotationZ";
			source="belt_rotation";
			selection="ammo_belt";
			axis="ammo_belt_axis";
			memory=1;
			sourceAddress="loop";
			minValue=0.000000;
			maxValue=0.003000;
			angle0=0.000000;
			angle1=0.35;
		};


		class recoil_BEGIN
		{
			Type = "translation";
			Source = "recoil_source";
			Selection = "recoilhlaven";
			axis= "recoilhlaven_axis";
			MinValue = 0.98;
			MaxValue = 0.985;
			MinPhase = 0.0;
			MaxPhase = 0.2;
			SourceAddress = "clamp";
			Offset0 = 0.000000;
			Offset1 = 0.500000;
		};
		class recoil_END
		{
			Type = "translation";
			Source = "recoil_source";
			Selection = "recoilhlaven";
			axis= "recoilhlaven_axis";
			MinValue = 0.986;
			MaxValue = 1.0;
			MinPhase = 0.7;
			MaxPhase = 1.00;
			SourceAddress = "clamp";
			Offset0 = 0.000000;
			Offset1 = -0.500000;
		}; 

		class HatchGunner
		{
			type = "rotationX";
			source = "HatchGunner";
			selection="poklop_gunner";
			axis="osa_poklop_gunner";
			minValue = 0;
			maxValue = 1;
			angle0 = 0; 
			angle1= rad 160;
		};

		class main_light
		{
			type="rotationX";
			source="mainGun";
			selection="main_light";
			axis="main_light_ax";
			minValue="rad -10.5";
			maxValue="rad 0";
			angle0="rad -10.5";
			angle1="rad 0";
		};

		class ObsTurret
		{
			type="rotationY";
			source="obsTurret";
			selection="OtocVelitele";
			axis="OsaVelitele";
			animPeriod=0;
			minValue="rad -360";
			maxValue="rad +360";
			angle0="rad -360";
			angle1="rad +360";
		};

		class ObsGun: ObsTurret
		{
			type="rotationX";
			source="obsGun";
			selection="OtocHlavenVelitele";
			axis="OsaHlavneVelitele";
		};

		class HatchCommander: HatchGunner
		{
			type="rotation";
			source="hatchCommander";
			selection="poklop_commander";
			axis="osa_poklop_commander";
			animPeriod=0;
			angle0=0;
			angle1="rad 100";
		};
		class LoaderTurret: MainTurret
		{
			source="Turret_2";
			selection="GCP";
			axis="gunner_cp_ax";
		};

		class HatchLoder
		{
		type = "rotationX";
		source = "Hatch_2";
		selection="loder_hat";
		axis="osa_poklop_loder";
		minValue = 0;
		maxValue = 1;
		angle0 = 0; 
		angle1= rad 105;
		};

		class LoaderGun: MainGun
		{
			source="Gun_2";
			selection="OtocHlaven_1";
			axis="OsaHlavne_1";
		};


		class damageHide
		{
			type="hide";
			source="damage";
			selection="damageHide";
		};
		class HatchDriver
		{
			type="rotation";
			source="hatchDriver";
			selection="poklop_driver";
			axis="osa_poklop_driver";
			animPeriod=0;
			angle0=0;
			angle1="rad -100";
		};
		class HatchDriver_ymove
		{
			type="translationY";
			source="hatchDriver";
			selection="div_h_null";
			axis="div_h_null_ax";
			minValue = 0;
			maxValue = 0.03;
			Offset0 = 0; 
			Offset1=  -0.03;
		};	

		class rki_T55_Wheel_kolL1
		{
			type="rotationX";
			source="wheelL";
			selection="kolL1";
			axis="";
			memory="false";
			animPeriod=0;
			angle0=0;
			angle1="rad -360";
			sourceAddress="loop";
		};
		class rki_T55_Wheel_koloL1: rki_T55_Wheel_kolL1
		{
			selection="koloL1";
		};
		class rki_T55_Wheel_podkoloL1
		{
			type="translationY";
			source="damper";
			selection="podkoloL1";
			axis="";
			memory="false";
			animPeriod=0;
			minValue=-1000;
			maxValue=1000;
		};
		class rki_T55_Wheel_kolP1: rki_T55_Wheel_kolL1
		{
			source="wheelR";
			selection="kolP1";
		};
		class rki_T55_Wheel_koloP1: rki_T55_Wheel_koloL1
		{
			source="wheelR";
			selection="koloP1";
		};
		class rki_T55_Wheel_podkoloP1: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloP1";
		};
		class rki_T55_Wheel_kolL2: rki_T55_Wheel_kolL1
		{
			selection="kolL2";
		};
		class rki_T55_Wheel_kolL3: rki_T55_Wheel_kolL1
		{
			selection="kolL3";
		};
		class rki_T55_Wheel_kolL4: rki_T55_Wheel_kolL1
		{
			selection="kolL4";
		};
		class rki_T55_Wheel_kolL5: rki_T55_Wheel_kolL1
		{
			selection="kolL5";
		};

		class rki_T55_Wheel_kolP2: rki_T55_Wheel_kolP1
		{
			selection="kolP2";
		};
		class rki_T55_Wheel_kolP3: rki_T55_Wheel_kolP1
		{
			selection="kolP3";
		};
		class rki_T55_Wheel_kolP4: rki_T55_Wheel_kolP1
		{
			selection="kolP4";
		};
		class rki_T55_Wheel_kolP5: rki_T55_Wheel_kolP1
		{
			selection="kolP5";
		};

		class rki_T55_Wheel_koloL2: rki_T55_Wheel_koloL1
		{
			selection="koloL2";
		};
		class rki_T55_Wheel_koloL3: rki_T55_Wheel_koloL1
		{
			selection="koloL3";
		};
		class rki_T55_Wheel_koloL4: rki_T55_Wheel_koloL1
		{
			selection="koloL4";
		};
		class rki_T55_Wheel_koloL5: rki_T55_Wheel_koloL1
		{
			selection="koloL5";
		};

		class rki_T55_Wheel_koloP2: rki_T55_Wheel_koloP1
		{
			selection="koloP2";
		};
		class rki_T55_Wheel_koloP3: rki_T55_Wheel_koloP1
		{
			selection="koloP3";
		};
		class rki_T55_Wheel_koloP4: rki_T55_Wheel_koloP1
		{
			selection="koloP4";
		};
		class rki_T55_Wheel_koloP5: rki_T55_Wheel_koloP1
		{
			selection="koloP5";
		};

		class rki_T55_Wheel_podkoloL2: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL2";
		};
		class rki_T55_Wheel_podkoloL3: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL3";
		};
		class rki_T55_Wheel_podkoloL4: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL4";
		};
		class rki_T55_Wheel_podkoloL5: rki_T55_Wheel_podkoloL1
		{
			selection="podkoloL5";
		};

		class rki_T55_Wheel_podkoloP2: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP2";
		};
		class rki_T55_Wheel_podkoloP3: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP3";
		};
		class rki_T55_Wheel_podkoloP4: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP4";
		};
		class rki_T55_Wheel_podkoloP5: rki_T55_Wheel_podkoloP1
		{
			selection="podkoloP5";
		};

		class rki_T55_podkoloL1_hide_damage: damageHide
		{
			selection="podkoloL1_hide";
		};
		class rki_T55_podkoloL2_hide_damage: damageHide
		{
			selection="podkoloL2_hide";
		};
		class rki_T55_podkoloL3_hide_damage: damageHide
		{
			selection="podkoloL3_hide";
		};
		class rki_T55_podkoloL4_hide_damage: damageHide
		{
			selection="podkoloL4_hide";
		};
		class rki_T55_podkoloL5_hide_damage: damageHide
		{
			selection="podkoloL5_hide";
		};
////////////////////////////////////////////////////////////////////////////////

		class rki_T55_podkoloL1_up_hide_damage: damageHide
		{
			selection="podkoloL1_up_hide";
		};
		class rki_T55_podkoloL2_up_hide_damage: damageHide
		{
			selection="podkoloL2_up_hide";
		};
		class rki_T55_podkoloL3_up_hide_damage: damageHide
		{
			selection="podkoloL3_up_hide";
		};
		class rki_T55_podkoloL4_up_hide_damage: damageHide
		{
			selection="podkoloL4_up_hide";
		};
		class rki_T55_podkoloL5_up_hide_damage: damageHide
		{
			selection="podkoloL5_up_hide";
		};

		class rki_T55_podkoloP1_up_hide_damage: damageHide
		{
			selection="podkoloP1_up_hide";
		};
		class rki_T55_podkoloP2_up_hide_damage: damageHide
		{
			selection="podkoloP2_up_hide";
		};
		class rki_T55_podkoloP3_up_hide_damage: damageHide
		{
			selection="podkoloP3_up_hide";
		};
		class rki_T55_podkoloP4_up_hide_damage: damageHide
		{
			selection="podkoloP4_up_hide";
		};
		class rki_T55_podkoloP5_up_hide_damage: damageHide
		{
			selection="podkoloP5_up_hide";
		};

/////////////////////////////////////////////////////////////////////////////////
		class rki_T55_podkoloP1_hide_damage: damageHide
		{
			selection="podkoloP1_hide";
		};
		class rki_T55_podkoloP2_hide_damage: damageHide
		{
			selection="podkoloP2_hide";
		};
		class rki_T55_podkoloP3_hide_damage: damageHide
		{
			selection="podkoloP3_hide";
		};
		class rki_T55_podkoloP4_hide_damage: damageHide
		{
			selection="podkoloP4_hide";
		};
		class rki_T55_podkoloP5_hide_damage: damageHide
		{
			selection="podkoloP5_hide";
		};

		class damageVez: damageHide
		{
			selection="damageVez";
		};

		class damage_com_turret: damageHide
		{
			selection="damage_com_turret";
		};

		class damage_mg: damageHide
		{
			selection="damage_mg";
		};

	};
};
class rki_T55AM2B : rki_T55AM2{};
};

Edited by Max Power
added config

Share this post


Link to post
Share on other sites

and for comparison heres the config:

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2


class CfgPatches
{
class rki_t55naf
   	{
     	units[] = {"rki_T55","rki_T55_des","rki_T55AM","rki_T55AM_des","rki_T55AMV","rki_T55AMV_des"};
	weapons[] = {"rki_100mm_D_10T2S","rki_fakeweapon"};
	requiredVersion = 1.0;
	requiredAddons[] = {"CAData", "CACharacters", "CAWeapons", "CASounds", "CATracked"};

};
};
class CfgFactionClasses 
{
class NAF
{
	displayName = "NAF";
	priority = 5;
	side = 1;
};
};

class CfgVehicleClasses {
class NAFA1 {
	displayName = "Nogovan Light Horse - Oak";
};

class NAFA2 {
	displayName = "Nogovan Light Horse - Desert";
};

class NAFA3 {
	displayName = "Nogovan Light Horse - Green";
};

};

#include <cfgmagazine.h>
#include <cfgWeapons.h>
#include <cfgAmmo.h>
//#include <CfgSkeletons.h>

class CfgVehicles
{
class Land;	// External class reference

class LandVehicle : Land {
	class NewTurret;	// External class reference
	class ViewOptics;	// External class reference
};

class Tank : LandVehicle {
	class Turrets {
		class MainTurret : NewTurret {
			class Turrets {
				class CommanderOptics : NewTurret {};
			};
		};
	};

	class ViewOptics : ViewOptics {};
};
class T72_Base : Tank {};
class rki_T55 :T72_Base {
	displayName = "T-55A";
	model = "\rki_T55\rki_T55.p3d";
	selectionLeftOffset = "pasoffsetl";
	selectionRightOffset = "pasoffsetp";
	scope= 2;
	side = 1;
	faction = "NAF";
	vehicleClass = "NAFA1";
	crew = "RKI_crew";
	typicalCargo[] = {"RKI_crew", "RKI_crew", "RKI_crew", "RKI_crew"};
	accuracy = 0.42;
	picture = "\rki_T55\pic_rki_T55_ca.paa";
	Icon = "\rki_T55\icomap_rki_t55_ca.paa";
	hiddenSelections[] = {"camo01","camo02","camo03","camo04"};
	hiddenSelectionsTextures[] = {"\rki_t55\body_oak_co.paa","\rki_t55\gun_oak_co.paa","\rki_t55\tilt2_oak_co.paa","\rki_t55\tilt_oak_co.paa"};
	mapSize= 9.5;
	armor= 560;
	damageResistance = 0.00454;
	maxSpeed= 48;
	forceHideGunner = 0;
	transportSoldier = 0;
	class TransportMagazines {};
	transportAmmo = 0;
	supplyRadius = 1.7;
	canFloat = 0;
	nightVision=0;
	type = VArmor;
	threat[] = {0.9, 0.8, 0.2};
	cost = 400000;

	class ViewOptics {
		initAngleX = 0;
		minAngleX = -30;
		maxAngleX = 30;
		initAngleY = 0;
		minAngleY = -100;
		maxAngleY = 100;
		initFov = 0.9;
		minFov = 0.9;
		maxFov = 0.9;
	};

	// internal camera viewing limitations
	class ViewPilot {
		initAngleX = 0;
		minAngleX = 0;
		maxAngleX = 20;
		initAngleY = 0;
		minAngleY = -100;
		maxAngleY = 100;
		initFov = 0.57;
		minFov = 0.42;
		maxFov = 0.64;
	};

	class HitHull {
		armor = 0.85;
		material = -1;
		name = "telo";
		visual = "telo";
		passThrough = 0.8;
	};

	class HitLTrack {
		armor = 0.7;
		material = -1;
		name = "pas_L";
		visual = "pas_L";
		passThrough = 0;
	};

	class HitRTrack {
		armor = 0.7;
		material = -1;
		name = "pas_P";
		visual = "pas_P";
		passThrough = 0;
	};

	class HitEngine {
		armor = 0.7;
		material = -1;
		name = "motor";
		visual = "motor";
		passThrough = 0.3;
	};


	class Exhausts {
		class Exhaust1 {
			position = "vyfuk start";
			direction = "vyfuk konec";
			effect = "ExhaustsEffectBig";
		};
	};

class AnimationSources {


		class recoil_source
		{
			source = "reload";
			weapon = "rki_100mm_D_10T2S";
		};


		class belt_rotation
		{
			source="reload";
			weapon="DSHKM";
		};



	};

	soundEngine[] = {"\rki_T55\sound\rki_T55_engine.wss", db18, 0.8};
	soundEnviron[] = {"\rki_T55\sound\OldRolling_Treads2.wss", db20, 0.9};
	soundGetOut[] = {"\ca\Tracked\Data\Sound\tank_door", db-40, 1};
	soundGetIn[] = {"\ca\Tracked\Data\Sound\tank_door", db-40, 1};
	driverOutOpticsModel = "";
	forceHideDriver = 0;
	driverForceOptics = 1;
	driverAction = "T72_DriverOut";
	driverInAction = "T72_Driver";
	commanding=-1;
	primaryObserver=0;

	class Library
			{
 libTextDesc="The T-54 and T-55 tanks were a series of main battle tanks designed in the Soviet Union. The first T-54 prototype appeared in March 1945, just before the end of the Second World War. The T-54 entered full production in 1947 and became the main tank of the Soviet Red Army's armored units, as well as of the armies of the Warsaw Pact countries, and others. T-54s and T-55s have been involved in many of the world's armed conflicts during the late twentieth century.";
		};

	class Damage {
		tex[] = {};
		mat[] = {
			"rki_T55\T55_body.rvmat",
			"rki_T55\T55_body_s.rvmat",
			"rki_T55\T55_body_damage.rvmat",
			"rki_T55\T55_body_destruct.rvmat",
			"rki_T55\T55_bodyLOD.rvmat",
			"rki_T55\T55_bodyLOD_damage.rvmat",
			"rki_T55\T55_bodyLOD_destruct.rvmat",
			"rki_T55\T55_gun_s.rvmat",
			"rki_T55\T55_gun_damage.rvmat",
			"rki_T55\T55_gun_destruct.rvmat",
			"rki_T55\T55_tlt2_s.rvmat",
			"rki_T55\T55_tlt2_damage.rvmat",
			"rki_T55\T55_tlt2_destruct.rvmat",
			"rki_T55\T55_tlt_s.rvmat",
			"rki_T55\T55_tlt_damage.rvmat",
			"rki_T55\T55_tlt_destruct.rvmat",
			"rki_T55\T55_tlt_LOD.rvmat",
			"rki_T55\T55_tlt_LOD_damage.rvmat",
			"rki_T55\T55_tlt_LOD_destruct.rvmat",
			"rki_T55\T55_wheel_s.rvmat",
			"rki_T55\T55_wheel_damage.rvmat",
			"rki_T55\T55_wheel_destruct.rvmat",
			"rki_T55\T55_track_s.rvmat",
			"rki_T55\T55_track_damage.rvmat",
			"rki_T55\T55_track_destruct.rvmat",
			"ca\tracked\data\t72_2.rvmat",
			"ca\tracked\data\t72_2_damage.rvmat",
			"ca\tracked\data\t72_2_destruct.rvmat",
			"ca\weapons\data\dshk.rvmat",
			"ca\weapons\data\dshk.rvmat",
			"ca\weapons\data\dshk_destruct.rvmat"
		};
	};

	class Turrets : Turrets {

		class MainTurret : MainTurret
		 {
			gunnerAction = T72_CommanderOut;
			gunnerInAction = T72_Gunner;
			weapons[]={rki_100mm_D_10T2S,PKT};
			magazines[]={"rki_23R_100mmAP","rki_10R_100mmHE","rki_10R_100mmHEAT","2000Rnd_762x54_PKT"};
			soundServo[]={\rki_T55\sound\T55_turret.wss,db-60,1.0};
			forceHideGunner = 1;
			gunnerOpticsModel = "\ca\weapons\2Dscope_T72gun8";
			gunnerOutOpticsModel = "";
			gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
			minElev=-6; maxElev=+14; initElev=0;
			maxHorizontalRotSpeed = 0.65;
			maxVerticalRotSpeed = 0.12;
			startEngine = false;
			primaryGunner = 1;
			primaryObserver = 0;
			commanding = 0;
			lockWhenDriverOut = 0;

			class HitPoints {
				class HitTurret {
					armor = 1;
					material = -1;
					name = "vez";
					visual = "vez";
					passThrough = 0.8;
				};

				class HitGun {
					armor = 0.3;
					material = -1;
					name = "zbran";
					visual = "zbran";
					passThrough = 0;
				};
			};

			class ViewOptics
			{
				initAngleX=0; minAngleX=-30; maxAngleX=+30;
				initAngleY=0; minAngleY=-100; maxAngleY=+100;
				initFov=0.166; minFov=0.025; maxFov=0.333;
			};
			class ViewGunner {
				initAngleX = 0; minAngleX = -30; maxAngleX = 30;
				initAngleY = 0; minAngleY = -100; maxAngleY = 100;
				initFov = 0.57; minFov = 0.42; maxFov = 0.64;
			};

			class Turrets : Turrets 
			 {


				class CommanderOptics: CommanderOptics
				{
					weapons[] = {rki_fakeweapon,"SmokeLauncher"};
					magazines[] = {"SmokeLauncherMag","SmokeLauncherMag"};
					//magazines[] = {"50Rnd_127x107_DSHKM"};

					gunBeg = "gun_muzzle";
					gunEnd = "gun_chamber";
					body = "ObsTurret";
					gun = "ObsGun";
					gunnerAction = T72_GunnerOut;
					gunnerInAction = T72_Commander;
					gunnerOutFireAlsoInInternalCamera = 1;
					gunnerOutOpticsShowCursor = 0;
					gunnerOpticsShowCursor = 0;
					gunnerOpticsModel = "\ca\weapons\2Dscope_RUAA5";
					gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
					gunnerOutOpticsModel = "";
					gunnerForceOptics = true;

					minElev=-25; maxElev=+60; initElev=0;
					minTurn=-360; maxTurn=+360; initTurn=0;

					soundServo[]={\ca\Weapons\Data\Sound\gun_elevate2,db-70,1.0};
					commanding=3;

					animationSourceHatch = "hatchCommander";
					animationSourceBody = "obsTurret";

					viewGunnerInExternal = 0;
					primaryObserver=1;
					primaryGunner = 0;
					class ViewOptics : ViewOptics {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.332821;
						minFov = 0.1024;
						maxFov = 0.666666;
					};

					class ViewGunner : ViewGunner  {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.57;
						minFov = 0.42;
						maxFov = 0.64;
					};

				};

//////////////////////////////////////////////////////////////////////////////////////////////////
			class LoaderTurret : CommanderOptics
			{

					weapons[] = {DSHKM};
					magazines[] = {"50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM"};
					gunnerAction = "T72_CommanderOut";
					gunnerInAction = "T72_Commander";
					gunnerOpticsModel = "\ca\Tracked\optika_T72_commander";
					gunnerOutOpticsModel = "";
					gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
					gunBeg = "loader_muzzle";
					gunEnd = "loader_chamber";
					viewGunnerInExternal = 0;
					proxyType = "CPGunner";
					proxyIndex = 2;
					gunnerName = "loader";
					primaryGunner = 0;
					primaryObserver = 0;
					primary = false;
					hasGunner = true;
					body = "LoaderTurret";
					gun = "LoaderGun";
					animationSourceBody = "Turret_2";
					animationSourceGun = "Gun_2";
					animationSourceHatch = "Hatch_2";
					minElev = -15;
					maxElev = 60;
					initElev = 0;
					minTurn = -360;
					maxTurn = 360;
					initTurn = 0;
					commanding = 1;
					outGunnerMayFire = true;
					inGunnerMayFire = false;
					gunnerFireAlsoInInternalCamera = 0;
					gunnerForceOptics = 1;
					gunnerOutForceOptics = 0;
					gunnerOutOpticsShowCursor = 0;
					memoryPointGunnerOutOptics = "loader_weapon_view";
					memoryPointGunnerOptics = "loaderview";
					memoryPointsGetInGunner = "pos driver";
					memoryPointsGetInGunnerDir = "pos driver dir";
					memoryPointGun = "loaderPointGun";
					selectionFireAnim = "zasleh_1";
					startEngine = false;
					castGunnerShadow = false;
					gunnerGetInAction = "GetInMedium";
					gunnerGetOutAction = "GetOutMedium";

					class ViewOptics : ViewOptics {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.571;
						minFov = 0.42;
						maxFov = 0.64;
					};

					class ViewGunner : ViewGunner {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.57;
						minFov = 0.42;
						maxFov = 0.64;

					};
				};
////////////////////////////////////////////////////////////////////////////////////////////////////////

			};



		};
	};


};
class rki_T55_des :rki_T55 {
displayName = "T-55";
model = "\rki_T55\rki_T55.p3d";
hiddenSelections[] = {"camo01","camo02","camo03","camo04"};
hiddenSelectionsTextures[] = {"\rki_t55\body_des_co.paa","\rki_t55\gun_des_co.paa","\rki_t55\tilt2_des_co.paa","\rki_t55\tilt_des_co.paa"};
vehicleClass = "NAFA2";
};

class rki_T55_gre :rki_T55 {
displayName = "T-55";
model = "\rki_T55\rki_T55.p3d";
hiddenSelections[] = {"camo01","camo02","camo03","camo04"};
hiddenSelectionsTextures[] = {"\rki_t55\T-55_body_co.paa","\rki_t55\T-55_gun_co.paa","\rki_t55\T-55_tilt2_co.paa","\rki_t55\T-55_tilt_co.paa"};
vehicleClass = "NAFA3";
};

class rki_T55AM :T72_Base {

	displayName = "T-55AM";
	model = "\rki_T55\rki_T55AM2.p3d";
	selectionLeftOffset = "pasoffsetl";
	selectionRightOffset = "pasoffsetp";
	scope= 2;
	hiddenSelections[] = {"camo01", "camo02", "camo03", "camo04", "camo05", "camo06"};
	hiddenSelectionsTextures[] = {"\rki_t55\am01_oak_co.paa","\rki_t55\body_oak_co.paa","\rki_t55\gun_am_oak_co.paa","\rki_t55\gun_oak_co.paa","\rki_t55\tilt2_oak_co.paa","\rki_t55\tilt_oak_co.paa"};
	side = 1;
	faction = "NAF";
	vehicleClass = "NAFA1";
	crew = "RKI_crew";
	typicalCargo[] = {"RKI_crew", "RKI_crew", "RKI_crew", "RKI_crew"};
	accuracy = 0.2;
	picture = "\rki_T55\pic_rki_T55_ca.paa";
	Icon = "\rki_T55\icomap_rki_t55_ca.paa";
	mapSize= 9.5;
	armor= 560;
	damageResistance = 0.00454;
	maxSpeed= 55;
	forceHideGunner = 0;
	transportSoldier = 0;
	class TransportMagazines {};
	transportAmmo = 0;
	supplyRadius = 1.7;
	canFloat = 0;
	nightVision=0;
	type = VArmor;
	threat[] = {0.9, 0.8, 0.2};
	cost = 400000;

	class ViewOptics {
		initAngleX = 0;
		minAngleX = -30;
		maxAngleX = 30;
		initAngleY = 0;
		minAngleY = -100;
		maxAngleY = 100;
		initFov = 0.9;
		minFov = 0.9;
		maxFov = 0.9;
	};

	// internal camera viewing limitations
	class ViewPilot {
		initAngleX = 0;
		minAngleX = 0;
		maxAngleX = 20;
		initAngleY = 0;
		minAngleY = -100;
		maxAngleY = 100;
		initFov = 0.57;
		minFov = 0.42;
		maxFov = 0.64;
	};

	class HitHull {
		armor = 0.85;
		material = -1;
		name = "telo";
		visual = "telo";
		passThrough = 0.8;
	};

	class HitLTrack {
		armor = 0.7;
		material = -1;
		name = "pas_L";
		visual = "pas_L";
		passThrough = 0;
	};

	class HitRTrack {
		armor = 0.7;
		material = -1;
		name = "pas_P";
		visual = "pas_P";
		passThrough = 0;
	};

	class HitEngine {
		armor = 0.7;
		material = -1;
		name = "motor";
		visual = "motor";
		passThrough = 0.3;
	};


	class Exhausts {
		class Exhaust1 {
			position = "vyfuk start";
			direction = "vyfuk konec";
			effect = "ExhaustsEffectBig";
		};
	};

class AnimationSources {


		class recoil_source
		{
			source = "reload";
			weapon = "D81";
		};


		class belt_rotation
		{
			source="reload";
			weapon="DSHKM";
		};



	};

	soundEngine[] = {"\rki_T55\sound\rki_T55_engine.wss", db18, 0.8};
	soundEnviron[] = {"\rki_T55\sound\OldRolling_Treads2.wss", db20, 0.9};
	soundGetOut[] = {"\ca\Tracked\Data\Sound\tank_door", db-40, 1};
	soundGetIn[] = {"\ca\Tracked\Data\Sound\tank_door", db-40, 1};
	driverOutOpticsModel = "";
	forceHideDriver = 0;
	driverForceOptics = 1;
	driverAction = "T72_DriverOut";
	driverInAction = "T72_Driver";
	commanding=-1;
	primaryObserver=0;

	class Library
			{
 libTextDesc="The T-54 and T-55 tanks were a series of main battle tanks designed in the Soviet Union. The first T-54 prototype appeared in March 1945, just before the end of the Second World War. The T-54 entered full production in 1947 and became the main tank of the Soviet Red Army's armored units, as well as of the armies of the Warsaw Pact countries, and others. T-54s and T-55s have been involved in many of the world's armed conflicts during the late twentieth century.";
		};

	class Damage {
		tex[] = {};
		mat[] = {
			"rki_T55\T55_body.rvmat",
			"rki_T55\T55_body_s.rvmat",
			"rki_T55\T55_body_damage.rvmat",
			"rki_T55\T55_body_destruct.rvmat",
			"rki_T55\T55_bodyLOD.rvmat",
			"rki_T55\T55_bodyLOD_damage.rvmat",
			"rki_T55\T55_bodyLOD_destruct.rvmat",
			"rki_T55\T55_gun_s.rvmat",
			"rki_T55\T55_gun_damage.rvmat",
			"rki_T55\T55_gun_destruct.rvmat",
			"rki_T55\T55_tlt2_s.rvmat",
			"rki_T55\T55_tlt2_damage.rvmat",
			"rki_T55\T55_tlt2_destruct.rvmat",
			"rki_T55\T55_tlt_s.rvmat",
			"rki_T55\T55_tlt_damage.rvmat",
			"rki_T55\T55_tlt_destruct.rvmat",
			"rki_T55\T55_tlt_LOD.rvmat",
			"rki_T55\T55_tlt_LOD_damage.rvmat",
			"rki_T55\T55_tlt_LOD_destruct.rvmat",
			"rki_T55\T55_wheel_s.rvmat",
			"rki_T55\T55_wheel_damage.rvmat",
			"rki_T55\T55_wheel_destruct.rvmat",
			"rki_T55\T55_track_s.rvmat",
			"rki_T55\T55_track_damage.rvmat",
			"rki_T55\T55_track_destruct.rvmat",
			"ca\tracked\data\t72_2.rvmat",
			"ca\tracked\data\t72_2_damage.rvmat",
			"ca\tracked\data\t72_2_destruct.rvmat",
			"ca\weapons\data\dshk.rvmat",
			"ca\weapons\data\dshk.rvmat",
			"ca\weapons\data\dshk_destruct.rvmat"
		};
	};

	class Turrets : Turrets {

		class MainTurret : MainTurret
		 {
			gunnerAction = T72_CommanderOut;
			gunnerInAction = T72_Gunner;
			weapons[]={rki_100mm_D_10T2S,PKT};
			magazines[]={"rki_23R_100mmAP","rki_10R_100mmHE","rki_10R_100mmHEAT","2000Rnd_762x54_PKT"};
			soundServo[]={\rki_T55\sound\T55_turret.wss,db-60,1.0};
			forceHideGunner = 1;
			gunnerOpticsModel = "\ca\weapons\2Dscope_T72gun8";
			gunnerOutOpticsModel = "";
			gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
			minElev=-6; maxElev=+14; initElev=0;
			maxHorizontalRotSpeed = 0.65;
			maxVerticalRotSpeed = 0.12;
			startEngine = false;
			primaryGunner = 1;
			primaryObserver = 0;
			commanding = 0;
			lockWhenDriverOut = 0;

			class HitPoints {
				class HitTurret {
					armor = 1;
					material = -1;
					name = "vez";
					visual = "vez";
					passThrough = 0.8;
				};

				class HitGun {
					armor = 0.3;
					material = -1;
					name = "zbran";
					visual = "zbran";
					passThrough = 0;
				};
			};

			class ViewOptics
			{
				initAngleX=0; minAngleX=-30; maxAngleX=+30;
				initAngleY=0; minAngleY=-100; maxAngleY=+100;
				initFov=0.166; minFov=0.025; maxFov=0.333;
			};
			class ViewGunner {
				initAngleX = 0; minAngleX = -30; maxAngleX = 30;
				initAngleY = 0; minAngleY = -100; maxAngleY = 100;
				initFov = 0.57; minFov = 0.42; maxFov = 0.64;
			};

			class Turrets : Turrets 
			 {


				class CommanderOptics: CommanderOptics
				{
					weapons[] = {rki_fakeweapon,"SmokeLauncher"};
					magazines[] = {"SmokeLauncherMag","SmokeLauncherMag"};
					gunBeg = "gun_muzzle";
					gunEnd = "gun_chamber";
					body = "ObsTurret";
					gun = "ObsGun";
					gunnerAction = T72_GunnerOut;
					gunnerInAction = T72_Commander;
					gunnerOutFireAlsoInInternalCamera = 1;
					gunnerOutOpticsShowCursor = 0;
					gunnerOpticsShowCursor = 0;
					gunnerOpticsModel = "\ca\weapons\2Dscope_RUAA5";
					gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
					gunnerOutOpticsModel = "";
					gunnerForceOptics = true;

					minElev=-25; maxElev=+60; initElev=0;
					minTurn=-360; maxTurn=+360; initTurn=0;

					soundServo[]={\ca\Weapons\Data\Sound\gun_elevate2,db-70,1.0};
					commanding=3;

					animationSourceHatch = "hatchCommander";
					animationSourceBody = "obsTurret";

					viewGunnerInExternal = 0;
					primaryObserver=1;
					primaryGunner = 0;
					class ViewOptics : ViewOptics {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.332821;
						minFov = 0.1024;
						maxFov = 0.666666;
					};

					class ViewGunner : ViewGunner  {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.57;
						minFov = 0.42;
						maxFov = 0.64;
					};

				};

//////////////////////////////////////////////////////////////////////////////////////////////////
			class LoaderTurret : CommanderOptics
			{

					weapons[] = {DSHKM};
					magazines[] = {"50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM"};
					gunnerAction = "T72_CommanderOut";
					gunnerInAction = "T72_Commander";
					gunnerOpticsModel = "\ca\Tracked\optika_T72_commander";
					gunnerOutOpticsModel = "";
					gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
					gunBeg = "loader_muzzle";
					gunEnd = "loader_chamber";
					viewGunnerInExternal = 0;
					proxyType = "CPGunner";
					proxyIndex = 2;
					gunnerName = "loader";
					primaryGunner = 0;
					primaryObserver = 0;
					primary = false;
					hasGunner = true;
					body = "LoaderTurret";
					gun = "LoaderGun";
					animationSourceBody = "Turret_2";
					animationSourceGun = "Gun_2";
					animationSourceHatch = "Hatch_2";
					minElev = -15;
					maxElev = 60;
					initElev = 0;
					minTurn = -360;
					maxTurn = 360;
					initTurn = 0;
					commanding = 1;
					outGunnerMayFire = true;
					inGunnerMayFire = false;
					gunnerFireAlsoInInternalCamera = 0;
					gunnerForceOptics = 1;
					gunnerOutForceOptics = 0;
					gunnerOutOpticsShowCursor = 0;
					memoryPointGunnerOutOptics = "loader_weapon_view";
					memoryPointGunnerOptics = "loaderview";
					memoryPointsGetInGunner = "pos driver";
					memoryPointsGetInGunnerDir = "pos driver dir";
					memoryPointGun = "loaderPointGun";
					selectionFireAnim = "zasleh_1";
					startEngine = false;
					castGunnerShadow = false;
					gunnerGetInAction = "GetInMedium";
					gunnerGetOutAction = "GetOutMedium";

					class ViewOptics : ViewOptics {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.571;
						minFov = 0.42;
						maxFov = 0.64;
					};

					class ViewGunner : ViewGunner {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.57;
						minFov = 0.42;
						maxFov = 0.64;

					};
				};
////////////////////////////////////////////////////////////////////////////////////////////////////////

			};



		};
	};


};

class rki_T55AM_des :rki_T55AM {
displayName = "T-55AM";
model = "\rki_T55\rki_T55AM2.p3d";
vehicleClass = "NAFA2";
hiddenSelections[] = {"camo01", "camo02", "camo03", "camo04", "camo05", "camo06"};
hiddenSelectionsTextures[] = {"\rki_t55\am01_des_co.paa","\rki_t55\body_des_co.paa","\rki_t55\gun_am_des_co.paa","\rki_t55\gun_des_co.paa","\rki_t55\tilt2_des_co.paa","\rki_t55\tilt_des_co.paa"};
};

class rki_T55AM_gre :rki_T55AM {
displayName = "T-55AM";
model = "\rki_T55\rki_T55AM2.p3d";
vehicleClass = "NAFA3";
hiddenSelections[] = {"camo01", "camo02", "camo03", "camo04", "camo05", "camo06"};
hiddenSelectionsTextures[] = {"\rki_t55\T-55_am01_co.paa","\rki_t55\T-55_body_co.paa","\rki_t55\T-55_gun_am_co.paa","\rki_t55\T-55_gun_co.paa","\rki_t55\T-55_tilt2_co.paa","\rki_t55\tilt_des_co.paa"};
};


class rki_T55AMV :T72_Base {

	displayName = "T-55AMV - Victor";
	model = "\rki_T55\rki_T55AM2B.p3d";
	selectionLeftOffset = "pasoffsetl";
	selectionRightOffset = "pasoffsetp";
	IncommingMisslieDetectionSystem = 16;
	LockDetectionSystem = 4;
	scope= 2;
	side = 1;
	faction = "NAF";
	vehicleClass = "NAFA1";
	hiddenSelections[] = {"camo01", "camo02", "camo03", "camo04", "camo05", "camo06"};
	hiddenSelectionsTextures[] = {"\rki_t55\am01_oak_co.paa","\rki_t55\body_oak_co.paa","\rki_t55\gun_am_oak_co.paa","\rki_t55\gun_oak_co.paa","\rki_t55\tilt2_oak_co.paa","\rki_t55\tilt_oak_co.paa"};
	crew = "RKI_crew";
	typicalCargo[] = {"RKI_crew", "RKI_crew", "RKI_crew", "RKI_crew"};
	accuracy = 0.2;
	picture = "\rki_T55\pic_rki_T55_ca.paa";
	Icon = "\rki_T55\icomap_rki_t55_ca.paa";
	mapSize= 9.5;
	armor= 650;
	damageResistance = 0.00454;
	maxSpeed= 57;
	forceHideGunner = 0;
	transportSoldier = 0;
	class TransportMagazines {};
	transportAmmo = 0;
	supplyRadius = 1.7;
	canFloat = 0;
	nightVision=0;
	type = VArmor;
	threat[] = {0.9, 0.8, 0.2};
	cost = 400000;

	class ViewOptics {
		initAngleX = 0;
		minAngleX = -30;
		maxAngleX = 30;
		initAngleY = 0;
		minAngleY = -100;
		maxAngleY = 100;
		initFov = 0.9;
		minFov = 0.9;
		maxFov = 0.9;
	};

	// internal camera viewing limitations
	class ViewPilot {
		initAngleX = 0;
		minAngleX = 0;
		maxAngleX = 20;
		initAngleY = 0;
		minAngleY = -100;
		maxAngleY = 100;
		initFov = 0.57;
		minFov = 0.42;
		maxFov = 0.64;
	};

	class HitHull {
		armor = 0.85;
		material = -1;
		name = "telo";
		visual = "telo";
		passThrough = 0.8;
	};

	class HitLTrack {
		armor = 0.7;
		material = -1;
		name = "pas_L";
		visual = "pas_L";
		passThrough = 0;
	};

	class HitRTrack {
		armor = 0.7;
		material = -1;
		name = "pas_P";
		visual = "pas_P";
		passThrough = 0;
	};

	class HitEngine {
		armor = 0.7;
		material = -1;
		name = "motor";
		visual = "motor";
		passThrough = 0.3;
	};


	class Exhausts {
		class Exhaust1 {
			position = "vyfuk start";
			direction = "vyfuk konec";
			effect = "ExhaustsEffectBig";
		};
	};

class AnimationSources {


		class recoil_source
		{
			source = "reload";
			weapon = "D81";
		};


		class belt_rotation
		{
			source="reload";
			weapon="DSHKM";
		};



	};

	soundEngine[] = {"\rki_T55\sound\rki_T55_engine.wss", db18, 0.8};
	soundEnviron[] = {"\rki_T55\sound\OldRolling_Treads2.wss", db20, 0.9};
	soundGetOut[] = {"\ca\Tracked\Data\Sound\tank_door", db-40, 1};
	soundGetIn[] = {"\ca\Tracked\Data\Sound\tank_door", db-40, 1};
	driverOutOpticsModel = "";
	forceHideDriver = 0;
	driverForceOptics = 1;
	driverAction = "T72_DriverOut";
	driverInAction = "T72_Driver";
	commanding=-1;
	primaryObserver=0;

	class Library
			{
 libTextDesc="The T-54 and T-55 tanks were a series of main battle tanks designed in the Soviet Union. The first T-54 prototype appeared in March 1945, just before the end of the Second World War. The T-54 entered full production in 1947 and became the main tank of the Soviet Red Army's armored units, as well as of the armies of the Warsaw Pact countries, and others. T-54s and T-55s have been involved in many of the world's armed conflicts during the late twentieth century.";
		};

	class Damage {
		tex[] = {};
		mat[] = {
			"rki_T55\T55_body.rvmat",
			"rki_T55\T55_body_s.rvmat",
			"rki_T55\T55_body_damage.rvmat",
			"rki_T55\T55_body_destruct.rvmat",
			"rki_T55\T55_bodyLOD.rvmat",
			"rki_T55\T55_bodyLOD_damage.rvmat",
			"rki_T55\T55_bodyLOD_destruct.rvmat",
			"rki_T55\T55_gun_s.rvmat",
			"rki_T55\T55_gun_damage.rvmat",
			"rki_T55\T55_gun_destruct.rvmat",
			"rki_T55\T55_tlt2_s.rvmat",
			"rki_T55\T55_tlt2_damage.rvmat",
			"rki_T55\T55_tlt2_destruct.rvmat",
			"rki_T55\T55_tlt_s.rvmat",
			"rki_T55\T55_tlt_damage.rvmat",
			"rki_T55\T55_tlt_destruct.rvmat",
			"rki_T55\T55_tlt_LOD.rvmat",
			"rki_T55\T55_tlt_LOD_damage.rvmat",
			"rki_T55\T55_tlt_LOD_destruct.rvmat",
			"rki_T55\T55_wheel_s.rvmat",
			"rki_T55\T55_wheel_damage.rvmat",
			"rki_T55\T55_wheel_destruct.rvmat",
			"rki_T55\T55_track_s.rvmat",
			"rki_T55\T55_track_damage.rvmat",
			"rki_T55\T55_track_destruct.rvmat",
			"ca\tracked\data\t72_2.rvmat",
			"ca\tracked\data\t72_2_damage.rvmat",
			"ca\tracked\data\t72_2_destruct.rvmat",
			"ca\weapons\data\dshk.rvmat",
			"ca\weapons\data\dshk.rvmat",
			"ca\weapons\data\dshk_destruct.rvmat"
		};
	};

	class Turrets : Turrets {

		class MainTurret : MainTurret
		 {
			gunnerAction = T72_CommanderOut;
			gunnerInAction = T72_Gunner;
			weapons[]={D81,PKT};
			magazines[]={"23Rnd_125mmSABOT_T72","22Rnd_125mmHE_T72","2000Rnd_762x54_PKT"};
			soundServo[]={\rki_T55\sound\T55_turret.wss,db-60,1.0};
			forceHideGunner = 1;

			gunnerOpticsModel = "\ca\weapons\2Dscope_T72gun8";
			gunnerOutOpticsModel = "";
			gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
			minElev=-6; maxElev=+14; initElev=0;
			maxHorizontalRotSpeed = 0.65;
			maxVerticalRotSpeed = 0.12;
			startEngine = false;
			primaryGunner = 1;
			primaryObserver = 0;
			commanding = 0;
			lockWhenDriverOut = 0;

			class HitPoints {
				class HitTurret {
					armor = 1;
					material = -1;
					name = "vez";
					visual = "vez";
					passThrough = 0.8;
				};

				class HitGun {
					armor = 0.3;
					material = -1;
					name = "zbran";
					visual = "zbran";
					passThrough = 0;
				};
			};

			class ViewOptics
			{
				initAngleX=0; minAngleX=-30; maxAngleX=+30;
				initAngleY=0; minAngleY=-100; maxAngleY=+100;
				initFov=0.166; minFov=0.025; maxFov=0.333;
				visionMode[] = {"Normal", NVG, "Ti"};
				thermalMode[] = {0, 1};
			};
			class ViewGunner {
				initAngleX = 0; minAngleX = -30; maxAngleX = 30;
				initAngleY = 0; minAngleY = -100; maxAngleY = 100;
				initFov = 0.57; minFov = 0.42; maxFov = 0.64;
			};

			class Turrets : Turrets 
			 {


				class CommanderOptics: CommanderOptics
				{
					weapons[] = {rki_fakeweapon,"SmokeLauncher"};
					magazines[] = {"SmokeLauncherMag","SmokeLauncherMag"};
					gunBeg = "gun_muzzle";
					gunEnd = "gun_chamber";
					body = "ObsTurret";
					gun = "ObsGun";
					gunnerAction = T72_GunnerOut;
					gunnerInAction = T72_Commander;
					gunnerOutFireAlsoInInternalCamera = 1;
					gunnerOutOpticsShowCursor = 0;
					gunnerOpticsShowCursor = 0;
					gunnerOpticsModel = "\ca\weapons\2Dscope_RUAA5";
					gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
					gunnerOutOpticsModel = "";
					gunnerForceOptics = true;
					minElev = -25;
					maxElev = 60;
					initElev = 0;
					minTurn = -360;
					maxTurn = 360;
					initTurn = 0;

					soundServo[]={\ca\Weapons\Data\Sound\gun_elevate2,db-70,1.0};
					commanding=3;

					animationSourceHatch = "hatchCommander";
					animationSourceBody = "obsTurret";

					viewGunnerInExternal = 0;
					primaryObserver=1;
					primaryGunner = 0;

					class ViewOptics : ViewOptics {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.3;
						minFov = 0.015;
						maxFov = 0.3;
						visionMode[] = {"Normal","NVG","Ti"};
						thermalMode[] = {0,1};
					};


					class ViewGunner : ViewGunner  {
						initAngleX = 5;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.7;
						minFov = 0.25;
						maxFov = 1.1;
						};

				};

//////////////////////////////////////////////////////////////////////////////////////////////////
			class LoaderTurret : CommanderOptics
			{

					weapons[] = {DSHKM};
					magazines[] = {"50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM", "50Rnd_127x107_DSHKM"};
					gunnerAction = "T72_CommanderOut";
					gunnerInAction = "T72_Commander";
					gunnerOpticsModel = "\ca\Tracked\optika_T72_commander";
					gunnerOutOpticsModel = "";
					gunnerOpticsEffect[] = {"TankGunnerOptics1", "OpticsBlur2", "OpticsCHAbera3"};
					gunBeg = "loader_muzzle";
					gunEnd = "loader_chamber";
					viewGunnerInExternal = 0;
					proxyType = "CPGunner";
					proxyIndex = 2;
					gunnerName = "loader";
					primaryGunner = 0;
					primaryObserver = 0;
					primary = false;
					hasGunner = true;
					body = "LoaderTurret";
					gun = "LoaderGun";
					animationSourceBody = "Turret_2";
					animationSourceGun = "Gun_2";
					animationSourceHatch = "Hatch_2";
					minElev = -15;
					maxElev = 60;
					initElev = 0;
					minTurn = -360;
					maxTurn = 360;
					initTurn = 0;
					commanding = 1;
					outGunnerMayFire = 1;
					inGunnerMayFire = 0;
					gunnerFireAlsoInInternalCamera = 1;
					gunnerForceOptics = 1;
					gunnerOutForceOptics = 0;
					gunnerOutOpticsShowCursor = 0;
					memoryPointGunnerOutOptics = "loader_weapon_view";
					memoryPointGunnerOptics = "loaderview";
					memoryPointsGetInGunner = "pos driver";
					memoryPointsGetInGunnerDir = "pos driver dir";
					memoryPointGun = "loaderPointGun";
					selectionFireAnim = "zasleh_1";
					startEngine = false;
					castGunnerShadow = false;
					gunnerGetInAction = "GetInMedium";
					gunnerGetOutAction = "GetOutMedium";

					class ViewOptics : ViewOptics {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.571;
						minFov = 0.42;
						maxFov = 0.64;
					};

					class ViewGunner : ViewGunner {
						initAngleX = 0;
						minAngleX = -30;
						maxAngleX = 30;
						initAngleY = 0;
						minAngleY = -100;
						maxAngleY = 100;
						initFov = 0.57;
						minFov = 0.42;
						maxFov = 0.64;

					};
				};
////////////////////////////////////////////////////////////////////////////////////////////////////////

			};

		};
	};
};

class rki_T55AMV_des :rki_T55AMV {
displayName = "T-55AMV - Victor";
model = "\rki_T55\rki_T55AM2B.p3d";
vehicleClass = "NAFA2";
hiddenSelections[] = {"camo01", "camo02", "camo03", "camo04", "camo05", "camo06"};
hiddenSelectionsTextures[] = {"\rki_t55\am01_des_co.paa","\rki_t55\body_des_co.paa","\rki_t55\gun_am_des_co.paa","\rki_t55\gun_des_co.paa","\rki_t55\tilt2_des_co.paa","\rki_t55\tilt_des_co.paa"};
};


class rki_T55AMV_gre :rki_T55AMV {
displayName = "T-55AMV - Victor";
model = "\rki_T55\rki_T55AM2B.p3d";
vehicleClass = "NAFA3";
hiddenSelections[] = {"camo01", "camo02", "camo03", "camo04", "camo05", "camo06"};
hiddenSelectionsTextures[] = {"\rki_t55\T-55_am01_co.paa","\rki_t55\T-55_body_co.paa","\rki_t55\T-55_gun_am_co.paa","\rki_t55\T-55_gun_co.paa","\rki_t55\T-55_tilt2_co.paa","\rki_t55\tilt_des_co.paa"};
};
};
};

Edited by Max Power

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×