Loot Size

P1-Kashwak

Member
What i am looking for is how to change how many slots certain loot takes up in your inventory.

I know I can change how many slots a tent takes up by change the code in CfgMagazines.hpp

Code:
    class ItemTent : CA_Magazine {
        scope = public;
        count = 1;
        type = (256 * 3);
        displayName = $STR_EQUIP_NAME_20;
        model = "\dayz_equip\models\tentbag_gear.p3d";
        picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
        descriptionShort = $STR_EQUIP_DESC_20;
        
        class ItemActions {
            class Pitch {
                text = $STR_PITCH_TENT;
                script = "spawn player_tentPitch;";
            };
        };
    };

just change

Code:
256 * 3

to

Code:
256 * 2

and this makes it only take up 2 slots.

What I am looking for is where to find all the other loot like
Scrap metal, Rotor, Engine and other stuff.

Does anyone know where I can find the rest of the code?
 
Back
Top