Jump to content
Sign in to follow this  
goldenfiver

New UAV config

Recommended Posts

Hi guys,

 

I'm creating a new skin for the UAV bag we have in-game.  I want the UAV to properly disassemble into the new bag, which means I also have to create a new UAV.

 

This is how I configured the bag:

 

	class CfgVehicles
	{
      class Bag_Base;
      class B_UAV_01_backpack_F;
      class assembleInfo;

		class isrtg_Weapon_Bag_Base: Bag_Base
		{
                side = 1;
                class assembleInfo
                {
                    primary = 1;
                    base = "";
                    assembleTo = "";
                    displayName = "";
                    dissasembleTo[] = {};
                };
		};

	class isrtg_tropic_multicam_uav_bag: isrtg_Weapon_Bag_Base
	{
		side = 1;
		_generalMacro = "isrtg_tropic_multicam_uav_bag";
		picture = "\A3\Drones_F\Weapons_F_Gamma\Ammoboxes\Bags\Data\UI\icon_B_C_UAV_rgr_ca";
		model = "\A3\Drones_F\Weapons_F_Gamma\Ammoboxes\Bags\UAV_backpack_F.p3d";
		hiddenSelectionsTextures[] = {"\isrtg_uniforms\tex\bag\isrtg_tropic_multicam_uav_backpack.paa"};
		displayName = "[IsrTG] UAV Backpack (Tropic Multicam)";
		scope = 2;
		maximumLoad = 0;
		mass = 300;
		class assembleInfo: assembleInfo
			{
				primary = 1;
				base = "";
				displayName = "AR-2 Darter";
				assembleTo = "isrtg_quadcopter_tropic_multicam";
			};
	};

};





This is how I configured the UAV : 

class CfgVehicles
{
	class B_UAV_01_F;

	class isrtg_quadcopter_tropic_multicam: B_UAV_01_F
	{
		scope = 2;
		typicalCargo[] = {""};
		side = 1;
		faction = "BLU_F";
		vehicleClass = "air";
		extCameraPosition[] = {0,0,-2};

		class assembleInfo
		{
			primary = 1;
			base = "";
			assembleTo = "";
			displayName = "";
			dissasembleTo[] = {"isrtg_tropic_multicam_uav_bag"};
		};
	};


It works fine, except for one error I'm getting when I open up the editor - No entry 'bin\config.bin/CfgVehicles/assembleinfo.side'. Do you have any idea what might be causing it?

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  

×