Jump to content
Sign in to follow this  
acta13

how can i make one or more units show on the Zeus menu?

Recommended Posts

Pls give me some hints

Also how can I make cumstom unit faction with customized infantry in it?

Share this post


Link to post
Share on other sites

I think you're not in the good thread but:

For Zeus compatibility just list your units in the Unit array under cfgPatches like that:

class CfgPatches

{

class Your_Addon

{

units[] =

{

"My_Soldier1",

"My_Soldier2"

};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = {""};

};

};

To add custom faction simply add :

class CfgFactionClasses

{

class YourFactionClassName

{

displayName = "Faction name";

priority = 8; //Priority in editor

side = 2; //Side of your faction

icon = "Path\to\you\Icon.paa";

};

};

Share this post


Link to post
Share on other sites

Hello,

and what's about if I want to add a group defined on the CfgGroups of my addon?

It shows me the units on the Zeus units menu but not the groups of the units itself.

Share this post


Link to post
Share on other sites

For groups You can Try :

class CfgPatches
{
class Your_PBO_Group
{
	units[]={};
	weapons[]={};
	requiredVersion=0.1;
	requiredAddons[]={};
};
};
class CfgGroups
{
class EAST
{
	name="$STR_EAST";
	class FactionName
	{
		name="Faction Name";
		class Infantry
		{
			name="Infantry";
			class 10_men_GR
			{
				name="10 Man Group";
				faction="FactionName";
				rarityGroup=0.5;
				side=0;
				class Unit0
				{
					side=0;
					vehicle="UnitClassName";
					rank="LIEUTENANT";
					position[]={0,5,0};
				};
				class Unit1
				{
					side=0;
					vehicle="UnitClassName";
					rank="PRIVATE";
					position[]={3,0,0};
				};
				class Unit2
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={5,0,0};
				};
				class Unit3
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={11,0,0};
				};
				class Unit4
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={9,0,0};
				};
				class Unit5
				{
					side=0;
					vehicle="UnitClassName";
					rank="SERGENT";
					position[]={14,0,0};
				};
				class Unit6
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={19,0,0};
				};
				class Unit7
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={17,0,0};
				};
				class Unit8
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={7,0,0};
				};
				class Unit9
				{
					side=0;
					vehicle="UnitClassName";
					rank="CORPORAL";
					position[]={21,0,0};
				};
			};
		};
	};
};
};

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  

×