Adding FHQ to an existing mission

In your mission.sqm, underneath class AddonsMetaData you'll see class ScenarioData. Beneath that, you might or might not see a couple things, depending on when the last time you saved it was.

On an older Eden mission.sqm, you won't have a class CustomAttributes. If that's the case, jump ahead and copy the full snippet below and paste it in there.

On a more recent mission.sqm, you might see

class CustomAttributes
{
};

If so, you're good to copy the full snippet below, replacing that line.


class CustomAttributes
{
	class Category0
	{
		name="FHQ_TaskTrackerBriefing";
		class Attribute0
		{
			property="FHQ_BriefingAttribute";
			expression="if (!is3DEN) then {[_value] call FHQ_fnc_ttiMissionBriefing;}";
			class Value
			{
				class data
				{
					class type
					{
						type[]=
						{
							"ARRAY"
						};
					};
					class value
					{
						items=2;
						class Item0
						{
							class data
							{
								class type
								{
									type[]=
									{
										"ARRAY"
									};
								};
								class value
								{
									items=2;
									class Item0
									{
										class data
										{
											class type
											{
												type[]=
												{
													"STRING"
												};
											};
											value="briefing_template";
										};
									};
									class Item1
									{
										class data
										{
											class type
											{
												type[]=
												{
													"ARRAY"
												};
											};
											class value
											{
												items=5;
												class Item0
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="SITUATION";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Enemy<br/> Enemy numbers, types and what they are doing<br/><br/>B. Friendly<br/> Friendly units and what they are doing<br/><br/>C. Attachments/Detachments<br/> What weapon system wep det has. Type and number of attached LAVs. Bravo squad detached, performing secondary objective. ect";
																};
															};
														};
													};
												};
												class Item1
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="MISSION";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="One sentance description of the overall task. <br/><br/>Should include:<br/>- who(Unit callsign),what(objective, eg. town name),<br/>- when(the date and time)<br/>- where(what island, where on it)<br/>- why(how this task fits with higher level plan)<br/>- how(what type of mission, eg. platoon attack, raid, ect).";
																};
															};
														};
													};
												};
												class Item2
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="EXECUTION";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Intent<br/> Quick description of the units overall task.<br/><br/>B. Concept<br/> Quick description of how the untis task fits in with higher level operations. Make soldiers feel part of a bigger plan<br/><br/>C. Tasks<br/> Task list. Pretty much copy of in-game task list.<br/><br/>D. Coordination<br/> Limit of advances, timings for tasks if necessary, basically any misc info that could have to do with another unit";
																};
															};
														};
													};
												};
												class Item3
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="SERVICE SUPPORT";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Support<br/> Notes on loadout, resupply points.<br/><br/>B. Medical Evac<br/> Respawn point";
																};
															};
														};
													};
												};
												class Item4
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="COMMAND AND SIGNAL";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Signal<br/> Each callsign, 343/148/117 channels <br/><br/> In theory A would be the chain of command but we don't really need that at this time.";
																};
															};
														};
													};
												};
											};
										};
									};
								};
							};
						};
						class Item1
						{
							class data
							{
								class type
								{
									type[]=
									{
										"ARRAY"
									};
								};
								class value
								{
									items=2;
									class Item0
									{
										class data
										{
											class type
											{
												type[]=
												{
													"STRING"
												};
											};
											value="briefing_common";
										};
									};
									class Item1
									{
										class data
										{
											class type
											{
												type[]=
												{
													"ARRAY"
												};
											};
											class value
											{
												items=5;
												class Item0
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="SITUATION";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Enemy<br/> Russian infantry Company dug in North of Eschede<br/><br/>B. Friendly<br/> 1-2 and 2-2 dug in on each flank of platoon trenchline <br/> 1 x M1A2 TUSK - SABER-1 dug in on Western flank of platoon trenchline<br/> Civilians located in Eschede<br/> <br/>C. Attachments/Detachments<br/> 1 x M224 80mm motar - 1-1-D<br/> 1 x M240 MMG team - 1-1-E";
																};
															};
														};
													};
												};
												class Item1
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="MISSION";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A Company 1st Platoon performs Platoon defensive taskings as part of Brigade's defense of North Eastern Celle on 9 FEB 2011 at 0700hrs";
																};
															};
														};
													};
												};
												class Item2
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="EXECUTION";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Intent<br/> <br/> 1st Platoon must not allow any attacking forces North of defensive line and must inflict damage upon Russian supply and defensive lines when possible<br/> <br/><br/> <br/>B. Concept<br/> <br/> Brigade is tasked with holding Fassberg and surrounding areas in preperation for offensive operations in Northern Celle<br/> <br/>C. Tasks<br/> Full Company stand-to at dawn<br/> Repel any attacks on Company defensive lines<br/> Counter-attack provided Platoon combat effectiveness<br/> <br/>D. Coordination<br/> Dawn stand-to at 0600hrs<br/> Dawn stand-down at 0830hrs<br/> Limits of Advance located South of friendly Platoon defensive lines";
																};
															};
														};
													};
												};
												class Item3
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="SERVICE SUPPORT";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Support<br/> Platoon resupply crates located at HQ trench<br/> <br/>B. Medical Evac<br/> Platoon defensive CCP located at HQ trench(respawn point moves forward to predefined checkpoints)";
																};
															};
														};
													};
												};
												class Item4
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="COMMAND AND SIGNAL";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="A. Signal<br/> AN/PRC-148:<br/>  1 - Platoon<br/> <br/> AN/PRC-343:<br/>  1 - Tetley<br/>  2 - Twinings<br/>  3 - Typhoo<br/>  4 - Earl Grey<br/>  5 - Coffee";
																};
															};
														};
													};
												};
											};
										};
									};
								};
							};
						};
					};
				};
			};
		};
		nAttributes=1;
	};
	class Category1
	{
		name="FHQ_TaskTrackerTasks";
		class Attribute0
		{
			property="FHQ_TasksAttribute";
			expression="if (!is3DEN) then {[_value] call FHQ_fnc_ttiMissionTasks;}";
			class Value
			{
				class data
				{
					class type
					{
						type[]=
						{
							"ARRAY"
						};
					};
					class value
					{
						items=3;
						class Item0
						{
							class data
							{
								class type
								{
									type[]=
									{
										"ARRAY"
									};
								};
								class value
								{
									items=2;
									class Item0
									{
										class data
										{
											class type
											{
												type[]=
												{
													"STRING"
												};
											};
											value="tasks_example";
										};
									};
									class Item1
									{
										class data
										{
											class type
											{
												type[]=
												{
													"ARRAY"
												};
											};
											class value
											{
												items=7;
												class Item0
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="taskBoard1";
													};
												};
												class Item1
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="Board your chopper because you should be in your chopper";
													};
												};
												class Item2
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="Board your chopper";
													};
												};
												class Item3
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="BOARD";
													};
												};
												class Item4
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="westHelo1";
													};
												};
												class Item5
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="assigned";
													};
												};
												class Item6
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="move";
													};
												};
											};
										};
									};
								};
							};
						};
						class Item1
						{
							class data
							{
								class type
								{
									type[]=
									{
										"ARRAY"
									};
								};
								class value
								{
									items=2;
									class Item0
									{
										class data
										{
											class type
											{
												type[]=
												{
													"STRING"
												};
											};
											value="tasks_example";
										};
									};
									class Item1
									{
										class data
										{
											class type
											{
												type[]=
												{
													"ARRAY"
												};
											};
											class value
											{
												items=7;
												class Item0
												{
													class data
													{
														class type
														{
															type[]=
															{
																"ARRAY"
															};
														};
														class value
														{
															items=2;
															class Item0
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="taskCAS";
																};
															};
															class Item1
															{
																class data
																{
																	class type
																	{
																		type[]=
																		{
																			"STRING"
																		};
																	};
																	value="taskBoard1";
																};
															};
														};
													};
												};
												class Item1
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="Fly around";
													};
												};
												class Item2
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="Fly around";
													};
												};
												class Item3
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="CAS";
													};
												};
												class Item4
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item5
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="created";
													};
												};
												class Item6
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="attack";
													};
												};
											};
										};
									};
								};
							};
						};
						class Item2
						{
							class data
							{
								class type
								{
									type[]=
									{
										"ARRAY"
									};
								};
								class value
								{
									items=2;
									class Item0
									{
										class data
										{
											class type
											{
												type[]=
												{
													"STRING"
												};
											};
											value="tasks_example";
										};
									};
									class Item1
									{
										class data
										{
											class type
											{
												type[]=
												{
													"ARRAY"
												};
											};
											class value
											{
												items=7;
												class Item0
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="taskRetreat1";
													};
												};
												class Item1
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="Return to LZ";
													};
												};
												class Item2
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="Return to LZ";
													};
												};
												class Item3
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item4
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item5
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="created";
													};
												};
												class Item6
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="exit";
													};
												};
											};
										};
									};
								};
							};
						};
					};
				};
			};
		};
		nAttributes=1;
	};
	class Category2
	{
		name="Scenario";
		class Attribute0
		{
			property="EnableDebugConsole";
			expression="true";
			class Value
			{
				class data
				{
					class type
					{
						type[]=
						{
							"SCALAR"
						};
					};
					value=0;
				};
			};
		};
		nAttributes=1;
	};
};