fix tag friendly and crash spawner fixes

fixed biomeat traders on #11
This commit is contained in:
vbawol
2013-07-06 13:44:08 -05:00
parent 78623615e8
commit 5d3f0ea47b
4 changed files with 6 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ _newTagList = [];
// friendly player disconnected // friendly player disconnected
if (!(isPlayer _player) or ((vehicle _player != _player))) then { if (!(isPlayer _player) or (vehicle _player != _player)) then {
deleteVehicle _tag; deleteVehicle _tag;
} else { } else {

View File

@@ -2,7 +2,7 @@ private ["_guaranteedLoot","_randomizedLoot","_spawnChance","_spawnMarker","_spa
_guaranteedLoot = 3; _guaranteedLoot = 3;
_randomizedLoot = 4; _randomizedLoot = 4;
_spawnChance = 0.90; _spawnChance = 0.50;
_spawnMarker = 'center'; _spawnMarker = 'center';
// _spawnRadius = 5000; // _spawnRadius = 5000;
_spawnRadius = HeliCrashArea; _spawnRadius = HeliCrashArea;
@@ -17,7 +17,7 @@ if (_spawnRoll <= _spawnChance) then {
if(_crashModel == "Mass_grave_DZ") then { if(_crashModel == "Mass_grave_DZ") then {
_lootTable = "MassGrave"; _lootTable = "MassGrave";
} else { } else {
_lootTable = ["Military","HeliCrash","MilitarySpecial"] call BIS_fnc_selectRandom; _lootTable = "HeliCrash";
}; };
_crashName = getText (configFile >> "CfgVehicles" >> _crashModel >> "displayName"); _crashName = getText (configFile >> "CfgVehicles" >> _crashModel >> "displayName");

View File

@@ -25,7 +25,7 @@ MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 14000; // Default = 10000 dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 40; // Default = 40 dayz_maxLocalZombies = 40; // Default = 40
EpochEvents = [["any","any","any","any",45,"crash_spawner"]]; EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"]];
//Load in compiled functions //Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)

View File

@@ -147,13 +147,13 @@ menu_Woodlander3 = [
// Medical Supplies 2 // Medical Supplies 2
menu_Dr_Hladik_EP1 = [ menu_Dr_Hladik_EP1 = [
[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]], [["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
[], [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral" "neutral"
]; ];
// Medical Supplies 3 // Medical Supplies 3
menu_Doctor = [ menu_Doctor = [
[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]], [["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
[], [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral" "neutral"
]; ];
// Boat Trader 2 // Boat Trader 2