Jump to content
Sign in to follow this  
blackersky

Custom Unit Backpack

Recommended Posts

Hi

I have a custom faction and i need to know how to add items in the backpack of each unit.

Share this post


Link to post
Share on other sites

I think he has made a ADDON with a new factions.

here's an example, you basically make a new backpack with items in it.

class CfgVehicles {
class B_AssaultPack_rgr; //what backpack to use
class RPG10_AMMO_B : B_AssaultPack_rgr  { //making a 'new' backpack.
       scope = 2; 
       displayName = RPG10 ammo pack; 
       class TransportMagazines 
       { 
           class _xx_RPG10_F 
           { 
               magazine = "RPG10_F"; 
               count = 1; 
           }; 
           class _xx_RPG10_HE_F 
           { 
               magazine = "RPG10_HE_F"; 
               count = 1; 
           }; 
           class _xx_1Rnd_120mm_HE_shells 
           { 
               magazine = "1Rnd_120mm_HE_shells"; 
               count = 2; 
           }; 
       }; 
   };  
};

Edited by ante185

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  

×