New config variable dayz_toolBreaking

Tool breaking is disabled by default.

Also made all scripts use Epoch sledge, which is a different model from
vanilla sledge.

PK_DZ was a duplicate of the new PKM_DZ.
This commit is contained in:
ebaydayz
2016-04-03 16:34:14 -04:00
parent d07d31983b
commit e69364991c
37 changed files with 323 additions and 231 deletions

View File

@@ -60,13 +60,13 @@ submachinegun[] = {
{Loot_WEAPON, 0.7, MP5_SD_DZ} //MP5SD
};
assaultrifles[] = {
{Loot_WEAPON, 0.5, AKS74U_Kobra_DZ}, //AKS_74_kobra
{Loot_WEAPON, 0.5, AK74_Kobra_DZ}, //AKS_74_kobra (stock is slightly different, otherwise identical)
{Loot_WEAPON, 0.5, AKS74U_DZ}, //AKS_74_U
{Loot_WEAPON, 0.1, AKS_GOLD},
{Loot_WEAPON, 0.5, AKM_DZ}, //AK_47_M
{Loot_WEAPON, 0.5, AK74_DZ}, //AK_74
{Loot_WEAPON, 0.3, FNFAL_DZ}, //FN_FAL
{Loot_WEAPON, 0.1, FNFAL_ANPVS4_DZ}, //FN_FAL_ANPVS4
{Loot_WEAPON, 0.1, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable
{Loot_WEAPON, 0.5, G36A_Camo_DZ}, //G36A_camo
{Loot_WEAPON, 0.5, G36C_DZ}, //G36C
{Loot_WEAPON, 0.5, G36C_camo},
@@ -74,16 +74,18 @@ assaultrifles[] = {
{Loot_WEAPON, 0.3, G36_C_SD_camo},
{Loot_WEAPON, 0.5, M16A2_DZ}, //M16A2
{Loot_WEAPON, 0.2, M16A2_GL_DZ}, //M16A2GL
{Loot_WEAPON, 0.1, M16A4_DZ}, //M16A4_ACG
{Loot_WEAPON, 0.1, M16A4_ACOG_DZ}, //M16A4_ACG (has slightly different scope)
{Loot_WEAPON, 0.5, M4A1_DZ}, //M4A1
{Loot_WEAPON, 0.4, M4A1_CCO_DZ}, //M4A1_Aim
{Loot_WEAPON, 0.1, M4A1_AIM_SD_camo},
{Loot_WEAPON, 0.1, M4A1_HWS_GL_camo},
{Loot_WEAPON, 0.4, M4A3_CCO_EP1},
{Loot_WEAPON, 0.4, SA58_DZ}, //Sa58P_EP1,Sa58V_EP1
{Loot_WEAPON, 0.3, SA58_CCO_DZ}, //Sa58V_CCO_EP1
{Loot_WEAPON, 0.3, SA58_ACOG_DZ}, //Sa58V_RCO_EP1
{Loot_WEAPON, 0.3, SA58_RIS_DZ},
{Loot_WEAPON, 0.4, SA58_DZ}, //Sa58P_EP1 (identical), Sa58V_EP1 (different stock)
{Loot_WEAPON, 0.3, SA58_CCO_DZ}, //No camo, no grip handle
{Loot_WEAPON, 0.3, Sa58V_CCO_EP1}, //Camo with grip handle
{Loot_WEAPON, 0.3, SA58_ACOG_DZ}, //No camo, no grip handle
{Loot_WEAPON, 0.3, Sa58V_RCO_EP1}, // Camo with grip handle
{Loot_WEAPON, 0.3, SA58_RIS_DZ}, //SA58_DZ with different rail
{Loot_WEAPON, 0.4, m8_compact},
{Loot_WEAPON, 0.3, m8_sharpshooter},
{Loot_WEAPON, 0.5, m8_holo_sd},
@@ -95,9 +97,9 @@ assaultrifles[] = {
machineguns[] = {
{Loot_WEAPON, 1.1, RPK74_DZ}, //RPK_74
{Loot_WEAPON, 1.1, M8_SAW},
{Loot_WEAPON, 1, PKM_DZ}, //Pecheneg_DZ
{Loot_WEAPON, 1, UK59_DZ}, //PK_DZ
{Loot_WEAPON, 0.9, L110A1_DZ},
{Loot_WEAPON, 1, Pecheneg_DZ},
{Loot_WEAPON, 1, PKM_DZ}, //PK_DZ
{Loot_WEAPON, 0.9, L110A1_DZ}, //BAF_L110A1_Aim_DZE scope is slightly different from L110A1_CCO_DZ, otherwise identical
{Loot_WEAPON, 1, MG36_camo},
{Loot_WEAPON, 1, M60A4_EP1_DZE},
{Loot_WEAPON, 1, MG36},
@@ -106,7 +108,7 @@ machineguns[] = {
{Loot_WEAPON, 0.8, M240_DZ},
{Loot_WEAPON, 0.8, M249_EP1_DZ},
{Loot_WEAPON, 0.9, M249_DZ},
{Loot_WEAPON, 0.5, Mk48_DZ} //Mk_48_DZ
{Loot_WEAPON, 0.5, Mk48_DZ} //Mk_48_DZ (removed, was a duplicate of Mk48_CCO_DZ)
};
militaryshotguns[] = {
{Loot_WEAPON, 2, Saiga12K},