S4M Posted August 28, 2014 Report Share Posted August 28, 2014 modify the players inventory when entering the server and when they die. anyone know how to do this? Link to comment Share on other sites More sharing options...
0 Fully Posted August 28, 2014 Report Share Posted August 28, 2014 Throw something like into your init =) // Default Loadout Config for New Spawns DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","ItemMorphine","ItemWaterbottleBoiled","FoodCanBakedBeans"]; DefaultWeapons = ["MeleeHatchet","ItemFlashlight","ItemMap"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; Link to comment Share on other sites More sharing options...
0 S4M Posted August 29, 2014 Author Report Share Posted August 29, 2014 I have this in my int: //Epoch Config Variables call compile preprocessFileLineNumbers "epochconfig.sqf"; and here //Customize fresh spawn loadout DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller"]; DefaultWeapons = ["ItemMap","ItemToolbox"]; DefaultBackpack = ""; DefaultBackpackItems = [""]; and does not work :( Link to comment Share on other sites More sharing options...
0 syco Posted August 29, 2014 Report Share Posted August 29, 2014 Place it in the correct spot it will work. Should be inside the epoch config. This is how mine is below dayz_maparea and above dayz_paraspawn. Works great for me. dayz_MapArea = 14000; DefaultMagazines = ["ItemPainkiller","ItemBandage","ItemBandage"]; DefaultWeapons = ["ItemMap","ItemToolbox"]; DefaultBackpack = ""; DefaultBackpackWeapon = ""; dayz_paraSpawn = true; S4M 1 Link to comment Share on other sites More sharing options...
0 DimitriPokki Posted August 29, 2014 Report Share Posted August 29, 2014 DefaultBackpackWeapon = "DMR_DZ";(example) dont work Link to comment Share on other sites More sharing options...
0 syco Posted August 29, 2014 Report Share Posted August 29, 2014 DefaultBackpackWeapon = "DMR_DZ";(example) dont work You need to change it to this to add items inside backpack. DefaultBackpackItems = ["DMR_DZ","20Rnd_762x51_DMR"]; DimitriPokki 1 Link to comment Share on other sites More sharing options...
0 DimitriPokki Posted August 30, 2014 Report Share Posted August 30, 2014 You need to change it to this to add items inside backpack. DefaultBackpackItems = ["DMR_DZ","20Rnd_762x51_DMR"]; thank Link to comment Share on other sites More sharing options...
0 S4M Posted August 30, 2014 Author Report Share Posted August 30, 2014 thanks syco this worked for me :D Link to comment Share on other sites More sharing options...
Question
S4M
modify the players inventory when entering the server and when they die.
anyone know how to do this?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now