Jump to content
x39

[TUT]Creating custom compositions for ZEUS

Recommended Posts

also availale on

Zeus is a pretty DAMN exciting mission mode but suddenly its lacking some important features … One of those features is the ability to add custom compositions so that you dont need to set up really EVERY mission from scratch … Want a simpleToUse solution to add your own compositions? Well ^^ then read carefully: Requirements:

  • binPBO/addonBuilder (ArmA 3 Tools) or any other pbo packaging tool
  • ArmA 3 (Trust me … you need it :F)

got everything you need? well then lets start!

STEP 1


Create your compposition using the editor/zeus or whatever you want to use inside of the mission editor

STEP 2


Place !YOUR PLAYER CHAR! (not the zeus controled for example) in the middle of your composition (will be used as 0 point so that you later will place the base around this place)

STEP 3


C&P this little script into your debug console (press ESC to open the debug console when youre admin/inside of the mission editor)

    _nameOfCompositionFirstGroup = "by X39";    _nameOfCompositionSecondGroup = "FOBs";
   _nameOfComposition = "ION FOB ALPHA";
   _range = 500;

   _filterAmmoboxes = true;


   _classNameOfCompositionFirstGroup = [];
   _classNameOfCompositionSecondGroup = [];
   _classNameOfComposition = [];
   {
       if(_x == 32) then
       {
           _classNameOfCompositionFirstGroup set[count _classNameOfCompositionFirstGroup, 95];
       }
       else
       {
           _classNameOfCompositionFirstGroup set[count _classNameOfCompositionFirstGroup, _x];
       };
       false
   }count toArray _nameOfCompositionFirstGroup;
   _classNameOfCompositionFirstGroup = toString _classNameOfCompositionFirstGroup;
   {
       if(_x == 32) then
       {
           _classNameOfCompositionSecondGroup set[count _classNameOfCompositionSecondGroup, 95];
       }
       else
       {
           _classNameOfCompositionSecondGroup set[count _classNameOfCompositionSecondGroup, _x];
       };
       false
   }count toArray _nameOfCompositionSecondGroup;
   _classNameOfCompositionSecondGroup = toString _classNameOfCompositionSecondGroup;
   {
       if(_x == 32) then
       {
           _classNameOfComposition set[count _classNameOfComposition, 95];
       }
       else
       {
           _classNameOfComposition set[count _classNameOfComposition, _x];
       };
       false
   }count toArray _nameOfComposition;
   _classNameOfComposition = toString _classNameOfComposition;
   _strArr = toArray format["class CfgGroups%7{%7%8class Empty%7%8{%7%8%8side = 8;%7%8%8name = ""Compositions"";%7%8%8class %4%7%8%8{%7%8%8%8name = ""%1"";%7%8%8%8class %5%7%8%8%8{%7%8%8%8%8name = ""%2"";%7%8%8%8%8class %6%7%8%8%8%8{%7%8%8%8%8%8name = ""%3"";%7", _nameOfCompositionFirstGroup, _nameOfCompositionSecondGroup, _nameOfComposition, _classNameOfCompositionFirstGroup, _classNameOfCompositionSecondGroup, _classNameOfComposition, toString [13,10], toString [9]];
   {
       _flag = false;
       _typeX = typeOf _x;
       if(_typeX == "Rabbit_F") then {_flag = true;};
       if(_typeX == "Snake_random_F") then {_flag = true;};
       if(_typeX == "GroundWeaponHolder") then {_flag = true;};
       if(_x == player) then {_flag = true;};
       if(_filterAmmoboxes && {_x isKindOf "ReammoBox_F"}) then {_flag = true};
       if(!_flag) then
       {
           _nulledPosition = [(position _x select 0) - (position player select 0), (position _x select 1) - (position player select 1), (position _x select 2) - (position player select 2)];
           _strArr = _strArr + toArray(format["%8%8%8%8%8class Object%1 {side=8;vehicle=""%2"";rank="""";position[]={%3,%4,%5};dir=%6;};%7", _forEachIndex, _typeX, _nulledPosition select 0, _nulledPosition select 1, _nulledPosition select 2, direction _x, toString [13,10], toString [9]]);
       };
   }forEach  nearestObjects [position player, ["all"], _range];
   _strArr = _strArr + toArray format["%2%2%2%2};%1%2%2%2};%1%2%2};%1%2};%1};", toString [13,10], toString [9]];
   copyToClipBoard toString _strArr;

and execute it local

STEP 4


in your ArmA 3 installation, create a new folder callen “@WhatEverYouWantToCallIt†(the @ is important at the beginning!)

STEP 5


create another new folder inside of the newly created folder callen “Addonsâ€

STEP 6


AND another folder inside the Addons folder (name it whatever you want to name it ^^ but a basic convention is usually: MODDERTAG_MODNAME_PURPOSE)

STEP 7


create a file callen “config.cpp†inside of the folder you created in step 6 and fill it (using CTRL+V for example) with the magical content you got from step 3 inside of your clipboard (if you copied something else during the phase of step 4 and here then … yeah … execute step 3 again and come back to here! :F)

You also need to add a CfgPatch class at the top (use this as template :F)

{
   class YOUR_ADDONFOLDER_NAME
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};


STEP 8


open your binPBO / Addonmaker (from the ArmA 3 tools) and set the addon source directory to the folder you created in step 6 the destination folder needs to be the Addons folder you created in Step 5 then finally click on Pack (or what ever seems to be the button to create some new file out of that folder)

STEP 9


Enable your addon in ArmA 3

STEP 10


Start a ZEUS mission and use your newly created composition (it could be required that the server also has this little addon you just created)

Ohh and by the way call yourself modder from now as you modified the game successfully

kindly regards

X39

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

There's another way thats a bit more simple.

1. Create the composition in Zeus in the editor.

2. select the entire composition

3. In the debug box, run [] call BIS_fnc_exportcfgGroups;

4. that will copy over the data you need to the clipboard

5. make a config.cpp, inside it make the cfgPatches section as stated above, then inside the config.cpp under cfgPatches, create a cfgGroups class

6.

it should look something similar to this:

class cfgGroups
{
       side = 8;
       name = "Custom Compositions";
       Composition1 
       {
                name = "Composition 1";
                //code from clipboard here
        };
};

You might need to do some swapping of object 0 as its the anchor at which zeus moves the composition around.

8. Then you make it into a pbo using whatever tool you like (Eliteness is what I use).

After this that is it, it will function in game as it is, but if you want you can take it further to use binPBO to compile it, and you can use DDSignFile from BI's tools to create a .bikey for it.

Also the server will NOT need the addon (unless it uses bikeys, then it would) because placeable objects are loaded in from the client, not the server.

EDIT: I see now that the first method basically does everything for you, no config work needed.

Edited by austin_medic

Share this post


Link to post
Share on other sites

Wow, thanks! I've been wondering how to do it ever since austin_medic posted his custom compositions. Thanks both of you!

Share this post


Link to post
Share on other sites

Threadbump, i know. But i'm getting an error when loading the packed addon that says

File Takelmeifter_TrawlerBuoy\config.cpp, line 1: '.': '{' encountered instead of '='

Here is my code for the composition (literally just the trawler and buoy that doesn't appear normally in the zeus menu)

{
   class MY_CUSTOM_ZEUS_COMPOSITIONS
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};

class CfgGroups
{
class Empty
{
	side = 8;
	name = "Compositions";
	class by_Takelmeifter
	{
		name = "by Takelmeifter";
		class Special_Objects
		{
			name = "Sea";
			class TRAWLER_AND_BUOY
			{
				name = "TRAWLER_AND_BUOY";
				class Object1 {side=8;vehicle="C_Boat_Civil_04_F";rank="";position[]={-13.5313,-2.50977,6.57163};dir=355.473;};
				class Object2 {side=8;vehicle="Land_BuoyBig_F";rank="";position[]={-4.12891,22.998,0.752317};dir=0.0251861;};

			};
		};
	};
};
};

I'm a nub with this stuff so help would be awesome, thanks.

Edited by Takelmeifter

Share this post


Link to post
Share on other sites

You forgot tu add the cfgPatches at the start:

CfgPatches  // YOU FORGOT THIS ONE
{
   class MY_CUSTOM_ZEUS_COMPOSITIONS
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};

class CfgGroups
{
class Empty
{
	side = 8;
	name = "Compositions";
	class by_Takelmeifter
	{
		name = "by Takelmeifter";
		class Special_Objects
		{
			name = "Sea";
			class TRAWLER_AND_BUOY
			{
				name = "TRAWLER_AND_BUOY";
				class Object1 {side=8;vehicle="C_Boat_Civil_04_F";rank="";position[]={-13.5313,-2.50977,6.57163};dir=355.473;};
				class Object2 {side=8;vehicle="Land_BuoyBig_F";rank="";position[]={-4.12891,22.998,0.752317};dir=0.0251861;};

			};
		};
	};
};
};

Share this post


Link to post
Share on other sites

i feel so stupid right now, thanks for your help good sir

---------- Post added at 21:52 ---------- Previous post was at 21:15 ----------

ok, second issue, the cfg patches line is in now, except i'm still getting messages saying that it's expecting an = instead of an {

so now it says

File Takelmeifter_TrawlerBuoy\config.cpp, line 2: '.CfgPatches': '{' encountered instead of '='

So i go into line 2, and change the { to an equal

then i get the same message except for line 4, so i change that aswell

now i'm getting this:

Config : some input after EndOfFile
Edited by Takelmeifter

Share this post


Link to post
Share on other sites
i feel so stupid right now, thanks for your help good sir

---------- Post added at 21:52 ---------- Previous post was at 21:15 ----------

ok, second issue, the cfg patches line is in now, except i'm still getting messages saying that it's expecting an = instead of an {

so now it says

So i go into line 2, and change the { to an equal

then i get the same message except for line 4, so i change that aswell

now i'm getting this:

[color=#ff0000]class CfgPatches[/color]{
   class MY_CUSTOM_ZEUS_COMPOSITIONS
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};


class CfgGroups
{
   class Empty
   {
       side = 8;
       name = "Compositions";
       class by_Takelmeifter
       {
           name = "by Takelmeifter";
           class Special_Objects
           {
               name = "Sea";
               class TRAWLER_AND_BUOY
               {
                   name = "TRAWLER_AND_BUOY";
                   class Object1 {side=8;vehicle="C_Boat_Civil_04_F";rank="";position[]={-13.5313,-2.50977,6.57163};dir=355.473;};
                   class Object2 {side=8;vehicle="Land_BuoyBig_F";rank="";position[]={-4.12891,22.998,0.752317};dir=0.0251861;};

               };
           };
       };
   };
};

Share this post


Link to post
Share on other sites

I need some help with this. I've been following this and practicing on creating new compositions but I'm having an issue.

I've been trying to create a new subdirectory and I'm failing to do so.

Basically, I want it to look something like this:

Directory Name (7CMBG)

Subdirectory (Training)

  • Firing Range 400m
  • Firing Range 800m

Subdirectory (Military)

  • Three Man Mortar Pit
  • MG Nest

However, the issue I am having is that I cannot get the second subdirectory to appear on the list.

I'm pretty new at the syntaxing of it but it seemed pretty straightforward, but this is my primary issue.

class CfgPatches
{
   class 7CMBG_Base_Templates
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};

class CfgGroups
{
class empty
{
	side = 8;
	name = "Compositions";
	class 7CMBG
	{
		name = "7CMBG";
		class Training
		{
			name = "Training";

				//Three lane firing line with range markers out to four hundred meters.
				class FiringRange400Meters
				{
					name = "Firing Range 400 Meters";
					class Object1 {side=8;vehicle="ShootingPos_F";rank="";position[]={-0.0656738,9.021,-0.00113344};dir=0;};
					class Object2 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={4.36768,8.76709,-0.00243855};dir=91.9039;};
					class Object3 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-5.07813,8.80078,-0.00243855};dir=90.8607;};
					class Object4 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={2.10181,10.0957,-0.00243855};dir=0;};
					class Object5 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-2.61279,10.1323,-0.00143862};dir=0;};
					class Object6 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={4.50415,10.0488,-0.00243855};dir=0;};
					class Object7 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-5.0647,10.0884,-0.00243855};dir=0;};
					class Object8 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={6.91919,9.99951,-0.00243855};dir=0;};
					class Object9 {side=8;vehicle="ShootingPos_F";rank="";position[]={9.23389,9.06348,-0.00113344};dir=0;};
					class Object10 {side=8;vehicle="Land_Cargo_Patrol_V1_F";rank="";position[]={-0.192383,-11.2969,-0.00143862};dir=181.402;};
					class Object11 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-7.53687,10.0669,-0.00243855};dir=0;};
					class Object12 {side=8;vehicle="ShootingPos_F";rank="";position[]={-9.64551,9.21484,-0.00143862};dir=0;};
					class Object13 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={12.3577,8.76807,-0.00143862};dir=91.9039;};
					class Object14 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={11.4204,10.0186,-0.00243855};dir=0;};
					class Object15 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-12.9409,8.68213,-0.00143862};dir=91.9039;};
					class Object16 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-12.074,10.001,-0.00243855};dir=0;};
					class Object17 {side=8;vehicle="Pole_F";rank="";position[]={-5.83008,109.983,-0.000479221};dir=359.937;};
					class Object18 {side=8;vehicle="Pole_F";rank="";position[]={3.86475,110.099,-0.000471115};dir=359.943;};
					class Object19 {side=8;vehicle="Pole_F";rank="";position[]={12.1545,109.991,-0.000441551};dir=0.0235599;};
					class Object20 {side=8;vehicle="Pole_F";rank="";position[]={-12.9885,109.942,-0.000477314};dir=0.0357415;};
					class Object21 {side=8;vehicle="Pole_F";rank="";position[]={4.0354,210.056,-0.000448704};dir=359.999;};
					class Object22 {side=8;vehicle="Pole_F";rank="";position[]={-5.74487,210.127,-0.000479221};dir=359.925;};
					class Object23 {side=8;vehicle="Pole_F";rank="";position[]={12.1057,210.046,-0.000489712};dir=359.911;};
					class Object24 {side=8;vehicle="Pole_F";rank="";position[]={-12.907,210.087,-0.000469208};dir=0.091933;};
					class Object25 {side=8;vehicle="Pole_F";rank="";position[]={-5.75635,310.171,-0.000479221};dir=359.925;};
					class Object26 {side=8;vehicle="Pole_F";rank="";position[]={3.60474,310.212,-0.000439167};dir=0.02503;};
					class Object27 {side=8;vehicle="Pole_F";rank="";position[]={-13.124,310.193,-0.000466347};dir=359.984;};
					class Object28 {side=8;vehicle="Pole_F";rank="";position[]={12.3784,310.24,-0.000472546};dir=359.988;};
					class Object29 {side=8;vehicle="Pole_F";rank="";position[]={-5.76733,412.048,-0.000479221};dir=359.925;};
					class Object30 {side=8;vehicle="Pole_F";rank="";position[]={3.48657,412.1,-0.000466347};dir=359.984;};
					class Object31 {side=8;vehicle="Pole_F";rank="";position[]={-13.0317,412.008,-0.000466347};dir=359.984;};
					class Object32 {side=8;vehicle="Pole_F";rank="";position[]={12.2756,412.116,-0.000524044};dir=0.00119476;};
				};
				//Three lane firing line with range markers out to eight hundred meters.
				class FiringRange800Meters
				{
					name = "Firing Range 800 Meters";
					class Object1 {side=8;vehicle="Pole_F";rank="";position[]={-4.55884,-3.10449,-0.000445366};dir=358.928;};
					class Object2 {side=8;vehicle="Pole_F";rank="";position[]={4.80225,-3.06299,-0.000445366};dir=0.0204538;};
					class Object3 {side=8;vehicle="Pole_F";rank="";position[]={-11.9265,-3.08252,-0.000444889};dir=358.935;};
					class Object4 {side=8;vehicle="Pole_F";rank="";position[]={13.5759,-3.03564,-0.000441074};dir=358.921;};
					class Object5 {side=8;vehicle="Pole_F";rank="";position[]={-4.56982,98.7725,-0.000478268};dir=358.863;};
					class Object6 {side=8;vehicle="Pole_F";rank="";position[]={4.68433,98.8247,-0.000478745};dir=358.881;};
					class Object7 {side=8;vehicle="Pole_F";rank="";position[]={-11.8342,98.7324,-0.000478268};dir=358.864;};
					class Object8 {side=8;vehicle="Pole_F";rank="";position[]={13.6274,98.8877,-0.000489712};dir=359.903;};
					class Object9 {side=8;vehicle="Pole_F";rank="";position[]={-4.54736,-103.148,-0.000444889};dir=358.928;};
					class Object10 {side=8;vehicle="Pole_F";rank="";position[]={5.23291,-103.219,-0.000444889};dir=358.942;};
					class Object11 {side=8;vehicle="Pole_F";rank="";position[]={-11.7095,-103.188,-0.000445366};dir=0.0204515;};
					class Object12 {side=8;vehicle="Pole_F";rank="";position[]={13.3032,-103.229,-0.000444889};dir=358.928;};
					class Object13 {side=8;vehicle="Pole_F";rank="";position[]={4.68921,199.891,-0.000481129};dir=358.727;};
					class Object14 {side=8;vehicle="Pole_F";rank="";position[]={-4.09033,199.948,-0.000478268};dir=358.715;};
					class Object15 {side=8;vehicle="Pole_F";rank="";position[]={-11.9102,200.048,-0.000472546};dir=358.652;};
					class Object16 {side=8;vehicle="Pole_F";rank="";position[]={14.0073,200.002,-0.000529766};dir=358.714;};
					class Object17 {side=8;vehicle="Pole_F";rank="";position[]={5.06226,-203.176,-0.000441074};dir=358.921;};
					class Object18 {side=8;vehicle="Pole_F";rank="";position[]={-4.63257,-203.292,-0.000441074};dir=358.921;};
					class Object19 {side=8;vehicle="Pole_F";rank="";position[]={-11.7908,-203.333,-0.000435829};dir=0.0655062;};
					class Object20 {side=8;vehicle="Pole_F";rank="";position[]={13.3521,-203.284,-0.000445366};dir=0.0204536;};
					class Object21 {side=8;vehicle="Pole_F";rank="";position[]={4.71045,298.006,-0.000485897};dir=358.738;};
					class Object22 {side=8;vehicle="Pole_F";rank="";position[]={-4.0376,298.028,-0.000481129};dir=358.727;};
					class Object23 {side=8;vehicle="Pole_F";rank="";position[]={-11.9106,297.954,-0.000481606};dir=358.776;};
					class Object24 {side=8;vehicle="Pole_F";rank="";position[]={13.9299,298.037,-0.000444412};dir=358.745;};
					class Object25 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-1.41431,-303.141,-0.00287724};dir=0;};
					class Object26 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={3.30029,-303.178,-0.00387716};dir=0;};
					class Object27 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-3.86621,-303.185,-0.00387716};dir=0;};
					class Object28 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-6.33838,-303.207,-0.00387716};dir=0;};
					class Object29 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={5.70264,-303.225,-0.00387716};dir=0;};
					class Object30 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={8.11768,-303.274,-0.00387716};dir=0;};
					class Object31 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-10.8755,-303.272,-0.00387716};dir=0;};
					class Object32 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={12.6189,-303.255,-0.00387716};dir=0;};
					class Object33 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-3.87964,-304.473,-0.00387716};dir=90;};
					class Object34 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={5.56616,-304.506,-0.00387716};dir=91;};
					class Object35 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={13.5562,-304.505,-0.00287724};dir=91;};
					class Object36 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-11.7424,-304.591,-0.00287724};dir=91;};
					class Object37 {side=8;vehicle="ShootingPos_F";rank="";position[]={-8.44702,-304.059,-0.00287724};dir=0;};
					class Object38 {side=8;vehicle="ShootingPos_F";rank="";position[]={1.13281,-304.252,-0.00257206};dir=0;};
					class Object39 {side=8;vehicle="ShootingPos_F";rank="";position[]={10.4324,-304.21,-0.00257206};dir=0;};
					class Object40 {side=8;vehicle="Land_Cargo_Patrol_V1_F";rank="";position[]={1.0061,-324.57,-0.00287771};dir=181;};
					class Object41 {side=8;vehicle="Pole_F";rank="";position[]={-4.19507,395.897,-0.000473499};dir=358.702;};
					class Object42 {side=8;vehicle="Pole_F";rank="";position[]={-12.0332,395.827,-0.000473499};dir=358.828;};
					class Object43 {side=8;vehicle="Pole_F";rank="";position[]={4.53931,396.09,-0.000498295};dir=358.746;};
					class Object44 {side=8;vehicle="Pole_F";rank="";position[]={13.8931,395.938,-0.000497818};dir=358.748;};
					class Object45 {side=8;vehicle="Pole_F";rank="";position[]={-3.97461,493.747,-0.000486374};dir=358.736;};
					class Object46 {side=8;vehicle="Pole_F";rank="";position[]={4.67236,493.874,-0.000473022};dir=358.737;};
					class Object47 {side=8;vehicle="Pole_F";rank="";position[]={13.9407,493.796,-0.000497341};dir=358.748;};
					class Object48 {side=8;vehicle="Pole_F";rank="";position[]={-12.1865,493.899,-0.000476837};dir=358.865;};
				};
				//A single 7.5m by 7.5m room comprised of shoothouse walls.
				class CQBRoom7PointFive
				{
					name = "Room 7.5m x 7.5m";
					class Object1 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-1.90015,-4.0332,-0.00143909};dir=0;};
					class Object2 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={2.1355,-4.00977,-0.00143909};dir=0;};
					class Object3 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.82935,-0.973633,-0.00143909};dir=90.1504;};
					class Object4 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.85645,0.976074,-0.00143909};dir=90.1504;};
					class Object5 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.00562,0.800781,-0.00143909};dir=270.93;};
					class Object6 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.96606,-1.17578,-0.00143909};dir=270.93;};
					class Object7 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-3.88403,-4.02393,-0.00143909};dir=0.112994;};
					class Object8 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.84253,2.91064,-0.00143909};dir=90.1504;};
					class Object9 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.80957,-2.97168,-0.00143909};dir=90.1504;};
					class Object10 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.03638,2.7832,-0.00143909};dir=270.93;};
					class Object11 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.15845,-3.98291,-0.00143909};dir=0;};
					class Object12 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={0.120361,5.78906,-0.00143909};dir=179.778;};
					class Object13 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.9436,-3.17969,-0.00143909};dir=270.93;};
					class Object14 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-1.8313,5.7876,-0.00143909};dir=179.778;};
					class Object15 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={2.13916,5.80566,-0.00143909};dir=179.778;};
					class Object16 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.82788,4.83887,-0.00143909};dir=90.1504;};
					class Object17 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.05493,4.77344,-0.00143909};dir=270.93;};
					class Object18 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-3.8125,5.81738,-0.00143909};dir=179.778;};
					class Object19 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.16431,5.85449,-0.00143909};dir=179.778;};
				};
			};
		class 7CMBGMilitary
		{
			name = "Military";
			//Three man mortar pit, equipped with M252 81mm Mortars as well as three M2 Browning Machine Guns for perimeter defense.
			class MortarPitThreeMan
			{
				name = "Three Man Mortar Pit";
				class Object1 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-4.76514,1,-0.00143909};dir=221.371;};
				class Object2 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={4.69189,2.89502,-0.00143909};dir=130.07;};
				class Object3 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={-0.595215,5.60645,-0.0790772};dir=347.154;};
				class Object4 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={-5.93945,-0.681641,-0.0790715};dir=342.112;};
				class Object5 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={6.15112,1.61768,-0.0790811};dir=342.138;};
				class Object6 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={0.491943,6.91064,-0.00143909};dir=229.347;};
				class Object7 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-1.74585,6.91064,-0.00143909};dir=125.097;};
				class Object8 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-7.21948,0.751465,-0.00143909};dir=128.526;};
				class Object9 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={7.15601,3.08887,-0.00143909};dir=219.993;};
				class Object10 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={2.28711,-7.58887,0.298561};dir=261.68;};
				class Object11 {side=8;vehicle="Logic";rank="";position[]={5.89575,-5.51709,0};dir=0;};
				class Object12 {side=8;vehicle="Logic";rank="";position[]={5.89575,-5.51709,0};dir=0;};
				class Object13 {side=8;vehicle="Land_PaperBox_open_empty_F";rank="";position[]={-0.406006,-8.45117,0.298561};dir=261.68;};
				class Object14 {side=8;vehicle="CamoNet_BLUFOR_open_F";rank="";position[]={2.47681,-9.08301,0.298561};dir=339.412;};
				class Object15 {side=8;vehicle="Land_PaperBox_open_empty_F";rank="";position[]={4.79883,-7.62061,0.298561};dir=261.68;};
				class Object16 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={2.5083,-10.6543,0.298561};dir=261.68;};
				class Object17 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={0.0705566,-11.0791,0.298561};dir=261.68;};
				class Object18 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={5.02368,-10.0869,0.298561};dir=261.68;};
				class Object19 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={7.16089,-9.38916,0.298561};dir=261.68;};
				class Object20 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={-2.46777,-11.5723,0.298561};dir=261.68;};
				class Object21 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-14.9746,8.23877,0.298561};dir=297.581;};
				class Object22 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={11.2681,15.4824,0.298561};dir=59.7792;};
				class Object23 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-10.5808,15.6392,0.298561};dir=315.493;};
				class Object24 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={4.48291,20.3623,0.298561};dir=30.0973;};
				class Object25 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-3.83643,20.377,0.298561};dir=352.578;};
				class Object26 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={20.8223,15.5225,-0.066895};dir=52.6791;};
				class Object27 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={21.3455,16.6353,-0.00143909};dir=62.0265;};
				class Object28 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={-25.3015,11.584,-0.0668912};dir=308.664;};
				class Object29 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-26.7998,11.9819,-0.00143909};dir=309.749;};
				class Object30 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={-1.25195,29.7256,-0.0668931};dir=345.745;};
				class Object31 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-2.24902,31.1367,-0.00143909};dir=349.114;};
			};
		};
	};
};
};

Edited by J_ONeill

Share this post


Link to post
Share on other sites
I need some help with this. I've been following this and practicing on creating new compositions but I'm having an issue.

I've been trying to create a new subdirectory and I'm failing to do so.

Basically, I want it to look something like this:

Directory Name (7CMBG)

Subdirectory (Training)

  • Firing Range 400m
  • Firing Range 800m

Subdirectory (Military)

  • Three Man Mortar Pit
  • MG Nest

However, the issue I am having is that I cannot get the second subdirectory to appear on the list.

I'm pretty new at the syntaxing of it but it seemed pretty straightforward, but this is my primary issue.

class CfgPatches
{
   class 7CMBG_Base_Templates
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};

class CfgGroups
{
class empty
{
	side = 8;
	name = "Compositions";
	class 7CMBG
	{
		name = "7CMBG";
		class Training
		{
			name = "Training";

				//Three lane firing line with range markers out to four hundred meters.
				class FiringRange400Meters
				{
					name = "Firing Range 400 Meters";
					class Object1 {side=8;vehicle="ShootingPos_F";rank="";position[]={-0.0656738,9.021,-0.00113344};dir=0;};
					class Object2 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={4.36768,8.76709,-0.00243855};dir=91.9039;};
					class Object3 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-5.07813,8.80078,-0.00243855};dir=90.8607;};
					class Object4 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={2.10181,10.0957,-0.00243855};dir=0;};
					class Object5 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-2.61279,10.1323,-0.00143862};dir=0;};
					class Object6 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={4.50415,10.0488,-0.00243855};dir=0;};
					class Object7 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-5.0647,10.0884,-0.00243855};dir=0;};
					class Object8 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={6.91919,9.99951,-0.00243855};dir=0;};
					class Object9 {side=8;vehicle="ShootingPos_F";rank="";position[]={9.23389,9.06348,-0.00113344};dir=0;};
					class Object10 {side=8;vehicle="Land_Cargo_Patrol_V1_F";rank="";position[]={-0.192383,-11.2969,-0.00143862};dir=181.402;};
					class Object11 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-7.53687,10.0669,-0.00243855};dir=0;};
					class Object12 {side=8;vehicle="ShootingPos_F";rank="";position[]={-9.64551,9.21484,-0.00143862};dir=0;};
					class Object13 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={12.3577,8.76807,-0.00143862};dir=91.9039;};
					class Object14 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={11.4204,10.0186,-0.00243855};dir=0;};
					class Object15 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-12.9409,8.68213,-0.00143862};dir=91.9039;};
					class Object16 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-12.074,10.001,-0.00243855};dir=0;};
					class Object17 {side=8;vehicle="Pole_F";rank="";position[]={-5.83008,109.983,-0.000479221};dir=359.937;};
					class Object18 {side=8;vehicle="Pole_F";rank="";position[]={3.86475,110.099,-0.000471115};dir=359.943;};
					class Object19 {side=8;vehicle="Pole_F";rank="";position[]={12.1545,109.991,-0.000441551};dir=0.0235599;};
					class Object20 {side=8;vehicle="Pole_F";rank="";position[]={-12.9885,109.942,-0.000477314};dir=0.0357415;};
					class Object21 {side=8;vehicle="Pole_F";rank="";position[]={4.0354,210.056,-0.000448704};dir=359.999;};
					class Object22 {side=8;vehicle="Pole_F";rank="";position[]={-5.74487,210.127,-0.000479221};dir=359.925;};
					class Object23 {side=8;vehicle="Pole_F";rank="";position[]={12.1057,210.046,-0.000489712};dir=359.911;};
					class Object24 {side=8;vehicle="Pole_F";rank="";position[]={-12.907,210.087,-0.000469208};dir=0.091933;};
					class Object25 {side=8;vehicle="Pole_F";rank="";position[]={-5.75635,310.171,-0.000479221};dir=359.925;};
					class Object26 {side=8;vehicle="Pole_F";rank="";position[]={3.60474,310.212,-0.000439167};dir=0.02503;};
					class Object27 {side=8;vehicle="Pole_F";rank="";position[]={-13.124,310.193,-0.000466347};dir=359.984;};
					class Object28 {side=8;vehicle="Pole_F";rank="";position[]={12.3784,310.24,-0.000472546};dir=359.988;};
					class Object29 {side=8;vehicle="Pole_F";rank="";position[]={-5.76733,412.048,-0.000479221};dir=359.925;};
					class Object30 {side=8;vehicle="Pole_F";rank="";position[]={3.48657,412.1,-0.000466347};dir=359.984;};
					class Object31 {side=8;vehicle="Pole_F";rank="";position[]={-13.0317,412.008,-0.000466347};dir=359.984;};
					class Object32 {side=8;vehicle="Pole_F";rank="";position[]={12.2756,412.116,-0.000524044};dir=0.00119476;};
				};
				//Three lane firing line with range markers out to eight hundred meters.
				class FiringRange800Meters
				{
					name = "Firing Range 800 Meters";
					class Object1 {side=8;vehicle="Pole_F";rank="";position[]={-4.55884,-3.10449,-0.000445366};dir=358.928;};
					class Object2 {side=8;vehicle="Pole_F";rank="";position[]={4.80225,-3.06299,-0.000445366};dir=0.0204538;};
					class Object3 {side=8;vehicle="Pole_F";rank="";position[]={-11.9265,-3.08252,-0.000444889};dir=358.935;};
					class Object4 {side=8;vehicle="Pole_F";rank="";position[]={13.5759,-3.03564,-0.000441074};dir=358.921;};
					class Object5 {side=8;vehicle="Pole_F";rank="";position[]={-4.56982,98.7725,-0.000478268};dir=358.863;};
					class Object6 {side=8;vehicle="Pole_F";rank="";position[]={4.68433,98.8247,-0.000478745};dir=358.881;};
					class Object7 {side=8;vehicle="Pole_F";rank="";position[]={-11.8342,98.7324,-0.000478268};dir=358.864;};
					class Object8 {side=8;vehicle="Pole_F";rank="";position[]={13.6274,98.8877,-0.000489712};dir=359.903;};
					class Object9 {side=8;vehicle="Pole_F";rank="";position[]={-4.54736,-103.148,-0.000444889};dir=358.928;};
					class Object10 {side=8;vehicle="Pole_F";rank="";position[]={5.23291,-103.219,-0.000444889};dir=358.942;};
					class Object11 {side=8;vehicle="Pole_F";rank="";position[]={-11.7095,-103.188,-0.000445366};dir=0.0204515;};
					class Object12 {side=8;vehicle="Pole_F";rank="";position[]={13.3032,-103.229,-0.000444889};dir=358.928;};
					class Object13 {side=8;vehicle="Pole_F";rank="";position[]={4.68921,199.891,-0.000481129};dir=358.727;};
					class Object14 {side=8;vehicle="Pole_F";rank="";position[]={-4.09033,199.948,-0.000478268};dir=358.715;};
					class Object15 {side=8;vehicle="Pole_F";rank="";position[]={-11.9102,200.048,-0.000472546};dir=358.652;};
					class Object16 {side=8;vehicle="Pole_F";rank="";position[]={14.0073,200.002,-0.000529766};dir=358.714;};
					class Object17 {side=8;vehicle="Pole_F";rank="";position[]={5.06226,-203.176,-0.000441074};dir=358.921;};
					class Object18 {side=8;vehicle="Pole_F";rank="";position[]={-4.63257,-203.292,-0.000441074};dir=358.921;};
					class Object19 {side=8;vehicle="Pole_F";rank="";position[]={-11.7908,-203.333,-0.000435829};dir=0.0655062;};
					class Object20 {side=8;vehicle="Pole_F";rank="";position[]={13.3521,-203.284,-0.000445366};dir=0.0204536;};
					class Object21 {side=8;vehicle="Pole_F";rank="";position[]={4.71045,298.006,-0.000485897};dir=358.738;};
					class Object22 {side=8;vehicle="Pole_F";rank="";position[]={-4.0376,298.028,-0.000481129};dir=358.727;};
					class Object23 {side=8;vehicle="Pole_F";rank="";position[]={-11.9106,297.954,-0.000481606};dir=358.776;};
					class Object24 {side=8;vehicle="Pole_F";rank="";position[]={13.9299,298.037,-0.000444412};dir=358.745;};
					class Object25 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-1.41431,-303.141,-0.00287724};dir=0;};
					class Object26 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={3.30029,-303.178,-0.00387716};dir=0;};
					class Object27 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-3.86621,-303.185,-0.00387716};dir=0;};
					class Object28 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-6.33838,-303.207,-0.00387716};dir=0;};
					class Object29 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={5.70264,-303.225,-0.00387716};dir=0;};
					class Object30 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={8.11768,-303.274,-0.00387716};dir=0;};
					class Object31 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-10.8755,-303.272,-0.00387716};dir=0;};
					class Object32 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={12.6189,-303.255,-0.00387716};dir=0;};
					class Object33 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-3.87964,-304.473,-0.00387716};dir=90;};
					class Object34 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={5.56616,-304.506,-0.00387716};dir=91;};
					class Object35 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={13.5562,-304.505,-0.00287724};dir=91;};
					class Object36 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-11.7424,-304.591,-0.00287724};dir=91;};
					class Object37 {side=8;vehicle="ShootingPos_F";rank="";position[]={-8.44702,-304.059,-0.00287724};dir=0;};
					class Object38 {side=8;vehicle="ShootingPos_F";rank="";position[]={1.13281,-304.252,-0.00257206};dir=0;};
					class Object39 {side=8;vehicle="ShootingPos_F";rank="";position[]={10.4324,-304.21,-0.00257206};dir=0;};
					class Object40 {side=8;vehicle="Land_Cargo_Patrol_V1_F";rank="";position[]={1.0061,-324.57,-0.00287771};dir=181;};
					class Object41 {side=8;vehicle="Pole_F";rank="";position[]={-4.19507,395.897,-0.000473499};dir=358.702;};
					class Object42 {side=8;vehicle="Pole_F";rank="";position[]={-12.0332,395.827,-0.000473499};dir=358.828;};
					class Object43 {side=8;vehicle="Pole_F";rank="";position[]={4.53931,396.09,-0.000498295};dir=358.746;};
					class Object44 {side=8;vehicle="Pole_F";rank="";position[]={13.8931,395.938,-0.000497818};dir=358.748;};
					class Object45 {side=8;vehicle="Pole_F";rank="";position[]={-3.97461,493.747,-0.000486374};dir=358.736;};
					class Object46 {side=8;vehicle="Pole_F";rank="";position[]={4.67236,493.874,-0.000473022};dir=358.737;};
					class Object47 {side=8;vehicle="Pole_F";rank="";position[]={13.9407,493.796,-0.000497341};dir=358.748;};
					class Object48 {side=8;vehicle="Pole_F";rank="";position[]={-12.1865,493.899,-0.000476837};dir=358.865;};
				};
				//A single 7.5m by 7.5m room comprised of shoothouse walls.
				class CQBRoom7PointFive
				{
					name = "Room 7.5m x 7.5m";
					class Object1 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-1.90015,-4.0332,-0.00143909};dir=0;};
					class Object2 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={2.1355,-4.00977,-0.00143909};dir=0;};
					class Object3 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.82935,-0.973633,-0.00143909};dir=90.1504;};
					class Object4 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.85645,0.976074,-0.00143909};dir=90.1504;};
					class Object5 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.00562,0.800781,-0.00143909};dir=270.93;};
					class Object6 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.96606,-1.17578,-0.00143909};dir=270.93;};
					class Object7 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-3.88403,-4.02393,-0.00143909};dir=0.112994;};
					class Object8 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.84253,2.91064,-0.00143909};dir=90.1504;};
					class Object9 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.80957,-2.97168,-0.00143909};dir=90.1504;};
					class Object10 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.03638,2.7832,-0.00143909};dir=270.93;};
					class Object11 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.15845,-3.98291,-0.00143909};dir=0;};
					class Object12 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={0.120361,5.78906,-0.00143909};dir=179.778;};
					class Object13 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.9436,-3.17969,-0.00143909};dir=270.93;};
					class Object14 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-1.8313,5.7876,-0.00143909};dir=179.778;};
					class Object15 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={2.13916,5.80566,-0.00143909};dir=179.778;};
					class Object16 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.82788,4.83887,-0.00143909};dir=90.1504;};
					class Object17 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.05493,4.77344,-0.00143909};dir=270.93;};
					class Object18 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-3.8125,5.81738,-0.00143909};dir=179.778;};
					class Object19 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.16431,5.85449,-0.00143909};dir=179.778;};
				};
			};
		class 7CMBGMilitary
		{
			name = "Military";
			//Three man mortar pit, equipped with M252 81mm Mortars as well as three M2 Browning Machine Guns for perimeter defense.
			class MortarPitThreeMan
			{
				name = "Three Man Mortar Pit";
				class Object1 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-4.76514,1,-0.00143909};dir=221.371;};
				class Object2 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={4.69189,2.89502,-0.00143909};dir=130.07;};
				class Object3 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={-0.595215,5.60645,-0.0790772};dir=347.154;};
				class Object4 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={-5.93945,-0.681641,-0.0790715};dir=342.112;};
				class Object5 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={6.15112,1.61768,-0.0790811};dir=342.138;};
				class Object6 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={0.491943,6.91064,-0.00143909};dir=229.347;};
				class Object7 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-1.74585,6.91064,-0.00143909};dir=125.097;};
				class Object8 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-7.21948,0.751465,-0.00143909};dir=128.526;};
				class Object9 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={7.15601,3.08887,-0.00143909};dir=219.993;};
				class Object10 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={2.28711,-7.58887,0.298561};dir=261.68;};
				class Object11 {side=8;vehicle="Logic";rank="";position[]={5.89575,-5.51709,0};dir=0;};
				class Object12 {side=8;vehicle="Logic";rank="";position[]={5.89575,-5.51709,0};dir=0;};
				class Object13 {side=8;vehicle="Land_PaperBox_open_empty_F";rank="";position[]={-0.406006,-8.45117,0.298561};dir=261.68;};
				class Object14 {side=8;vehicle="CamoNet_BLUFOR_open_F";rank="";position[]={2.47681,-9.08301,0.298561};dir=339.412;};
				class Object15 {side=8;vehicle="Land_PaperBox_open_empty_F";rank="";position[]={4.79883,-7.62061,0.298561};dir=261.68;};
				class Object16 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={2.5083,-10.6543,0.298561};dir=261.68;};
				class Object17 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={0.0705566,-11.0791,0.298561};dir=261.68;};
				class Object18 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={5.02368,-10.0869,0.298561};dir=261.68;};
				class Object19 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={7.16089,-9.38916,0.298561};dir=261.68;};
				class Object20 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={-2.46777,-11.5723,0.298561};dir=261.68;};
				class Object21 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-14.9746,8.23877,0.298561};dir=297.581;};
				class Object22 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={11.2681,15.4824,0.298561};dir=59.7792;};
				class Object23 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-10.5808,15.6392,0.298561};dir=315.493;};
				class Object24 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={4.48291,20.3623,0.298561};dir=30.0973;};
				class Object25 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-3.83643,20.377,0.298561};dir=352.578;};
				class Object26 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={20.8223,15.5225,-0.066895};dir=52.6791;};
				class Object27 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={21.3455,16.6353,-0.00143909};dir=62.0265;};
				class Object28 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={-25.3015,11.584,-0.0668912};dir=308.664;};
				class Object29 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-26.7998,11.9819,-0.00143909};dir=309.749;};
				class Object30 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={-1.25195,29.7256,-0.0668931};dir=345.745;};
				class Object31 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-2.24902,31.1367,-0.00143909};dir=349.114;};
			};
		};
	};
};
};

The site formatted it weird, so its a bit hard to read, but i'd guess your using one too many sub-menus, zeus UI only lets you use two or three sub-directories before it breaks the whole thing.

Share this post


Link to post
Share on other sites

I don't think I am.

Other Zeus Compositions have multiple sub directories, and I even compared my cpp layout to some addons pbos that add more compositions.

I'm not sure if you could copy mine to something like C++ and it would come out right for you to see, but the way I have it looks like it should work. As the main directory is listed on the same "level" as other ones, and it has the one Training subdirectory, but not the Military one. I'll keep fiddling with it some because I'd like to get this figured out.

Share this post


Link to post
Share on other sites
I don't think I am.

Other Zeus Compositions have multiple sub directories, and I even compared my cpp layout to some addons pbos that add more compositions.

I'm not sure if you could copy mine to something like C++ and it would come out right for you to see, but the way I have it looks like it should work. As the main directory is listed on the same "level" as other ones, and it has the one Training subdirectory, but not the Military one. I'll keep fiddling with it some because I'd like to get this figured out.

Try this: - you probably can't have your compositions base class named the same thing as the one BI has in there already. The game will get confused about which one is what and it'll just refuse to use yours.

Also I wouldn't use anything that isn't under the empty class (and is an actual object, with no other functionality). The mortars in one of the compositions down at the bottom will be non-functional when you place the composition (last time I checked they didn't work anyway, maybe they fixed it).

class CfgPatches
{
   class 7CMBG_Base_Templates
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};

class CfgGroups
{
class empty
{
	side = 8;
	name = "Custom Compositions"; //can't name it the same thing as the original class thats already there or it'll botch the whole thing
	class 7CMBG
	{
		name = "7CMBG";
		class Training
		{
			name = "Training";

				//Three lane firing line with range markers out to four hundred meters.
				class FiringRange400Meters
				{
					name = "Firing Range 400 Meters";
					class Object1 {side=8;vehicle="ShootingPos_F";rank="";position[]={-0.0656738,9.021,-0.00113344};dir=0;};
					class Object2 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={4.36768,8.76709,-0.00243855};dir=91.9039;};
					class Object3 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-5.07813,8.80078,-0.00243855};dir=90.8607;};
					class Object4 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={2.10181,10.0957,-0.00243855};dir=0;};
					class Object5 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-2.61279,10.1323,-0.00143862};dir=0;};
					class Object6 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={4.50415,10.0488,-0.00243855};dir=0;};
					class Object7 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-5.0647,10.0884,-0.00243855};dir=0;};
					class Object8 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={6.91919,9.99951,-0.00243855};dir=0;};
					class Object9 {side=8;vehicle="ShootingPos_F";rank="";position[]={9.23389,9.06348,-0.00113344};dir=0;};
					class Object10 {side=8;vehicle="Land_Cargo_Patrol_V1_F";rank="";position[]={-0.192383,-11.2969,-0.00143862};dir=181.402;};
					class Object11 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-7.53687,10.0669,-0.00243855};dir=0;};
					class Object12 {side=8;vehicle="ShootingPos_F";rank="";position[]={-9.64551,9.21484,-0.00143862};dir=0;};
					class Object13 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={12.3577,8.76807,-0.00143862};dir=91.9039;};
					class Object14 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={11.4204,10.0186,-0.00243855};dir=0;};
					class Object15 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-12.9409,8.68213,-0.00143862};dir=91.9039;};
					class Object16 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-12.074,10.001,-0.00243855};dir=0;};
					class Object17 {side=8;vehicle="Pole_F";rank="";position[]={-5.83008,109.983,-0.000479221};dir=359.937;};
					class Object18 {side=8;vehicle="Pole_F";rank="";position[]={3.86475,110.099,-0.000471115};dir=359.943;};
					class Object19 {side=8;vehicle="Pole_F";rank="";position[]={12.1545,109.991,-0.000441551};dir=0.0235599;};
					class Object20 {side=8;vehicle="Pole_F";rank="";position[]={-12.9885,109.942,-0.000477314};dir=0.0357415;};
					class Object21 {side=8;vehicle="Pole_F";rank="";position[]={4.0354,210.056,-0.000448704};dir=359.999;};
					class Object22 {side=8;vehicle="Pole_F";rank="";position[]={-5.74487,210.127,-0.000479221};dir=359.925;};
					class Object23 {side=8;vehicle="Pole_F";rank="";position[]={12.1057,210.046,-0.000489712};dir=359.911;};
					class Object24 {side=8;vehicle="Pole_F";rank="";position[]={-12.907,210.087,-0.000469208};dir=0.091933;};
					class Object25 {side=8;vehicle="Pole_F";rank="";position[]={-5.75635,310.171,-0.000479221};dir=359.925;};
					class Object26 {side=8;vehicle="Pole_F";rank="";position[]={3.60474,310.212,-0.000439167};dir=0.02503;};
					class Object27 {side=8;vehicle="Pole_F";rank="";position[]={-13.124,310.193,-0.000466347};dir=359.984;};
					class Object28 {side=8;vehicle="Pole_F";rank="";position[]={12.3784,310.24,-0.000472546};dir=359.988;};
					class Object29 {side=8;vehicle="Pole_F";rank="";position[]={-5.76733,412.048,-0.000479221};dir=359.925;};
					class Object30 {side=8;vehicle="Pole_F";rank="";position[]={3.48657,412.1,-0.000466347};dir=359.984;};
					class Object31 {side=8;vehicle="Pole_F";rank="";position[]={-13.0317,412.008,-0.000466347};dir=359.984;};
					class Object32 {side=8;vehicle="Pole_F";rank="";position[]={12.2756,412.116,-0.000524044};dir=0.00119476;};
				};
				//Three lane firing line with range markers out to eight hundred meters.
				class FiringRange800Meters
				{
					name = "Firing Range 800 Meters";
					class Object1 {side=8;vehicle="Pole_F";rank="";position[]={-4.55884,-3.10449,-0.000445366};dir=358.928;};
					class Object2 {side=8;vehicle="Pole_F";rank="";position[]={4.80225,-3.06299,-0.000445366};dir=0.0204538;};
					class Object3 {side=8;vehicle="Pole_F";rank="";position[]={-11.9265,-3.08252,-0.000444889};dir=358.935;};
					class Object4 {side=8;vehicle="Pole_F";rank="";position[]={13.5759,-3.03564,-0.000441074};dir=358.921;};
					class Object5 {side=8;vehicle="Pole_F";rank="";position[]={-4.56982,98.7725,-0.000478268};dir=358.863;};
					class Object6 {side=8;vehicle="Pole_F";rank="";position[]={4.68433,98.8247,-0.000478745};dir=358.881;};
					class Object7 {side=8;vehicle="Pole_F";rank="";position[]={-11.8342,98.7324,-0.000478268};dir=358.864;};
					class Object8 {side=8;vehicle="Pole_F";rank="";position[]={13.6274,98.8877,-0.000489712};dir=359.903;};
					class Object9 {side=8;vehicle="Pole_F";rank="";position[]={-4.54736,-103.148,-0.000444889};dir=358.928;};
					class Object10 {side=8;vehicle="Pole_F";rank="";position[]={5.23291,-103.219,-0.000444889};dir=358.942;};
					class Object11 {side=8;vehicle="Pole_F";rank="";position[]={-11.7095,-103.188,-0.000445366};dir=0.0204515;};
					class Object12 {side=8;vehicle="Pole_F";rank="";position[]={13.3032,-103.229,-0.000444889};dir=358.928;};
					class Object13 {side=8;vehicle="Pole_F";rank="";position[]={4.68921,199.891,-0.000481129};dir=358.727;};
					class Object14 {side=8;vehicle="Pole_F";rank="";position[]={-4.09033,199.948,-0.000478268};dir=358.715;};
					class Object15 {side=8;vehicle="Pole_F";rank="";position[]={-11.9102,200.048,-0.000472546};dir=358.652;};
					class Object16 {side=8;vehicle="Pole_F";rank="";position[]={14.0073,200.002,-0.000529766};dir=358.714;};
					class Object17 {side=8;vehicle="Pole_F";rank="";position[]={5.06226,-203.176,-0.000441074};dir=358.921;};
					class Object18 {side=8;vehicle="Pole_F";rank="";position[]={-4.63257,-203.292,-0.000441074};dir=358.921;};
					class Object19 {side=8;vehicle="Pole_F";rank="";position[]={-11.7908,-203.333,-0.000435829};dir=0.0655062;};
					class Object20 {side=8;vehicle="Pole_F";rank="";position[]={13.3521,-203.284,-0.000445366};dir=0.0204536;};
					class Object21 {side=8;vehicle="Pole_F";rank="";position[]={4.71045,298.006,-0.000485897};dir=358.738;};
					class Object22 {side=8;vehicle="Pole_F";rank="";position[]={-4.0376,298.028,-0.000481129};dir=358.727;};
					class Object23 {side=8;vehicle="Pole_F";rank="";position[]={-11.9106,297.954,-0.000481606};dir=358.776;};
					class Object24 {side=8;vehicle="Pole_F";rank="";position[]={13.9299,298.037,-0.000444412};dir=358.745;};
					class Object25 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-1.41431,-303.141,-0.00287724};dir=0;};
					class Object26 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={3.30029,-303.178,-0.00387716};dir=0;};
					class Object27 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-3.86621,-303.185,-0.00387716};dir=0;};
					class Object28 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-6.33838,-303.207,-0.00387716};dir=0;};
					class Object29 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={5.70264,-303.225,-0.00387716};dir=0;};
					class Object30 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={8.11768,-303.274,-0.00387716};dir=0;};
					class Object31 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-10.8755,-303.272,-0.00387716};dir=0;};
					class Object32 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={12.6189,-303.255,-0.00387716};dir=0;};
					class Object33 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-3.87964,-304.473,-0.00387716};dir=90;};
					class Object34 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={5.56616,-304.506,-0.00387716};dir=91;};
					class Object35 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={13.5562,-304.505,-0.00287724};dir=91;};
					class Object36 {side=8;vehicle="Land_BagFence_Short_F";rank="";position[]={-11.7424,-304.591,-0.00287724};dir=91;};
					class Object37 {side=8;vehicle="ShootingPos_F";rank="";position[]={-8.44702,-304.059,-0.00287724};dir=0;};
					class Object38 {side=8;vehicle="ShootingPos_F";rank="";position[]={1.13281,-304.252,-0.00257206};dir=0;};
					class Object39 {side=8;vehicle="ShootingPos_F";rank="";position[]={10.4324,-304.21,-0.00257206};dir=0;};
					class Object40 {side=8;vehicle="Land_Cargo_Patrol_V1_F";rank="";position[]={1.0061,-324.57,-0.00287771};dir=181;};
					class Object41 {side=8;vehicle="Pole_F";rank="";position[]={-4.19507,395.897,-0.000473499};dir=358.702;};
					class Object42 {side=8;vehicle="Pole_F";rank="";position[]={-12.0332,395.827,-0.000473499};dir=358.828;};
					class Object43 {side=8;vehicle="Pole_F";rank="";position[]={4.53931,396.09,-0.000498295};dir=358.746;};
					class Object44 {side=8;vehicle="Pole_F";rank="";position[]={13.8931,395.938,-0.000497818};dir=358.748;};
					class Object45 {side=8;vehicle="Pole_F";rank="";position[]={-3.97461,493.747,-0.000486374};dir=358.736;};
					class Object46 {side=8;vehicle="Pole_F";rank="";position[]={4.67236,493.874,-0.000473022};dir=358.737;};
					class Object47 {side=8;vehicle="Pole_F";rank="";position[]={13.9407,493.796,-0.000497341};dir=358.748;};
					class Object48 {side=8;vehicle="Pole_F";rank="";position[]={-12.1865,493.899,-0.000476837};dir=358.865;};
				};
				//A single 7.5m by 7.5m room comprised of shoothouse walls.
				class CQBRoom7PointFive
				{
					name = "Room 7.5m x 7.5m";
					class Object1 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-1.90015,-4.0332,-0.00143909};dir=0;};
					class Object2 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={2.1355,-4.00977,-0.00143909};dir=0;};
					class Object3 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.82935,-0.973633,-0.00143909};dir=90.1504;};
					class Object4 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.85645,0.976074,-0.00143909};dir=90.1504;};
					class Object5 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.00562,0.800781,-0.00143909};dir=270.93;};
					class Object6 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.96606,-1.17578,-0.00143909};dir=270.93;};
					class Object7 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-3.88403,-4.02393,-0.00143909};dir=0.112994;};
					class Object8 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.84253,2.91064,-0.00143909};dir=90.1504;};
					class Object9 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.80957,-2.97168,-0.00143909};dir=90.1504;};
					class Object10 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.03638,2.7832,-0.00143909};dir=270.93;};
					class Object11 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.15845,-3.98291,-0.00143909};dir=0;};
					class Object12 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={0.120361,5.78906,-0.00143909};dir=179.778;};
					class Object13 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.9436,-3.17969,-0.00143909};dir=270.93;};
					class Object14 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-1.8313,5.7876,-0.00143909};dir=179.778;};
					class Object15 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={2.13916,5.80566,-0.00143909};dir=179.778;};
					class Object16 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-4.82788,4.83887,-0.00143909};dir=90.1504;};
					class Object17 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={5.05493,4.77344,-0.00143909};dir=270.93;};
					class Object18 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={-3.8125,5.81738,-0.00143909};dir=179.778;};
					class Object19 {side=8;vehicle="Land_Shoot_House_Panels_F";rank="";position[]={4.16431,5.85449,-0.00143909};dir=179.778;};
				};
			};
		class 7CMBGMilitary
		{
			name = "Military";
			//Three man mortar pit, equipped with M252 81mm Mortars as well as three M2 Browning Machine Guns for perimeter defense.
			class MortarPitThreeMan
			{
				name = "Three Man Mortar Pit";
				class Object1 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-4.76514,1,-0.00143909};dir=221.371;}; //this won't work, compositions don't like objects that actually function and move.
				class Object2 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={4.69189,2.89502,-0.00143909};dir=130.07;};
				class Object3 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={-0.595215,5.60645,-0.0790772};dir=347.154;};
				class Object4 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={-5.93945,-0.681641,-0.0790715};dir=342.112;};
				class Object5 {side=8;vehicle="RDS_M252_AAF";rank="";position[]={6.15112,1.61768,-0.0790811};dir=342.138;};
				class Object6 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={0.491943,6.91064,-0.00143909};dir=229.347;};
				class Object7 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-1.74585,6.91064,-0.00143909};dir=125.097;};
				class Object8 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={-7.21948,0.751465,-0.00143909};dir=128.526;};
				class Object9 {side=8;vehicle="Land_BagFence_Round_F";rank="";position[]={7.15601,3.08887,-0.00143909};dir=219.993;};
				class Object10 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={2.28711,-7.58887,0.298561};dir=261.68;};
				class Object11 {side=8;vehicle="Logic";rank="";position[]={5.89575,-5.51709,0};dir=0;};
				class Object12 {side=8;vehicle="Logic";rank="";position[]={5.89575,-5.51709,0};dir=0;};
				class Object13 {side=8;vehicle="Land_PaperBox_open_empty_F";rank="";position[]={-0.406006,-8.45117,0.298561};dir=261.68;};
				class Object14 {side=8;vehicle="CamoNet_BLUFOR_open_F";rank="";position[]={2.47681,-9.08301,0.298561};dir=339.412;};
				class Object15 {side=8;vehicle="Land_PaperBox_open_empty_F";rank="";position[]={4.79883,-7.62061,0.298561};dir=261.68;};
				class Object16 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={2.5083,-10.6543,0.298561};dir=261.68;};
				class Object17 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={0.0705566,-11.0791,0.298561};dir=261.68;};
				class Object18 {side=8;vehicle="Land_PaperBox_open_full_F";rank="";position[]={5.02368,-10.0869,0.298561};dir=261.68;};
				class Object19 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={7.16089,-9.38916,0.298561};dir=261.68;};
				class Object20 {side=8;vehicle="Land_PaperBox_closed_F";rank="";position[]={-2.46777,-11.5723,0.298561};dir=261.68;};
				class Object21 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-14.9746,8.23877,0.298561};dir=297.581;};
				class Object22 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={11.2681,15.4824,0.298561};dir=59.7792;};
				class Object23 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-10.5808,15.6392,0.298561};dir=315.493;};
				class Object24 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={4.48291,20.3623,0.298561};dir=30.0973;};
				class Object25 {side=8;vehicle="Land_Razorwire_F";rank="";position[]={-3.83643,20.377,0.298561};dir=352.578;};
				class Object26 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={20.8223,15.5225,-0.066895};dir=52.6791;};
				class Object27 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={21.3455,16.6353,-0.00143909};dir=62.0265;};
				class Object28 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={-25.3015,11.584,-0.0668912};dir=308.664;};
				class Object29 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-26.7998,11.9819,-0.00143909};dir=309.749;};
				class Object30 {side=8;vehicle="RDS_M2StaticMG_AAF";rank="";position[]={-1.25195,29.7256,-0.0668931};dir=345.745;};
				class Object31 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-2.24902,31.1367,-0.00143909};dir=349.114;};
			};
		};
	};
};
};

Share this post


Link to post
Share on other sites

Thank you so very much. I can't believe it was something as simple as that one line change. I had tried for several hours with the different text layers thinking I messed something up there.

So, thank you again. :D

Share this post


Link to post
Share on other sites

I just want to extend my thanks to all the posters here, great info and help.

Share this post


Link to post
Share on other sites

Is there a way to have these in a mission file rather than needing to create an addon for them?

Share this post


Link to post
Share on other sites
Is there a way to have these in a mission file rather than needing to create an addon for them?

as far as i know the zeus interface reads from configFile only

you can try it ... but if its not works then no (simply leave out the cfgPatch then and paste everything in the description.ext)

Share this post


Link to post
Share on other sites

ok so I am very new to doing this stuff of making a template and putting it into a compositions on zeus. So I created a training layout for my unit that i am part of, they are a milsim unit with over 140 members and so we needed a new training layout so I made on in the VR. So my question is, will any one take the saved file that I made and turn it into a composition on the downloads page of armaholic so the public can have access to it also?

any help will be awesome.

Share this post


Link to post
Share on other sites
ok so I am very new to doing this stuff of making a template and putting it into a compositions on zeus. So I created a training layout for my unit that i am part of, they are a milsim unit with over 140 members and so we needed a new training layout so I made on in the VR. So my question is, will any one take the saved file that I made and turn it into a composition on the downloads page of armaholic so the public can have access to it also?

any help will be awesome.

the purpose of this tutorial is that you can create such modifications on your own sharing them with your community/clan/group/... by dropbox (for example)

if you want to create a large set of compositions you just need to put them all together and throw em in the forums

after that, either foxhound or someone else will find it or you write them a message

but nobody will do the work for you

the tutorial is for noobs in scripting so just follow it pls ...

Share this post


Link to post
Share on other sites

So i followed the intructions, everything worked out fine but the composition doesn't show up in Zeus. what is wrong?

class CfgPatches
{
    class Kerz_Compositions
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
    };
};
class CfgGroups
{
	class Empty
	{
		side = 8;
		name = "Compositions";
		class by_X39
		{
			name = "by X39";
			class FOBs
			{
				name = "FOBs";
				class ION_FOB_ALPHA
				{
					name = "ION FOB ALPHA";
					class Object2 {side=8;vehicle="Land_Kulna";rank="";position[]={81.2188,14.6101,-0.0014782};dir=307.046;};

That is just the start as the config file has around 400 lines. I even kept everything the same as in the tutorial

Share this post


Link to post
Share on other sites

 

[COLOR=#ff0000]class CfgPatches[/COLOR]{
    class MY_CUSTOM_ZEUS_COMPOSITIONS
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
    };
};


class CfgGroups
{
    class Empty
    {
        side = 8;
        name = "Compositions";
        class by_Takelmeifter
        {
            name = "by Takelmeifter";
            class Special_Objects
            {
                name = "Sea";
                class TRAWLER_AND_BUOY
                {
                    name = "TRAWLER_AND_BUOY";
                    class Object1 {side=8;vehicle="C_Boat_Civil_04_F";rank="";position[]={-13.5313,-2.50977,6.57163};dir=355.473;};
                    class Object2 {side=8;vehicle="Land_BuoyBig_F";rank="";position[]={-4.12891,22.998,0.752317};dir=0.0251861;};
                    
                };
            };
        };
    };
};

 

config.cpp (after conversion its KONKEL_COMP.pbo)

[COLOR=#ff0000]class CfgPatches[/COLOR]{
    class KONKEL_COMP
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
    };
};

class CfgGroups
{
    class Empty
    {
        side = 8;
        name = "[K]Compositions";
        class by_X39
        {
            name = "Military";
            class FOBs
            {
                name = "Interior";
                class ION_FOB_ALPHA
                {
                    name = "office v1";
                    class Object1 {side=8;vehicle="CUP_office_chair";rank="";position[]={-0.544922,0.242188,-0.00143909};dir=130.046;};
                    class Object2 {side=8;vehicle="CUP_office_chair";rank="";position[]={-1.49316,0.172363,-0.00143909};dir=179.676;};
                    class Object3 {side=8;vehicle="Land_TableDesk_F";rank="";position[]={-1.69409,1.25586,-0.00140047};dir=359.997;};
                    class Object4 {side=8;vehicle="CUP_office_chair";rank="";position[]={-2.27905,0.204102,-0.00143909};dir=179.676;};
                    class Object5 {side=8;vehicle="Land_ChairWood_F";rank="";position[]={-1.6604,1.9248,-0.00143147};dir=0.01582;};
                    class Object6 {side=8;vehicle="MapBoard_stratis_F";rank="";position[]={0.440186,2.59619,-0.00359297};dir=34.1436;};
                };
            };
        };
    };
};

I Get this error : EKYNYqL.png

Share this post


Link to post
Share on other sites

Hi guys !
I need help !

I have read all your lines but... something's wrong !
First Step : I have created a file Config.cpp in my game directory (...\steamapps\common\Arma 3\@FredZeus\Addons\FredZeus)

17100512450915456215301750.jpg


Second Step : I have made a little composition : 1 campfire + 3 Woodenlog
Here is my file :

class CfgPatches
{
   class FredZeus
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Modules_F", "A3_Modules_F_Curator"};
   };
};

class CfgGroups
{
	class Empty
	{
		side = 8;
		name = "Compositions";
		class by_Fred
		{
			name = "by Fred";
			class Camping
			{
				name = "Camping";
				class FireCompo
				{
					name = "FireCompo";
					class Object1 {side=8;vehicle="Land_WoodenLog_F";rank="";position[]={0.72876,0.75,0.0280609};dir=0.465039;};
					class Object2 {side=8;vehicle="Campfire_burning_F";rank="";position[]={1.43506,-1.13477,0.00205994};dir=0.466831;};
					class Object3 {side=8;vehicle="Land_WoodenLog_F";rank="";position[]={3.19189,-0.0678711,0.0265732};dir=0.424167;};
					class Object4 {side=8;vehicle="Land_WoodenLog_F";rank="";position[]={1.59961,-3.36182,0.0271454};dir=0.478142;};
				};
			};
		};
	};
};


And Third Step : Activate the mod in the launcher

17100512474115456215301753.jpg

 

Can you please correct my error(s) ?
Thanks guys !

Share this post


Link to post
Share on other sites

:down:
Config.ccp ≠ Config.cpp

Ok I have my composition in game, I can apply it in 3DEN but not in Zeus mode... Any idea ?

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

×