Merge pull request #679 from vbawol/StillSkaroAlive

Add Timezone switch Var
This commit is contained in:
vbawol
2013-11-08 19:56:56 -08:00
2 changed files with 8 additions and 8 deletions

View File

@@ -360,7 +360,7 @@ if (!isDedicated) then {
_objName
};
dayz_originalPlayer = player;
dayz_originalPlayer = player;
// trader menu gui by maca134
@@ -610,7 +610,7 @@ if (!isDedicated) then {
_h = (_record select 4) select 0;
_m = (_record select 4) select 1;
_record_stxt = format["%1<t size='1' align='left'>Died at %2:%3</t><br /><br />", _record_stxt, (_h call _format), (_m call _format)];
_record_stxt = format["%1<t size='1' align='left'>Died at %2:%3</t><br /><br />", _record_stxt, ((_h call _format)+timezoneswitch), (_m call _format)];
if ((_record select 1) != 'unknown') then {
_record_stxt = format["%1<t size='1' align='left'>Was killed by %2</t><br /><br />", _record_stxt, (_record select 1)];

View File

@@ -400,6 +400,9 @@ dayz_zSpawnDistance = 1000;
if(isNil "dayz_maxAnimals") then {
dayz_maxAnimals = 8;
};
if(isNil "timezoneswitch") then {
timezoneswitch = 0;
};
if(isNil "dayz_maxLocalZombies") then {
dayz_maxLocalZombies = 15;
};
@@ -448,6 +451,9 @@ if(isNil "DZE_BuildingLimit") then {
if(isNil "DZE_HumanityTargetDistance") then {
DZE_HumanityTargetDistance = 25;
};
if(isNil "DZE_FriendlySaving") then {
DZE_FriendlySaving = true;
};
DZE_REPLACE_WEAPONS = [["Crossbow","ItemMatchbox","ItemHatchet"],["Crossbow_DZ","ItemMatchbox_DZE","ItemHatchet_DZE"]];
@@ -490,14 +496,8 @@ DZE_fueltruckarray = ["KamazRefuel_DZ","UralRefuel_TK_EP1_DZ","MtvrRefuel_DES_EP
// Standard Fuel sources
dayz_fuelsources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_fuel_tank_stairs_ep1","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army","land_fuelstation_w","Land_benzina_schnell"];
DZE_Lock_Door = "";
if(isNil "DZE_FriendlySaving") then {
DZE_FriendlySaving = true;
};
//init global arrays for Loot Chances
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\loot_init.sqf";