The default number for dayz_maxMaxWeaponHolders is for DayZ Mod. Since Epoch has the addition of small loot spawn points, it should have slightly higher allowed loot spawns around the player.
Replace switch do block with call using if and exitWith statements. Magazine class items are the most commonly spawned item so it is placed at the top. Switch to the more efficient form of createVehicle. Set more local variables at the top to make the file more readable. Prevent the generator from spawning halfway into the floor by raising the z coordinate. Lower the backpack spawns to prevent them from floating. Add replacement items if dayz_toolBreaking and dayz_knifeDulling are disabled.
Replace switch do block with call scope with if, exitWith. Add magazine selection to spawned weapons. This functions spawns weapons into a container. It should also spawn a random amount of matching magazines.
If a military building is selected then matching groups of RU,US,EU, or CZ loot are selected so that weapons, ammo, and attachments spawned in the building will match. Reintroduce loot position shuffling. This was a feature in 1.0.5.1. I'm not sure if this is necessary but it changes the order in which the loot positions are selected so the loot would in theory be in different places each time.
Checking for near zombies and players in the forEach loop is inappropriate and inefficient. Because it was checking for near zombies, the internal zombies were not spawning at all. It appeared that they were because the walking zombies were using the building position plus the radius option on createAgent. fn_selectRandomLocation using the size of the object as the minimum distance prevents the zombies from potentially spawning into objects and dying. The max distance for the crash site zombies is increased a bit so they can spawn farther away from the object since they are in an open field. The position on the internal zombies should not have the z coordinate automatically set to zero. This prevents the zombies from spawning at positions on upper floors of buildings.
Function _cantSee should not be recompiled every time this file runs. fnc_fieldOfView is compiled in compiles.sqf and called here. Checking zombie counts in this file is redendant. It is already being done in player_spawnCheck and building_SpawnZombies. Variables "agentObject" and "BaseLocation" are unused. The createAgent command should not be used with a radius. This causes some of the zombies to be killed after being spawned into objects. Some of the walking zombies were spawning inside the building when they should not.
equip_tent_poles are now in the loot tables and can be used for tent crafting.
The recipe for crafting tents and nettings has changed a bit. Instead of poles, tent poles are needed now.
The string for equip_tent_poles is confusing if the requirements are 6 Tent Poles but meant is 1x (6 Tent Poles).
Warm Clothes can be adjusted in the configvariables with DZE_WarmClothes. Shivering can be enabled or disabled with the last value in the DZE_TempVars array. A temperature effect for snow was added too.
Changing the messages for wipes. It cannot be done like it was before for the german language.
Thx @RedLink-kam for the russain translations.
Ive re-ordered the new strings so the Namalsk compatibility is the last again. Namalsk should be always last since it is just an addon from a different mod.