Jump to content

Recommended Posts

An error has occurred somewhere here that MEDKIT is not found inside the backpack. Try and tell me where the problem is.

 

 

loadout.hpp

class WEST3
    {
        displayName = "Medic";
        icon = "\A3\ui_f\data\map\VehicleIcons\iconManMedic_ca.paa";
        role = "Support";
        show = "side group _this == west";

        weapons[] = {
            "arifle_MXC_Black_F"

        };
        magazines[] = {
            "HandGrenade",
            "HandGrenade",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer"

        };
        items[] = {
            "FirstAidKit",
            "Medikit" // this gives rise to difficulties

        };
        linkedItems[] = {
            "V_TacVest_oli",
            "H_MilCap_mcamo",
            "G_Shades_Blue",
            "optic_MRCO",
            "ItemMap",
            "ItemCompass",
            "ItemWatch",
            "ItemRadio",
            "ItemGPS"
        };

uniformClass = "U_B_CombatUniform_mcam_tshirt";
    backpack = "B_AssaultPack_mcamo";
    };

 

InitServer.sqf

[west,["WEST3",6]] call BIS_fnc_addRespawnInventory; // Medic

 

description.ext

#include "loadout.hpp"

Share this post


Link to post
Share on other sites
 class WEST3
    {
        displayName = "Medic";
        icon = "\A3\ui_f\data\map\VehicleIcons\iconManMedic_ca.paa";
        role = "Support";
        show = "side group _this == west";

        weapons[] = {
            "arifle_MXC_Black_F"
        };
        magazines[] = {
            "HandGrenade",
            "HandGrenade",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer",
            "30Rnd_65x39_caseless_mag_Tracer"
        };
        items[] = {
            "FirstAidKit"
        };
        linkedItems[] = {
            "V_TacVest_oli",
            "H_MilCap_mcamo",
            "G_Shades_Blue",
            "optic_MRCO",
            "ItemMap",
            "ItemCompass",
            "ItemWatch",
            "ItemRadio",
            "ItemGPS"
        };

uniformClass = "U_B_CombatUniform_mcam_tshirt";
    backpack = "B_Patrol_Medic_bag_F";
    }; 

 

Share this post


Link to post
Share on other sites

Don't yell with big fonts.

Just consider your backpack "B_AssaultPack_mcamo" is the "basic" empty class. Use "B_AssaultPack_rgr_Medic" instead.

Share this post


Link to post
Share on other sites

this is now as embarrassing as it may be. For good reason, there was another script that removes all the items from the backpack. And I did not remember it anymore. (3 weeks of pain and tears)

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

×