few more things

+ [CHANGED] mass grave now its own class name and loot has been changed
to military special.
+ [ADDED] Key icons updated
This commit is contained in:
vbawol
2013-05-24 09:56:53 -05:00
parent 0135cd0c65
commit 965653fb42
11 changed files with 118 additions and 47 deletions

View File

@@ -1331,7 +1331,11 @@ class Citizen1; // External class reference
// This parent class is made to make referring to these objects easier later with allMissionObjects // This parent class is made to make referring to these objects easier later with allMissionObjects
class SpawnableWreck : House {}; class SpawnableWreck : House {};
class Mass_grave;
class Mass_grave_DZ: Mass_grave
{
displayName = "Mass Grave W/ Zombies";
};
class UH1Wreck_DZ: SpawnableWreck class UH1Wreck_DZ: SpawnableWreck
{ {
model = "\ca\air2\UH1Y\UH1Y_Crashed.p3d"; model = "\ca\air2\UH1Y\UH1Y_Crashed.p3d";

View File

@@ -1467,9 +1467,12 @@ class HeliCrash_No50s: Default {
// DAYZ AMP More buildings // DAYZ AMP More buildings
class Mass_grave: HouseRoaming { class Mass_grave_DZ: HouseRoaming {
zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
minRoaming = 8; minRoaming = 8;
maxRoaming = 16; maxRoaming = 16;
lootChance = 1;
zombieChance = 1;
}; };
class Land_Shed_W02_EP1: FarmRoaming{}; class Land_Shed_W02_EP1: FarmRoaming{};
class Land_MBG_ApartmentsOne_W: HouseRoaming{}; class Land_MBG_ApartmentsOne_W: HouseRoaming{};
@@ -1749,61 +1752,125 @@ class HeliCrash_No50s: Default {
}; };
class MassGrave: Default { class MassGrave: Default {
zombieChance = 0.3; zombieChance = 1;
maxRoaming = 3; maxRoaming = 3;
zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3"}; zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
lootChance = 0.5; lootChance = 1;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "ItemWatch","generic" }, { "M16A2","weapon" },
{ "ItemCompass","generic" }, { "M16A2GL","weapon" },
{ "ItemMap","weapon" }, { "M249_DZ","weapon" },
{ "Makarov","weapon" }, { "M9SD","weapon" },
{ "MakarovSD","weapon" }, { "Pecheneg_DZ","weapon"},
{ "Colt1911","weapon" }, { "AK_74","weapon" },
{ "M4A1_Aim","weapon" },
{ "ItemKnife","generic" }, { "AKS_74_kobra","weapon" },
{ "ItemMatchbox","generic" }, { "AKS_74_U","weapon" },
{ "ItemToolbox","weapon" }, { "AK_47_M","weapon" },
{ "M24","weapon" },
{ "WeaponHolder_ItemJerrycanEmpty","object" }, { "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"}, // 30
{"DZ_LargeGunBag_EP1","object"}, // 45
{ "","medical" },
{ "","generic" }, { "","generic" },
{ "huntingrifle","weapon" }, { "","military" },
{ "LeeEnfield","weapon" }, //{"Body","object"},
{ "Winchester1866","weapon" }, {"PipeBomb","magazine"},
{ "","trash" }, {"Sa58V_RCO_EP1","weapon"},
{"Crossbow_DZ","weapon"}, {"Sa58V_CCO_EP1","weapon"},
{ "PartWoodPile","magazine" }, {"G36_C_SD_camo","weapon"},
{ "WeaponHolder_ItemHatchet","object" }, {"M40A3","weapon"},
{ "MR43","weapon" }, {"100Rnd_762x54_PK","magazine"},
{ "","militaryclothes" },
{"WeaponHolder_ItemMachete", "object"}, {"WeaponHolder_ItemMachete", "object"},
{ "20Rnd_762x51_SB_SCAR","magazine" },
{ "SCAR_H_LNG_Sniper_SD","weapon" }, { "SCAR_H_LNG_Sniper_SD","weapon" },
}; };
itemChance[] = { itemChance[] = {
0.06, 0.10,
0.08,
0.05, 0.05,
0.06, 0.01,
0.02,
0.01, //PKP
0.10,
0.02,
0.10,
0.10,
0.10,
0.01,
0.01,
0.20,
0.01,
0.02,
0.10,
0.03, 0.03,
0.08, 0.20,
0.10,
0.05, 0.20,
0.06,
0.08,
0.06,
0.28,
0.01, 0.01,
0.04, 0.04,
0.05,
0.02,
0.01,
0.08,
0.04,
0.02,
//0.01, //NVGoggles
0.10,
0.05,
0.15,
0.01, //ItemGPS
0.03, 0.03,
0.22, 0.01,
0.03, //Bags
0.11, 0.08, //16
0.17, 0.08, //16
0.06, 0.06, //18
0.03, 0.01, //24
0.01, //DZ_Backpack_EP1 24
0.01, //45
0.30,
1.00,
5.00, //military
//0.20,
0.01, //PipeBomb
0.01, //Sa58V_RCO_EP1
0.01, //Sa58V_CCO_EP1
0.01, //{"G36_C_SD_camo","weapon"},
0.02, // M40A3
0.01, //("100Rnd_762x54_PK","magazine"}
0.05, // militaryclothes
0.03, 0.03,
0.01 0.01
}; };

View File

@@ -22,10 +22,10 @@ while {true} do {
_timeToSpawn = time + _frequency + _timeAdjust; _timeToSpawn = time + _frequency + _timeAdjust;
//Adding some Random systems //Adding some Random systems
_crashModel = ["UH60Wreck_DZ","UH1Wreck_DZ","Mass_grave"] call BIS_fnc_selectRandom; _crashModel = ["UH60Wreck_DZ","UH1Wreck_DZ","Mass_grave_DZ"] call BIS_fnc_selectRandom;
if(_crashModel == "Mass_grave") then { if(_crashModel == "Mass_grave_DZ") then {
_lootTable = "MassGrave"; _lootTable = "MassGrave";
} else { } else {
//Crash loot just uncomment the one you wish to use by default with 50cals is enabled. //Crash loot just uncomment the one you wish to use by default with 50cals is enabled.
@@ -84,7 +84,7 @@ while {true} do {
_num = round(random _randomizedLoot) + _guaranteedLoot; _num = round(random _randomizedLoot) + _guaranteedLoot;
if(_crashModel == "Mass_grave") then { if(_crashModel == "Mass_grave_DZ") then {
_spawnFire = false; _spawnFire = false;
_num = _num * 2; _num = _num * 2;
}; };