Jump to content
VII.Racetrack -ITA-

Custom Loadout with New Respawn Menu

Recommended Posts

Hi all!

 

I've searched a lot my let's say that coding is not my first ability XD

 

Following this https://forums.bistudio.com/topic/189706-new-respawn-screen-dev-branch/

I tried with succes to write my own Loadout and I could make it be selectable from the new resapwn menu in my Mission..

And it's working fine.

 

The problem is that I think that there must be a faster way to write down my Loadout...

 

What I did to do that (wich took me a lot of time) was to:

 

-Set Up my Loadout in the Editor with the "Arsenal"

-Click on the "Export" button wich saved my Arsenal 

-Ctrl+V in a Notepad.

 

THIS IS THE RESULT

 

 

comment "Exported from Arsenal by VII.Racetrack";

 
comment "Remove existing items";
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
 
comment "Add containers";
this forceAddUniform "rhs_uniform_FROG01_wd";
this addItemToUniform "FirstAidKit";
this addItemToUniform "rhsusf_ANPVS_14";
this addItemToUniform "rhs_mag_mk3a2";
this addItemToUniform "Laserbatteries";
this addVest "rhsusf_spc_teamleader";
for "_i" from 1 to 5 do {this addItemToVest "FirstAidKit";};
for "_i" from 1 to 4 do {this addItemToVest "rhs_mag_mk3a2";};
this addItemToVest "rhs_mag_an_m8hc";
for "_i" from 1 to 2 do {this addItemToVest "Chemlight_green";};
for "_i" from 1 to 2 do {this addItemToVest "Chemlight_red";};
for "_i" from 1 to 5 do {this addItemToVest "rhs_mag_30Rnd_556x45_Mk318_Stanag";};
for "_i" from 1 to 3 do {this addItemToVest "rhs_mag_M433_HEDP";};
this addBackpack "B_ViperLightHarness_blk_F";
for "_i" from 1 to 3 do {this addItemToBackpack "rhs_mag_M433_HEDP";};
for "_i" from 1 to 2 do {this addItemToBackpack "SatchelCharge_Remote_Mag";};
this addHeadgear "rhs_booniehat2_marpatwd";
this addGoggles "G_Lowprofile";
 
comment "Add weapons";
this addWeapon "rhs_weap_hk416d10";
this addPrimaryWeaponItem "rhsusf_acc_nt4_black";
this addPrimaryWeaponItem "rhsusf_acc_anpeq15_bk";
this addPrimaryWeaponItem "rhsusf_acc_eotech_552";
this addPrimaryWeaponItem "rhsusf_acc_grip2";
this addWeapon "rhs_weap_M320";
this addWeapon "lerca_1200_black";
 
comment "Add items";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";
this linkItem "B_UavTerminal";
this linkItem "O_NVGoggles_ghex_F";
 
comment "Set identity";
this setFace "CamoHead_White_02_F";
this setSpeaker "Male04ENG";
 

 

After having my LoadOut wrote in a NotePad (WICH IS A BIG SUCCES FOR ME XD)

I had to replace manually every item in the descrpition.ext that I found in the reference Topic linked above obtaining this:

 

 

class CfgRespawnInventory

 {
      class WEST1
      {
           displayName = "Racetrack"; // Name visible in the menu
           icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa"; // Icon displayed next to the name
           role = "Incursore";
 
           // Loadout definition, uses same entries as CfgVehicles classes
           weapons[] = {
                "rhs_weap_hk416d10",
                "rhs_weap_M320",
                "lerca_1200_black"
                
           };
           magazines[] = {
                "rhs_mag_30Rnd_556x45_Mk318_Stanag",
                "rhs_mag_30Rnd_556x45_Mk318_Stanag",
                "rhs_mag_30Rnd_556x45_Mk318_Stanag",
                "rhs_mag_30Rnd_556x45_Mk318_Stanag",
                "rhs_mag_30Rnd_556x45_Mk318_Stanag",
                "rhs_mag_30Rnd_556x45_Mk318_Stanag"
                
           };
           items[] = {
                "FirstAidKit",
                "FirstAidKit",
                "FirstAidKit",
                "FirstAidKit",
                "FirstAidKit",
                "FirstAidKit",
                "Laserbatteries",
                "rhs_mag_mk3a2",
                "rhs_mag_mk3a2",
                "rhs_mag_mk3a2",
                "rhs_mag_mk3a2",
                "rhsusf_ANPVS_14",
                "SatchelCharge_Remote_Mag",
                "Chemlight_red",
                "Chemlight_red",
                "Chemlight_green",
                "Chemlight_green",
           };
           linkedItems[] = {
                "rhsusf_acc_eotech_552",
                "rhsusf_acc_nt4_black",
                "rhsusf_acc_anpeq15_bk",
                "rhsusf_acc_grip2",
                "ItemMap",
                "ItemCompass",
                "ItemWatch",
                "ItemRadio",
                "O_NVGoggles_ghex_F",
                "B_UavTerminal",
                "G_Lowprofile",
                "rhs_booniehat2_marpatwd"
           };
           uniformClass = "rhs_uniform_FROG01_wd";
           backpack = "B_ViperLightHarness_blk_F";
           
      };
  };

 

 

The question is...

 

IS THERE A FASTER WAY? 

 

I saw another button that allowing me to "save with name" my Loadout but I can't Load it in the mission and I can't find the place where it saves it.

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

×