Jump to content
FAILIX

Need Sample Mission for New Respawn Role Selection/Loadouts

Recommended Posts

Hey guys,

I would really appreciate if someone can upload or link me to a mission that has the new class/role/loadout selection (THIS) included and working.

 

Thanks a lot in advance,

Felix.

Share this post


Link to post
Share on other sites
On 8/23/2016 at 3:51 PM, FAILIX said:

I would really appreciate if someone can upload or link me to a mission that has the new class/role/loadout selection

 

Bump!

 

Agreed. been digging about and not finding posted missions with this respawn system included. hope someone can help out. 

 

thanks in advance.

Share this post


Link to post
Share on other sites

BIS_fnc_addRespawnInventory

this'll add your loadout to the role/loadouts selection

Example CfgRoles in your description.ext

 class CfgRoles
 {
      class Test
      {
           displayName = "Test";
           icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa";
      };
 };
class CfgRespawnInventory
 {
      class WEST1
      {
           displayName = "Light"; // Name visible in the menu
           icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa"; // Icon displayed next to the name
           role = "Test";
 
           // Loadout definition, uses same entries as CfgVehicles classes
           weapons[] = {
                "arifle_MXC_F",
                "Binocular"
           };
           magazines[] = {
                "30Rnd_65x39_caseless_mag",
                "30Rnd_65x39_caseless_mag",
                "SmokeShell"
           };
           items[] = {
                "FirstAidKit"
           };
           linkedItems[] = {
                "V_Chestrig_khk",
                "H_Watchcap_blk",
                "optic_Aco",
                "acc_flashlight",
                "ItemMap",
                "ItemCompass",
                "ItemWatch",
                "ItemRadio"
           };
           uniformClass = "U_B_CombatUniform_mcam_tshirt";
           backpack = "B_AssaultPack_mcamo";
      };
      class WEST2
      {
           // Alternative configuration pointing to a CfgVehicles class. Loadout will be copied from it.
           vehicle = "B_soldier_AR_F"
      };
 };

and then an example for the inventory you're adding.

This was all available at: https://community.bistudio.com/wiki/Arma_3_Respawn:_New_Respawn_Screen

 

so hopefully you get going in the right direction.

both code blocks for CfgRoles and cfgRespawnInvetory go into the description.ext

and you can use the addRespawnInventory function like this:

[west,"WEST1"] call BIS_fnc_addRespawnInventory;

 

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

×