Jump to content
Sign in to follow this  
Shifumii

Need some help with a config file for an inventory item.

Recommended Posts

Hi,

 

I could use some help getting some items in the game, they are not showing up in the arsenal or the editor.

 

Spoiler

class CfgWeapons
{
  class ItemCore;
  class InventoryItem_Base_F;
 
    class SHIF_cocaine: ItemCore
    {
        author = "Shifumii";
        displayName = "Cocaine";
        model = "Contraband\contraband_package.p3d";
        picture = "";
        hiddenSelections[] = {"camo"};
        hiddenSelectionsTextures[] = {"Contraband\data\cocaine_package_co.paa"};
        scope = 2;
        scopeArsenal = 2;
        scopeCurator = 2;
        icon = "iconObject_circle";
        descriptionShort = "A pound of Cocaine.";
        class ItemInfo: InventoryItem_Base_F
        {
            mass = 10;
        };
    };


I want to be able to place it on the ground but also carry it in a backpack/vest/vehicle/etc.
Please help me with this.

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  

×