I've set up a custom loadout that is created by loading an sqf file from my init.sqf. The custom loadout sqf file looks like this. The admin loadout I created was just to test to be sure it was working. When I die, I spawn with everything in that list:
//Default Loadout
DefaultMagazines = ["ItemBandage","ItemMorphine","ItemPainkiller","FoodCanBakedBeans","ItemWaterbottle","ItemAntibiotic","15Rnd_W1866_Slug","ItemGoldBar10oz"];DefaultWeapons = ["Winchester1866","ItemHatchet_DZE"];DefaultBackpack = "DZ_Patrol_Pack_EP1";DefaultBackpackWeapon = "";//Admin Loadoutif ((getPlayerUID player) in ["4358144"]) then { //Admins: BetterDeadThanZedDefaultMagazines = ["ItemBandage","ItemMorphine","ItemPainkiller","FoodCanBakedBeans","ItemWaterbottle","ItemAntibiotic","15Rnd_W1866_Slug","ItemGoldBar10oz"];DefaultWeapons = ["Winchester1866","ItemHatchet_DZE"];DefaultBackpack = "DZ_ALICE_Pack_EP1";DefaultBackpackWeapon = "";};
Now I want to get into more complicated loadouts, including primary weapon, secondary weapon, ammo for both and toolbelt items. Can anyone advise the correct format for this? I believe I need to put both the primary and secondary weapons in the "DefaultWeapons" section, along with the toolbelt items? Is this correct?