Jump to content
  • 0

how do I put a default load out on epoch?


sour

Question

9 answers to this question

Recommended Posts

  • 0

at the bottom of your init.sqf file

like this?

 

//Default Loadout

DefaultMagazines =["Binocular","ItemGPS","ItemMap","ItemCompass","ItemWatch","FoodSteakCooked","ItemSodaCoke","ItemBandage","ItemBandage","ItemPainkiller","ItemMorphine","ItemAntibiotic","ItemBloodbag","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","1Rnd_HE_M203","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","Skin_Sniper1_DZ"];

DefaultWeapons = ["glock17_EP1","M4A1_HWS_GL_camo"];

DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99_m107"],[1]]]";

DefaultBackpackWeapon = "BAF_AS50_scoped";

 

it doesnt work, nobody can join

Link to comment
Share on other sites

  • 0

the rpt file says this

 

 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;
15:34:06 File mpmissions\DayZ_Epoch_11.Chernarus\init.sqf, line 94
15:34:06 Error in expression <4A1_HWS_GL_camo"];
DefaultBackpack = "["DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error position: <DZ_Backpack_EP1",[[],[]],[["10Rnd_127x99>
15:34:06   Error Missing ;

Link to comment
Share on other sites

  • 0

Try something a bit simpler first, then slowly add things. The following works for me:

 

// LOADOUT CONFIG
DefaultMagazines = ["6Rnd_45ACP","6Rnd_45ACP","ItemBandage"];
DefaultWeapons = ["ItemMap","revolver_EP1"];
DefaultBackpack = "DZ_TerminalPack_EP1";
DefaultBackpackWeapon = "";
Link to comment
Share on other sites

  • 0

I put mine under this line 

 

EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
dayz_fullMoonNights = true;
 
DefaultMagazines = ["ItemSodaPepsi","FoodSteakCooked","ItemMorphine","ItemPainkiller","ItemGoldBar","ItemBandage","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","ItemBandage"];
DefaultWeapons = ["ItemMatchbox_DZE","ItemKnife","ItemHatchet_DZE","MakarovSD","ItemMap","ItemCompass"];
DefaultBackpack = "DZ_TK_Assault_Pack_EP1";
DefaultBackpackWeapon = "M16A2";
 
This works perfectly for players on my server. Hope it works for you (or ammeneded to your liking)
 
Link to comment
Share on other sites

  • 0

Very nice. As a total noob to running an Epoch server, and to SQL in general, I found this pretty easy to implement on my test server.

Now all I need to figure out is how to add any custom scripts and we're in business.

 

Most of them come with rather simple instruction - opendayz.net forums is a great place to start. I always welcome people to take apart what ever I put together, if they are interested in seeing how things work, I try to keep an updated file for epoch in the thread linked below.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...