fixes part 3

added empty briefcase to new office loot table
This commit is contained in:
vbawol
2013-06-22 21:17:43 -05:00
parent a02b021daf
commit 5959096790
4 changed files with 77 additions and 4 deletions

View File

@@ -580,9 +580,82 @@ class CfgBuildingLoot {
0.01
};
};
class Office: Residential {
class Office: Default {
maxRoaming = 3;
zombieClass[] = {"z_suit1","z_suit2"};
zombieChance = 0.3;
lootChance = 0.4;
lootPos[] = {};
itemType[] = {
{ "ItemSodaMdew","magazine" },
{ "ItemSodaRbull","magazine" },
{ "ItemWatch","generic" },
{ "ItemCompass","generic" },
{ "ItemMap","weapon" },
{ "Makarov","weapon" },
{ "MakarovSD","weapon" },
{ "Colt1911","weapon" },
{ "ItemFlashlight","generic" },
{ "ItemKnife","generic" },
{ "ItemMatchbox","generic" },
{ "","generic" },
{ "LeeEnfield","weapon" },
{ "revolver_EP1","weapon" },
{"DZ_Assault_Pack_EP1","object"}, // 12
{"DZ_Czech_Vest_Puch","object"}, // 12-0
{"DZ_ALICE_Pack_EP1","object"}, // 16
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
{"DZ_British_ACU","object"}, // 18
{ "Winchester1866","weapon" },
{ "WeaponHolder_ItemTent","object" },
{ "WeaponHolder_ItemTentDomed","object" },
{ "WeaponHolder_ItemTentDomed2","object" },
{ "","military" },
{ "","trash" },
{"Crossbow_DZ","weapon"},
{ "Binocular","weapon" },
{ "PartWoodPile","magazine" },
{ "","clothes" },
{ "","specialclothes" },
{ "WeaponHolder_MeleeCrowbar","object" },
{ "ItemBriefcaseEmpty","magazine" },
};
itemChance[] = {
0.001,
0.004,
0.04,
0.03,
0.02,
0.06,
0.01,
0.02,
0.001,
0.04,
0.01,
0.35,
0.03,
0.02,
0.02,
0.02,
0.015,
0.01,
0.005,
0.01,
0.003,
0.003,
0.003,
0.02,
0.15,
0.01,
0.02,
0.02,
0.01,
0.005,
0.03,
0.01
};
};
class Industrial: Default {
zombieChance = 0.4;

View File

@@ -124,7 +124,7 @@ if (!isDedicated) then {
_control1 = _display displayctrl 8400;
_control2 = _display displayctrl 102;
// 120 sec timeout
while { _timeOut < 1500 && !dayz_clientPreload && !dayz_authed } do {
while { _timeOut < 500 && !dayz_clientPreload && !dayz_authed } do {
if ( isNull _display ) then {
waitUntil { !dialog; };

View File

@@ -2430,7 +2430,7 @@ class CfgMagazines
type = 256;
displayName = "Zombie Parts";
model = "\z\addons\dayz_epoch\models\zombie_parts_bag_v2.p3d";
picture = "\z\addons\dayz_epoch\pictures\parts_bag_texture3c_CA.paa";
picture = "\z\addons\dayz_epoch\pictures\equip_zparts_CA.paa";
descriptionShort = "Zombie Parts in a Bag: Trade these for Bio Meat at medic traders.";
};
@@ -3239,7 +3239,7 @@ class CfgMagazines
displayName = "Blue Fin Tuna (Cooked)";
descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?";
model = "\z\addons\dayz_epoch\models\tuna_cooked.p3d";
picture = "\z\addons\dayz_epoch\models\equip_tuna_cooked_CA.paa";
picture = "\z\addons\dayz_epoch\pictures\equip_tuna_cooked_CA.paa";
bloodRegen = 5000;
};
class FoodBioMeat: FoodEdible