top of page

​EXTDB - KEEP START LOADOUT ON RESPAWN

Thanks to Babast from FOXCOM TEAM for this tutorial

To keep same start loadout when you respawn, for exemple you play BLUFOR Rifleman soldier and you spawn with OPFOR NVgoogles and PlateCarrier2, and each respawn (when you die) you will spawn with OPFOR NVgoogles and PlateCarrier2, not the basic BLUFOR Rifleman loadout, follow theses steps :

​

STEP 1 : Follow this tutorial to install your database/scripts -> http://armadatabase.wixsite.com/armadb/f8

STEP 2 : go to your mission in EDEN editor

​

In Attributes on the top, go to General, and State

​

Click on "Activate debug console for all"

​

After go to Play on the top and Play in multiplayer, and make local or online game

​

Select any soldier and spawn

STEP 3 : Press ECHAP and on the debug console (in the middle of the screen), past :

​

copyToClipboard format ["[%1,%2],", str typeOf player, getUnitLoadout player];

​

Click on EXEC LOCAL just below

 

Press ALT+TAB and create text file on your desktop, and right click/past inside

​

You will get this kind of code :

​

["B_Soldier_F",[[],[],[],["U_B_GEN_Soldier_F",[]],["V_PlateCarrier2_blk",[]],[],"H_HelmetSpecB_blk","G_Balaclava_TI_G_tna_F",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","NVGoggles_OPFOR"]]],

​

​

​

STEP 4 : Now, go to your_mission\addons\BAS_persistence\client and open BAS_persistence_client_initialization

​

Search the line BAS_persistence_client_defaultLoadoutPerClass and past below :


BAS_persistence_client_defaultLoadoutPerClass =
[
      ["B_Soldier_F",[[],[],[],["U_B_GEN_Soldier_F",[]],["V_PlateCarrier2_blk",[]],[],"H_HelmetSpecB_blk","G_Balaclava_TI_G_tna_F",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","NVGoggles_OPFOR"]]],
];

​

​

To see exactly that you must do, see the first exemple below (loadout for 1 unit) and the second exemple (loadout for more than 4 units)

​

Note : "B_Soldier_F" is the name of the Class (category of character)

​

Repeat all of the steps with different characters (BLUFOR pilot, OPFOR sniper, etc..) to change their respawn loadout

​

Save this file and test your mission (die/respawn to see your starting custom loadout be kept on respawn)

​

>>> DONT FORGET TO DISABLE ON YOUR MISSION AFTER ALL MODIFICATIONS DEBUG CONSOLE

On your mission on EDEN EDITOR, go to Attributes > General > State and "Activate debug console just in editor"

​

​

bottom of page