gearheadman
New Member
Anyone know where the loot tables are now, since 1.7.6?
Especially heli, mil, and mil special?
Thanks!
Especially heli, mil, and mil special?
Thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
class HeliCrash: Default {
zombieChance = 0.8;
maxRoaming = 2;
zombieClass[] = {"z_soldier_pilot"};
lootChance = 2;
lootPos[] = {};
itemType[] = {
{"FN_FAL","weapon"},
{"bizon_silenced","weapon"},
{"M14_EP1","weapon"},
{"FN_FAL_ANPVS4","weapon"},
{"M107_DZ","weapon"},
{"BAF_AS50_scoped","weapon"},
{"Mk_48_DZ","weapon"},
{"M249_DZ","weapon"},
{"BAF_L85A2_RIS_SUSAT","weapon"},
{"DMR","weapon"},
{"","military"},
{"","medical"},
{"MedBox0","object"},
{"NVGoggles","weapon"},
{"AmmoBoxSmall_556","object"},
{"AmmoBoxSmall_762","object"},
{"Skin_Camo1_DZ","magazine"},
{"Skin_Sniper1_DZ","magazine"},
{"G36C","weapon"},
{"G36C_camo","weapon"},
//{"G36_C_SD_camo","weapon"},
{"G36A_camo","weapon"},
{"G36K_camo","weapon"},
{"100Rnd_762x54_PK","magazine"}
class Military: Default {
zombieChance = 0.3;
maxRoaming = 6;
zombieClass[] = {"z_soldier","z_soldier_heavy","z_policeman"};
lootChance = 1;
lootPos[] = {};
itemType[] = {
{"M9","weapon"},
{"M16A2","weapon"},
{"M16A2GL","weapon"},
{"M9SD","weapon"},
{"AK_74","weapon"},
{"M4A1_Aim","weapon"},
{"AKS_74_kobra","weapon"},
{"AKS_74_U","weapon"},
{"AK_47_M","weapon"},
{"M24","weapon"},
{"M1014","weapon"},
{"DMR","weapon"},
{"M4A1","weapon"},
{"M14_EP1","weapon"},
{"UZI_EP1","weapon"},
{"Remington870_lamp","weapon"},
{"glock17_EP1","weapon"},
{"MP5A5","weapon"},
{"MP5SD","weapon"},
{"M4A3_CCO_EP1","weapon"},
{"Binocular","weapon"},
{"ItemFlashlightRed","military"},
{"ItemKnife","military"},
{"ItemGPS","weapon"},
{"ItemMap","military"},
{"DZ_ALICE_Pack_EP1","object"}, // 16
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
{"DZ_British_ACU","object"}, // 18
{"DZ_CivilBackpack_EP1","object"}, // 24
{"DZ_Backpack_EP1","object"}, // 24
//Normal
{"","medical"},
{"","generic"},
{"","military"},
//{"Body","object"},
{"ItemEtool","weapon"},
{"ItemSandbag","magazine"},
{"Sa58P_EP1","weapon"},
{"Sa58V_EP1","weapon"},
{"BAF_L85A2_RIS_Holo","weapon"}
class MilitarySpecial: Default {
zombieChance = 0.4;
minRoaming = 2;
maxRoaming = 6;
zombieClass[] = {"z_soldier_heavy"};
lootChance = 0.4;
lootPos[] = {};
itemType[] = {
{"M16A2","weapon"},
{"M16A2GL","weapon"},
{"M249_DZ","weapon"},
{"M9SD","weapon"},
//{"M136","weapon"},
{"AK_74","weapon"},
{"M4A1_Aim","weapon"},
{"AKS_74_kobra","weapon"},
{"AKS_74_U","weapon"},
{"AK_47_M","weapon"},
{"M24","weapon"},
{"SVD_CAMO","weapon"},
{"M1014","weapon"},
{"M107_DZ","weapon"},
{"DMR","weapon"},
{"M4A1","weapon"},
{"M14_EP1","weapon"},
{"UZI_EP1","weapon"},
{"Remington870_lamp","weapon"},
{"glock17_EP1","weapon"},
{"M240_DZ","weapon"},
{"M4A1_AIM_SD_camo","weapon"},
{"M16A4_ACG","weapon"},
{"M4A1_HWS_GL_camo","weapon"},
{"Mk_48_DZ","weapon"},
{"M4A3_CCO_EP1","weapon"},
//Ammo
{"AmmoBoxSmall_556","object"},
{"AmmoBoxSmall_762","object"},
//{"NVGoggles","weapon"},
{"Binocular","weapon"},
{"ItemFlashlightRed","military"},
{"ItemKnife","military"},
{"ItemGPS","weapon"},
{"ItemMap","military"},
{"Binocular_Vector","military"},
{"DZ_ALICE_Pack_EP1","object"}, // 16
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
{"DZ_British_ACU","object"}, // 18
{"DZ_CivilBackpack_EP1","object"}, // 24
{"DZ_Backpack_EP1","object"}, // 24
{"","medical"},
{"","generic"},
{"","military"},
//{"Body","object"},
{"PipeBomb","magazine"},
{"Sa58V_RCO_EP1","weapon"},
{"Sa58V_CCO_EP1","weapon"},
//{"G36_C_SD_camo","weapon"},
{"M40A3","weapon"},
{"100Rnd_762x54_PK","magazine"}
I might look stupid now, but my serverside "config.cpp" is almost empty.Here's a bit of the default settings found in "config.cpp"...
..
..
In the file, you'll find the % right below the parts I pasted.
If you use the proper names and format, you can add weapons/items (also remove them); just keep in mind you have to add/delete the item and the proper % or you'll mess things up.
class CfgPatches {
class dayz_server {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"dayz_code"};
};
};