Jump to content

Recommended Posts

Hello, I have a question, I want to keep my ORBAT in Config file in standalone addon.
I create Config.cpp file and include next:
 

class CfgORBAT
{
	class TFPaladin
	{
		id = 1;
		idType = 0;
		side = "West";
		size = "Troop";
		type = "HQ";
		insignia = "\ATF_Missions_Data\Storm\Insignia\TFP.paa";
		colorInsignia[] = {1,1,1,1};
		commander = "Kaiser";
		commanderRank = "GENERAL";
		tags[] = {BIS,USArmy,Kerry,Hutchison,Larkin};
		text = "Task Force Paladin";
		textShort = "Task Force Paladin";
		//texture = "C:\Users\Spirit_Ural\Documents\Arma 3 - Other Profiles\[ATF]Ulman\missions\!@[00] Storm of Resolve\[ORBAT]%20Task%20Force%20Paladin.VR\LogoS.paa";
		//color[] = {1,1,1,1};
        description= "Оперативная группа Паладин была сформирована для уничтожения ''Халифата Паладина'', поиска и ликвидации его руководителей.";
		//assets[] = {{B_Heli_Transport_03_F,5},{B_Heli_Light_01_F,3},{B_Heli_Light_01_armed_F,4},B_Heli_Transport_01_camo_F};
		subordinates[] = {"RedSquadron", "160thSOAR", "101stARB"};
	};
	
	class RedSquadron
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Squadron";
			type = "Recon";
			commander = "Ulman";
			commanderRank = "Captain";
			insignia = "\ATF_Missions_Data\Storm\Insignia\RS.paa";
			text = "Red Squadron";
			textShort = "NSWDG";
			description= "Красный эскадрон является основным силовым компонентом ОГ Паладин, именно ему поручается физическое проведение всех операций.";
			subordinates[] = {"APlatoon", "BPlatoon", "CPlatoon"};
			
 		};
		
		class APlatoon
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Platoon";
			type = "Recon";
			commander = "Ulman";
			commanderRank = "Captain";
			text = "Callsign ''Dagger''";
			textShort = "A Platoon";
			description= "Взвод ''А'' состоит из 16 человек разделённых на две группы по 8 человек, позывные ''Dagger-1'' и ''Dagger-2''.";
			
 		};
		
		class BPlatoon
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Platoon";
			type = "Recon";
			commander = "Twente";
			commanderRank = "Lieutenant";
			text = "Callsign ''Razor''";
			textShort = "B Platoon";
			description= "Взвод ''B'' состоит из 16 человек разделённых на две группы по 8 человек, позывные ''Razor-1'' и ''Razor-2''.";
			
 		};
		
		class CPlatoon
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Platoon";
			type = "Recon";
			commander = "Turist";
			commanderRank = "Lieutenant";
			text = "Callsign ''Blade''";
			textShort = "C Platoon";
			description= "Взвод ''C'' состоит из 16 человек разделённых на две группы по 8 человек, позывные ''Blade-1'' и ''Blade-2''.";
			
 		};
		
		class 160thSOAR
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Battalion";
			type = "Helicopter";
			commander = "Degravis";
			commanderRank = "Captain";
			insignia = "\ATF_Missions_Data\Storm\Insignia\SOAR.paa";
			text = "	1st Battalion";
			textShort = "160th SOAR";
			description= "Батальон осуществляет транспортные перевозки красного эскадрона, проводит воздушную разведку, а также оказывает огневую поддержку в случае необходимости и по мере своих возможностей.";
			assets[] = {"B_UAV_02_dynamicLoadout_F","B_UAV_02_dynamicLoadout_F"};
			subordinates[] = {"HeliA", "HeliB", "HeliC", "HeliD", "HeliE", "UAV"};
			
 		};
		
		class HeliA
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Troop";
			type = "Helicopter";
			commander = "Degravis -  1";
			commanderRank = "Lieutenant";
			insignia = "\ATF_Missions_Data\Storm\Vehicles\MH6M.paa";
			text = "Callsign ''Zephyr''";
			textShort = "MH-6M";
			description= "Группа лёгких разведывательных и транспортных вертолётов MH-6M, позывные ''Zephyr-1'' и ''Zephyr-2''.";
			assets[] = {{"B_Heli_Light_01_F",1,0},{"B_Heli_Light_01_F",1,0}};
			
 		};
		
		class HeliB
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Troop";
			type = "Helicopter";
			commander = "Degravis -  2";
			commanderRank = "Lieutenant";
			insignia = "\ATF_Missions_Data\Storm\Vehicles\AH6M.paa";
			text = "Callsign ''Meatball''";
			textShort = "AH-6M";
			description= "Группа лёгких разведывательных и ударных вертолётов AH-6M, позывные ''Meatball-1'' и ''Meatball-2''.";
			assets[] = {{"B_Heli_Light_01_armed_F",1,0}, {"B_Heli_Light_01_armed_F",1,0}};
			
 		};
		
		class HeliC
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Troop";
			type = "Helicopter";
			commander = "Degravis -  3";
			commanderRank = "Lieutenant";
			insignia = "\ATF_Missions_Data\Storm\Vehicles\MH60M.paa";
			text = "Callsign ''Blackstar''";
			textShort = "MH-60M";
			description= "Группа транспортных вертолётов MH-60M, позывные ''Blackstar-1'' и ''Blackstar-2''.";
			assets[] = {{"B_Heli_Transport_01_F",1,0},{"B_Heli_Transport_01_F",1,0}};
			
 		};
		
		class HeliD
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Troop";
			type = "Helicopter";
			commander = "Degravis -  4";
			commanderRank = "Lieutenant";
			insignia = "\ATF_Missions_Data\Storm\Vehicles\MH60M.paa";
			text = "Callsign ''Stake''";
			textShort = "MH-60M DAP";
			description= "Группа ударных вертолётов MH-60M DAP, позывные ''Stake-1'' и ''Stake-2''.";
			assets[] = {{"B_Heli_Transport_01_F",1,0},{"B_Heli_Transport_01_F",1,0}};
			
 		};
		
		class HeliE
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Troop";
			type = "Helicopter";
			commander = "Degravis -  5";
			commanderRank = "Lieutenant";
			insignia = "\ATF_Missions_Data\Storm\Vehicles\MH47E.paa";
			text = "Callsign ''Hot Dog''";
			textShort = "MH-47E";
			description= "Группа тяжелых транспортных вертолётов MH-47F, позывные ''Hot Dog-1'' и ''Hot Dog-2''.";
			assets[] = {{"B_Heli_Transport_03_F",1,0},{"B_Heli_Transport_03_F",1,0}};
			
 		};
		
		class UAV
		{
			id = 1;
			idType = 0;
			side = "West";
			size = "Troop";
			type = "UAV";
			commander = "Degravis -  6";
			commanderRank = "Lieutenant";
			insignia = "\ATF_Missions_Data\Storm\Vehicles\MQ1C.paa";
			text = "Callsign ''Skyhawk''";
			textShort = "MQ-1C";
			description= "Звено многоцелевых беспилотных летательных аппаратов MQ-1C, позывные ''Skyhawk-1'' и ''Skyhawk-2''.";
			assets[] = {{"B_UAV_02_dynamicLoadout_F",1,0},{"B_UAV_02_dynamicLoadout_F",1,0}};
			
 		};
		
	class 101stARB
	{
			id = 1;
			idType = 0;
			side = "West";
			size = "Company";
			type = "Airborne";
			commander = "Nekonis";
			commanderRank = "Captain";
			text = "327th Infantry Regiment, 1st Battalion";
			textShort = "101st Airborne Division";
	};
};

 

But when I try to call it in game via configfile >> "CfgORBAT" >> "TFPaladin" it is don't working.

Share this post


Link to post
Share on other sites

Check in the config viewer if it is actually present

Share this post


Link to post
Share on other sites
On 5/26/2019 at 3:35 AM, Freddo3000 said:

Check in the config viewer if it is actually present


Hi, thank you for answer and sorry for my long reply.
I check in-game config viewer and there is no my classes, under CfgORBAT I can found only BIS class and subclasses from campaign.

Share this post


Link to post
Share on other sites

Yes, above CfgORBAT I have next code:

 

class CfgPatches
{
	class ATF_Missions_Data
	{
		units[]={};
		weapons[]={};
		requiredVersion=1;
		requiredAddons[]={"A3_Characters_F"};
	};
};

 

Share this post


Link to post
Share on other sites
21 hours ago, Freddo3000 said:

Alright, that most likely means that your addon is not loaded, so check if that is the case. Do you have a proper CfgPatches class in your addon?


Hello again, I solve the problem, but now I  have another question, in Config viewer I have next for now:
 

wQDaqqy48n8.jpg

How I can place all my classes in one parent class, looks like BIS?

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

×