Jump to content
Sign in to follow this  
granQ

Cfggroups.. don't want to define new side

Recommended Posts

Can I somehow get my own groups under bluefor?

Seems impossible which sucks...

I even tried to overwrite/use same classnames, stringname but it creates a new "side"...

groups.jpg

class west
{
name = $STR_WEST;
class VTE_Groups_US
{
	name = "VTE US";
	class VTE_vietnamunits
	{
		name = "VTE US Infantry";
		faction = "VTE_faction_usa";
		rarityGroup = 0.5;
		class VTEaircav
		{
			name = "VTE Air Cav Patrol";
			class Unit0{name = "1"; side = 1; vehicle = "VTE_acofficer"; rank = "Lieutnant"; position[] = {0,5,0};};
			class Unit1{name = "2"; side = 1; vehicle = "VTE_acsoldier"; rank = "Sergeant"; position[] = {-10,0,0};};
			class Unit2{name = "3"; side = 1; vehicle = "VTE_acsoldierrto"; rank = "Corporal"; position[] = {10,0,0};};
			class Unit3{name = "4"; side = 1; vehicle = "VTE_acsoldiermg"; rank = "Corporal"; position[] = {15,0,0};};
			class Unit4{name = "5"; side = 1; vehicle = "VTE_acsoldierlaw"; rank = "Private"; position[] = {-15,0,0};};
			class Unit5{name = "6"; side = 1; vehicle = "VTE_acsoldierm79"; rank = "Private"; position[] = {20,0,0};};
			class Unit6{name = "7"; side = 1; vehicle = "VTE_acsoldiermedic"; rank = "Private"; position[] = {-20,0,0};};
			class Unit7{name = "8"; side = 1; vehicle = "VTE_acsoldier"; rank = "Private"; position[] = {25,0,0};};
			class Unit8{name = "9"; side = 1; vehicle = "VTE_acsoldier"; rank = "Private"; position[] = {-25,0,0};};
			class Unit9{name = "10"; side = 1; vehicle = "VTE_acsoldier"; rank = "Private"; position[] = {27,0,0};};
			class Unit10{name = "11"; side = 1; vehicle = "VTE_acsoldier"; rank = "Private"; position[] = {-27,0,0};};
			class Unit11{name = "12"; side = 1; vehicle = "VTE_acsoldier"; rank = "Private"; position[] = {29,0,0};};
		};
		class VTEaircavwpns
		{
			name = "VTE Air Cav Weapons Squad";
			class Unit0{name = "1"; side = 1; vehicle = "VTE_acofficer"; rank = "Lieutnant"; position[] = {0,5,0};};
			class Unit1{name = "2"; side = 1; vehicle = "VTE_acsoldierm79"; rank = "Sergeant"; position[] = {5,0,0};};
			class Unit2{name = "3"; side = 1; vehicle = "VTE_acsoldierlaw"; rank = "CORPORAL"; position[] = {-5,0,0};};
			class Unit3{name = "4"; side = 1; vehicle = "VTE_acsoldierrto"; rank = "CORPORAL"; position[] = {-10,0,0};};
			class Unit4{name = "5"; side = 1; vehicle = "VTE_acsoldierlaw"; rank = "CORPORAL"; position[] = {10,0,0};};
			class Unit5{name = "6"; side = 1; vehicle = "VTE_acsoldierlaw"; rank = "Private"; position[] = {15,0,0};};
			class Unit6{name = "7"; side = 1; vehicle = "VTE_acsoldiermedic"; rank = "Private"; position[] = {-15,0,0};};
			class Unit7{name = "8"; side = 1; vehicle = "VTE_acsoldiermg"; rank = "Private"; position[] = {20,0,0};};
		};
	};
};
};

Share this post


Link to post
Share on other sites

No not impossible here is how i solved it.

But i have renamned the sides here to Sovjet and German.

Just write the correct names instead of my "german" and "sovjet"

class CfgGroups 
{
class West 
       {
	name = "German";

	class german 
               {
		name = "German";

		class Infantry 
                       {
			name = "Infantery";

			class german_InfSquad 
                               {
				name = "Heer Inf squad";
				rarityGroup = 0.500000;
				class Unit0 {
					side = 1;
					vehicle = "rw_germ13";
					rank = "LIEUTENANT";
					position[] = {0, 5, 0};
				};
				class Unit1 {
					side = 1;
					vehicle = "rw_germ6";
					rank = "SERGEANT";
					position[] = {3, 0, 0};
				};
				class Unit2 {
					side = 1;
					vehicle = "rw_germ1";
					rank = "CORPORAL";
					position[] = {5, 0, 0};
				};
				class Unit3 {
					side = 1;
					vehicle = "rw_germ1";
					rank = "CORPORAL";
					position[] = {7, 0, 0};
				};
				class Unit4 {
					side = 1;
					vehicle = "rw_germ8";
					rank = "PRIVATE";
					position[] = {9, 0, 0};
				};
				class Unit5 {
					side = 1;
					vehicle = "rw_germ10";
					rank = "SERGEANT";
					position[] = {12, 0, 0};
				};
				class Unit6 {
					side = 1;
					vehicle = "rw_germ12";
					rank = "CORPORAL";
					position[] = {14, 0, 0};
				};
				class Unit7 {
					side = 1;
					vehicle = "rw_germ8";
					rank = "CORPORAL";
					position[] = {16, 0, 0};
				};
				class Unit8 {
					side = 1;
					vehicle = "rw_germ10";
					rank = "PRIVATE";
					position[] = {18, 0, 0};
				};
				class Unit9 {
					side = 1;
					vehicle = "rw_germ1";
					rank = "SERGEANT";
					position[] = {3, -5, 0};
				};
				class Unit10 {
					side = 1;
					vehicle = "rw_germ2";
					rank = "CORPORAL";
					position[] = {5, -5, 0};
				};
				class Unit11 {
					side = 1;
					vehicle = "rw_germ1";
					rank = "CORPORAL";
					position[] = {7, -5, 0};
				};
				class Unit12 {
					side = 1;
					vehicle = "rw_germ1";
					rank = "PRIVATE";
					position[] = {9, -5, 0};
				};
			};

		};

	};

};

       class East 
       {
	name = "Sovjet";

	class sovjet 
               {
		name = "Sovjet";

		class Infantry 
                       {
			name = "Russian Infantery";

			class RUss_InfSquad {
				name = "Russian Inf (helmet) squad";
				rarityGroup = 0.700000;

				class Unit0 {
					side = 0;
					vehicle = "rw_sov10";
					rank = "LIEUTENANT";
					position[] = {0, 5, 0};
				};

				class Unit1 {
					side = 0;
					vehicle = "rw_sov7";
					rank = "SERGEANT";
					position[] = {3, 0, 0};
				};

				class Unit2 {
					side = 0;
					vehicle = "rw_sov1";
					rank = "SERGEANT";
					position[] = {5, 0, 0};
				};

				class Unit3 {
					side = 0;
					vehicle = "rw_sov1";
					rank = "CORPORAL";
					position[] = {7, 0, 0};
				};

				class Unit4 {
					side = 0;
					vehicle = "rw_sov5";
					rank = "CORPORAL";
					position[] = {9, 0, 0};
				};

				class Unit5 {
					side = 0;
					vehicle = "rw_sov2";
					rank = "CORPORAL";
					position[] = {11, 0, 0};
				};

				class Unit6 {
					side = 0;
					vehicle = "rw_sov9";
					rank = "CORPORAL";
					position[] = {13, 0, 0};
				};

				class Unit7 {
					side = 0;
					vehicle = "rw_sov12";
					rank = "CORPORAL";
					position[] = {15, 0, 0};
				};

				class Unit8 {
					side = 0;
					vehicle = "rw_sov11";
					rank = "PRIVATE";
					position[] = {17, 0, 0};
				};

				class Unit9 {
					side = 0;
					vehicle = "rw_sov9";
					rank = "PRIVATE";
					position[] = {19, 0, 0};
				};

				class Unit10 {
					side = 0;
					vehicle = "rw_sov1";
					rank = "PRIVATE";
					position[] = {21, 0, 0};
				};

				class Unit11 {
					side = 0;
					vehicle = "rw_sov1";
					rank = "PRIVATE";
					position[] = {23, 0, 0};
				};
			};



		};

	};

};

};

Share this post


Link to post
Share on other sites

thanks, didn't knew it was case sensitive :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×