Jump to content
Sign in to follow this  
wolf13898

Backpack wrong camo

Recommended Posts

the backpack has the wrong camo

backpack config:

	class FR_Assaultpack : B_AssaultPack_rgr
{
	displayname = "Assault Pack (Flecktarn)";
	model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Compact";
	picture = "\Bundeswehr_infantry\Flecktarn\ui\icon_FR_assaultpack";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"Bundeswehr_infantry\Flecktarn\items\assaultpack1_co.paa"};
};

unit config:

	class FR_medic_F : B_medic_F
   { 
       displayName = "Comabt Life Saver (Flecktarn)";
	nakedUniform = "U_BasicBody";
	uniformClass = "FR_CombatUniform_Tshirt";
	author = "Wolf13898";
	faction = "Bundeswehr_F";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"Bundeswehr_infantry\Flecktarn\Items\clothing1_co.paa"};
	linkedItems[] = {"FR_Vest_02", "FR_HelmetB", "FR_Assaultpack", "NVGoggles", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"FR_Vest_02", "FR_HelmetB", "FR_Assaultpack", "NVGoggles", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
}

Edited by Wolf13898

Share this post


Link to post
Share on other sites

Looks like your inheriting the backpack from B_medic_F, add backpack = "FR_Assaultpack"; to your unit and remove "FR_Assaultpack" from linkedItems and respawnLinkedItems.

Share this post


Link to post
Share on other sites

Like this.

class B_AssaultPack_rgr_ReconMedic: B_AssaultPack_rgr
{
	scope = 1;
	class TransportMagazines
	{
		class _xx_SmokeShellRed
		{
			magazine = "SmokeShellRed";
			count = 1;
		};
		class _xx_SmokeShellBlue
		{
			magazine = "SmokeShellBlue";
			count = 1;
		};
		class _xx_SmokeShellOrange
		{
			magazine = "SmokeShellOrange";
			count = 1;
		};
	};
	class TransportItems
	{
		class _xx_Medikit
		{
			name = "Medikit";
			count = 1;
		};
		class _xx_FirstAidKit
		{
			name = "FirstAidKit";
			count = 5;
		};
	};
};

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  

×