Jump to content
  • 0

spawning hatchet with 0 usage


ShatteredK

Question

I have a the default start up with a hatchet; however, when someone equips it, it's always 0. Is there something basic i'm missing to make a player spawn with a full hatchet? I've use ItemHatchet and ItemHatchet_DZE.

DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemWaterbottleBoiled","FoodSteakCooked"];
DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemMap","ItemHatchet_DZE","ItemToolbox"];
DefaultBackpack = "DZ_ALICE_Pack_EP1";
DefaultBackpackWeapon = "";
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Here is my old class loadout

// Loadout config
DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","HandRoadFlare","ItemWaterbottleUnfilled","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans"];
DefaultWeapons = ["ItemWatch","MeleeHatchet_DZE","ItemFlashlight","ItemCompass","ItemMap"];
DefaultBackpack = "DZ_Patrol_Pack_EP1";
DefaultBackpackWeapon = "";
Link to comment
Share on other sites

  • 0

Just add _DZE to hatchet

His issue is he didn't turn it into a melee weapon, but instead a item.

ItemHatchet_DZE <--- This is a item

MeleeHatchet_DZE <--- This is a weapon

 

DZE just stands for a DayZ Epoch item

Link to comment
Share on other sites

  • 0

Ok, so ever since the post I've tried ItemHatchet, ItemHatchet_DZE, MeleeHatchet_DZE and none of them seemed to work. Turns out, the default loadout in my init.sqf was not the file to edit... I had a separate file that also included the Default Loadouts. MeleeHatchet_DZE works wonder thank you!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...