Jump to content
Sign in to follow this  
Bnae

Addon objects to 3den

Recommended Posts

Hello,

 

For some reason i keep missing the configs to allow addon weapon to be used in 3den editor.

Could somebody help me to find these. I assume there is a way to use these in 3den editor

 

Thanks!

Share this post


Link to post
Share on other sites

You need editor categories.

class CfgEditorCategories {
	class my_category_name {
		displayName = "my_category"
	};
};

class CfgEditorSubcategories {
	class my_sub-category_name {
		displayName = "my_sub-category"
	};
};

class CfgVehicles {
	class inherited_class;
	class new_class: inherited_class {
		editorCategory = "my_category_or_existing_category";
		editorSubCategory = "my_sub-category_or_existing_sub-category";
	};
};

If you want to see what exists already look through CfgEditorCategories and CfgEditorSubcategories in the config viewer.

 

https://community.bistudio.com/wiki/Eden_Editor:_Object_Categorization#Categories

  • Like 3

Share this post


Link to post
Share on other sites

Hello,

 

For some reason i keep missing the configs to allow addon weapon to be used in 3den editor.

Could somebody help me to find these. I assume there is a way to use these in 3den editor

 

Thanks!

Do you mean to place Empty Weapons through the Props Category? If So you can't do anything unless the mod creator, Or another community member, creates a config to do so. (For Instance. I just made one for OPTRE and am trying to donate it :D) 

Share this post


Link to post
Share on other sites

Example of my config for the shotgun. I might create new subcategory for shotguns, depending how many shotguns i'm about to create.

Thanks BadHabitz

class CfgPatches
{
    class BNAE_Weapons_F
    {
        requiredaddons[] = {"A3_Weapons_F"};
        name="Bnae's Arsenal";
        requiredversion = 0.1;
        weapons[] = {"bnae_shotgun_editor"};
    };
};
class CfgVehicles
{
	class Weapon_Base_F;
	class bnae_shotgun_editor : Weapon_Base_F //New class name
	{
		scope=2;
		scopeCurator=2;
		displayName="Double barrel shotgun";
		editorCategory="EdCat_Weapons";
		editorSubcategory="EdSubcat_AssaultRifles";
		vehicleClass="WeaponsPrimary";
		faction="BLU_F";
		author="BNAE";
		class TransportWeapons
		{
			class bnae_shotgun_virtual  //From CfgWeapons
			{
				weapon="bnae_shotgun_virtual";
				count=1;
			};
		};
		class TransportMagazines
		{
			class 2Rnd_B_00_buckshot
			{
				magazine="2Rnd_B_00_buckshot";
				count=1;
			};
		};
	};
};

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  

×