Jump to content
2LTMerc

Respawn Loadout. Please help!! Losing my mind!!

Recommended Posts

If I post what I currently have for my description.ext and init.sqf, can someone rewrite them to actually work? I can't get the loadouts to show up when I go to spawn in on my mission. I am losing my mind trying to figure this out.

Share this post


Link to post
Share on other sites

Description.ext

class CfgRespawnInventory
 {
      class WEST1
      {
           displayName = "Squad Lead"; // Name visible in the menu
           icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa"; // Icon displayed next to the name
           role = "Rifleman";
 
           // Loadout definition, uses same entries as CfgVehicles classes
           weapons[] = {
                "CUP_arifle_m4a1_BUIS_GL",
                "rhsusf_weap_m9",
                "Binocular"
           };
           magazines[] = {
                "30Rnd_556x45_Stanag_Tracer_Red",
                "30Rnd_556x45_Stanag_Tracer_Red",
                "30Rnd_556x45_Stanag_Tracer_Red",
                "30Rnd_556x45_Stanag_Tracer_Red",
                "30Rnd_556x45_Stanag_Tracer_Red",
                "rhsusf_mag_15Rnd_9x19_FMJ",
                "rhsusf_mag_15Rnd_9x19_FMJ",
                "rhs_ammo_m67",
                "rhs_ammo_m67",
                "rhs_ammo_m67"
           };
           items[] = {
                "ACE_fieldDressingItem",
                "ACE_fieldDressingItem",
                "ACE_fieldDressingItem",
                "ACE_fieldDressingItem",
                "ACE_fieldDressingItem",
                "ACE_fieldDressingItem",
                "ACE_Item_SpraypaintGreen",
                "ACE_Item_SpraypaintGreen",
                "ACE_Item_SpraypaintGreen",
                "ACE_morphineItem",
                "ACE_morphineItem",
                "ACE_morphineItem",
                "ACE_tourniquetItem",
                "ACE_tourniquetItem"
           };
           linkedItems[] = {
                "rhsusf_iotv_ocp_Squadleader",
                "rhsusf_ach_helmet_ocp_norotos",
                "CUP_optic_compm2_black",
                "rhsusf_acc_anpeq15side_bk",
                "CUP_muzzle_snds_m16",
                "ItemMap",
                "ItemCompass",
                "ItemWatch",
                "ItemRadio",
                "ItemGPS"
           };
           uniformClass = "rhs_uniform_cu_ocp";
           backpack = "rhsusf_assault_eagleaiii_ocp";
      };
 };

Init.sqf

myRespawnInventory = [missionNamespace,"WEST1"] call BIS_fnc_addRespawnInventory;

 

This is what I have so far, but it will not load. Can someone re-write it to work and explain to me how you got it to work? Please and thank you!

Share this post


Link to post
Share on other sites

I think this goes into "Mission Editing and Scripting" section, or since you're asking for help it might need to go into the "Find or Offer Editing" threads.  The section you're in now is for editing and scripting object models, their configs, and possibly their materials.

 

Admin, that young soldier needs your help to place his topic in a more relevant spot.

Good luck, 1LT Mercer!

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

×