Files
DayZ-Epoch/dayz_code/cfgLoot.hpp
vbawol dd20524793 1.0.0.2 pre test
+ [FIXED] Can now refuel and siphon while swimming again. Must stay at
same position for 6 seconds.
+ [FIXED] Refuel sound now only plays when an actual refuel/siphon takes
place.
+ [FIXED] Check fuel levels again just before refuel or siphon actions.
+ [FIXED] Player Zombies can now no longer pickup "Take %" objects.
+ [FIXED] Dogs now correctly consume any available raw meat.
+ [FIXED] Machete now spawns correctly, it was missing
WeaponHolder_ItemMachete config.
+ [UPDATED] Updated batttleye scripts.
+ [CHANGED] Gutting zombies and animals now double checks for
"meatHarvested" after animation and before action.
+ [CHANGED] Survivor2_DZ was not in the list of AllPlayers.
+ [CHANGED] Lowered alert radius when gutting zombies to 50m instead of
100m.
+ [CHANGED] Moved all clothes to cfgloots to reduce spawn chances as we
add more. (clothes, militaryclothes, specialclothes)
+ [CHANGED] HMMWV URAL and UAZ road debris now has its own military loot
tables that include sandbags.
+ [CHANGED] New vehicle spawns now have a new damage system using a
random percent between min and max variables. Defaults:
(DynamicVehicleDamageLow = 0; DynamicVehicleDamageHigh = 100;)
+ [CHANGED] Animal count was too low was 5 now 8. Can be overridden with
dayz_maxAnimals set inside mission init.sqf.
+ [ADDED] Taming dogs now has a 50% chance to fail and consume meat,
Chance to tame without failure increases with number of days alive
(dayz_skilllevel).
+ [ADDED] Added spawnMarkerCount variable override to use more spawn
marker locations. (default=4)
+ [ADDED] Added medic animation requirement for gutting zombies and
animals so you can now walk away to cancel gutting process.
+ [ADDED] Added old bandit skin back in as Skin_Bandit2_DZ as a drop on
Residential.
+ [ADDED] New vehicle spawns now have a chance to spawn 0-3 loot
randomly from all cfgloots.
+ [ADDED] Added new desert themed domed camping tent (ItemTentDomed)
that holds 75 mags, 12 weapons, and 7 backpacks - thanks to vRNemesis
for model and texture.
+ [ADDED] Added server side ability to enabled taming dogs and can be
enabled by setting dayz_tameDogs = true; within mission init.sqf.
(default: false)
+ [ADDED] Added parachute spawning players as a server side option
enable server side with the variable dayz_paraSpawn = true; within
mission init.sqf. (default: false)
+ [ADDED] Randomly spawning (like helicopter crashes) Mass Grave with
8-16 zombies and 2x more loot.
+ [REMOVED] Commented out remaining unused call to stream_locationCheck.
+ [INFO] Changes can be made to all zombie spawn variables via the
mission init.sqf (defaults: dayz_maxLocalZombies = 40;
dayz_maxGlobalZombies =30; dayz_maxZeds = 500;)
+ [INFO] DZEdebug = true; (default: false) will enable debug so that
road debris and new vehicle spawns are visible via map markers. Also
debug will enable "Save to arma.RPT" that allows access of a tool to
obtain lootpos information for buildings used for adding support for
additional maps.
2013-04-10 08:54:13 -05:00

415 lines
5.9 KiB
C++

class CfgLoot {
trash[] = {
{
"TrashTinCan",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemTrashToiletpaper",
"ItemTrashRazor"
},
{
1,
0.1,
0.5,
0.4,
0.2
}
};
civilian[] = {
{
"TrashTinCan",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"8Rnd_9x18_Makarov",
"7Rnd_45ACP_1911",
"2Rnd_shotgun_74Slug",
"2Rnd_shotgun_74Pellets",
"ItemBandage",
"ItemPainkiller",
"FoodBioMeat"
},
{
0.09,
0.09,
0.09,
0.12,
0.09,
0.05,
0.05,
0.05,
0.05,
0.07,
0.05,
0.05,
0.05,
0.06,
0.06,
0.01
}
};
food[] = {
{
//trash
"TrashTinCan",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"FoodCanUnlabeled",
//Bags
"FoodPistachio",
"FoodNutmix"
},
{
//trash
0.13,
0.13,
0.13,
0.09,
0.13,
0.09,
0.09,
0.09,
0.09,
0.06,
//Bags
0.05,
0.04
}
};
generic[] = {
{
"TrashTinCan",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"TrashJackDaniels",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"ItemWaterbottleUnfilled",
"ItemWaterbottle",
"ItemBandage",
"7Rnd_45ACP_1911",
"5x_22_LR_17_HMR",
"10x_303",
"6Rnd_45ACP",
"2Rnd_shotgun_74Slug",
"2Rnd_shotgun_74Pellets",
"8Rnd_9x18_Makarov",
"15Rnd_W1866_Slug",
"WoodenArrow",
"HandRoadFlare",
"ItemPainkiller",
"HandChemGreen",
"HandChemBlue",
"HandChemRed",
"ItemHeatPack"
},
{
0.06,
0.06,
0.06,
0.04,
0.04,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.11,
0.03,
0.01,
0.04,
0.04,
0.05,
0.05,
0.09,
0.02,
0.04,
0.07,
0.02,
0.01,
0.03,
0.03,
0.04
}
};
medical[] = {
{
"ItemBandage",
"ItemPainkiller",
"ItemMorphine",
"ItemEpinephrine",
"ItemAntibiotic",
"ItemHeatPack"
},
{
0.8,
0.5,
0.5,
0.2,
0.3,
0.1
}
};
hospital[] = {
{
"ItemBandage",
"ItemPainkiller",
"ItemMorphine",
"ItemEpinephrine",
"ItemBloodbag",
"ItemAntibiotic"
},
{
0.33,
0.17,
0.13,
0.09,
0.17,
0.12
}
};
military[] = {
{
"TrashTinCan",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"ItemBandage",
"ItemAntibiotic",
"ItemPainkiller",
"ItemMorphine",
"30Rnd_556x45_Stanag",
"20Rnd_762x51_DMR",
"17Rnd_9x19_glock17",
"15Rnd_9x19_M9SD",
"15Rnd_9x19_M9",
"30Rnd_762x39_AK47",
"30Rnd_545x39_AK",
"5Rnd_762x51_M24",
"10Rnd_127x99_m107",
"8Rnd_B_Beneli_74Slug",
"1Rnd_HE_M203",
"FlareWhite_M203",
"FlareGreen_M203",
"1Rnd_Smoke_M203",
"200Rnd_556x45_M249",
"HandGrenade_west",
"SmokeShell",
"SmokeShellRed",
"SmokeShellGreen",
"8Rnd_B_Beneli_Pellets",
"30Rnd_556x45_StanagSD",
"30Rnd_9x19_MP5",
"30Rnd_9x19_MP5SD",
"100Rnd_762x51_M240",
"HandChemGreen",
"HandChemBlue",
"HandChemRed",
"ItemHeatPack",
"FoodMRE"
},
{
0.18,
0.09,
0.01,
0.01,
0.04,
0.04,
0.04,
0.01,
0.04,
0.04,
0.05,
0.01,
0.02,
0.04,
0.04,
0.01,
0.01,
0.04,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.04,
0.02,
0.02,
0.04,
0.01,
0.02,
0.01,
0.01,
0.02,
0.02,
0.02,
0.04,
0.03
}
};
policeman[] = {
{
"ItemBandage",
"7Rnd_45ACP_1911",
"6Rnd_45ACP",
"15Rnd_W1866_Slug",
"8Rnd_B_Beneli_74Slug",
"HandRoadFlare"
},
{
1,
0.8,
0.3,
0.3,
0.5,
0.3
}
};
hunter[] = {
{
"ItemBandage",
"5x_22_LR_17_HMR",
"7Rnd_45ACP_1911",
"10x_303",
"ItemWaterbottleUnfilled",
"WoodenArrow",
"ItemHeatPack",
"FoodMRE",
"FoodNutmix"
},
{
1,
0.5,
0.2,
0.5,
0.2,
1,
0.2,
0.04,
0.1
}
};
worker[] = {
{
"TrashTinCan",
"TrashJackDaniels",
"ItemSodaEmpty",
"ItemSodaCoke",
"ItemSodaPepsi",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta",
"ItemBandage",
"ItemPainkiller",
"ItemWire",
"ItemTankTrap",
},
{
0.09,
0.09,
0.09,
0.12,
0.09,
0.05,
0.05,
0.05,
0.05,
0.06,
0.06,
0.01,
0.01
}
};
clothes[] = {
{
"Skin_RU_Policeman_DZ",
"Skin_Pilot_EP1_DZ",
"Skin_Functionary1_EP1_DZ",
"Skin_Priest_DZ",
"Skin_Rocker2_DZ",
"Skin_SurvivorW3_DZ",
"Skin_SurvivorWpink_DZ",
"Skin_SurvivorWurban_DZ",
},
{
0.01,
0.02,
0.03,
0.02,
0.02,
0.05,
0.02,
0.01,
}
};
militaryclothes[] = {
{
"Skin_Camo1_DZ",
"Skin_Sniper1_DZ",
"Skin_Rocket_DZ",
"Skin_Soldier1_DZ",
"Skin_Drake_Light_DZ",
"Skin_Soldier_TL_PMC_DZ",
"Skin_Soldier_Sniper_PMC_DZ",
"Skin_Soldier_Bodyguard_AA12_PMC_DZ",
"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",
},
{
0.03, // "Skin_Camo1_DZ",
0.02, // "Skin_Sniper1_DZ",
0.03, // "Skin_Rocket_DZ",
0.05, // "Skin_Soldier1_DZ",
0.01, // "Skin_Drake_Light_DZ"
0.02, // Skin_Soldier_TL_PMC_DZ
0.02, // Skin_Soldier_Sniper_PMC_DZ
0.02, // Skin_Soldier_Bodyguard_AA12_PMC_DZ
0.02, // Skin_CZ_Special_Forces_GL_DES_EP1_DZ
}
};
specialclothes[] = {
{
"Skin_Ins_Soldier_GL_DZ",
"Skin_GUE_Commander_DZ",
"Skin_Bandit1_DZ",
"Skin_Bandit2_DZ",
"Skin_BanditW1_DZ",
"Skin_BanditW2_DZ",
"Skin_TK_INS_Soldier_EP1_DZ",
"Skin_TK_INS_Warlord_EP1",
"Skin_SurvivorWcombat_DZ",
"Skin_SurvivorWdesert_DZ",
},
{
0.01, //"Skin_Ins_Soldier_GL_DZ",
0.01, //"Skin_GUE_Commander_DZ",
0.05, //"Skin_Bandit1_DZ",
0.02, //"Skin_Bandit2_DZ",
0.05, //"Skin_BanditW1_DZ",
0.03, //"Skin_BanditW2_DZ",
0.01, //"Skin_TK_INS_Soldier_EP1_DZ",
0.01, //"Skin_TK_INS_Warlord_EP1",
0.01, //"Skin_SurvivorWcombat_DZ",
0.03, //"Skin_SurvivorWdesert_DZ",
}
};
};