1.0.0.3 Developer Build

+ [FIXED] Battleye kick when calling dog. Thanks to @kikyou2
+ [FIXED] Moved vehicle event handler to server side with a call to all
connected clients. Before it was just set on only the owner and the
server. This should fix issues with damage/repair handling of just
purchased vehicles.
+ [FIXED] Fixed case sensitivity in building loot generation. This was
only a problem on new maps that share the same buildings as others yet
have differing case in the classnames.
+ [ADDED] New build-ables: Fence_corrugated_DZ, M240Nest_DZ,
CanvasHut_DZ, ParkBench_DZ, MetalGate_DZ, OutHouse_DZ, Wooden_shed_DZ,
WoodShack_DZ, StorageShed_DZ.
+ [ADDED] New crafting items: ItemCanvas, PartWoodLumber,
PartWoodPlywood, ItemCorrugated, ItemPole
+ [ADDED] 55 gallon (210 liter) Fuel Barrel that can only be used on
helicopters or fuel trucks.
+ [ADDED] All DayZ specific magazine items now only take one slot, this
also makes it easier to become over burdened so be careful about
blacking out.
+ [ADDED] More building loot spawn positions for Namalsk.
+ [FIXED] When packing tent get classname of new weapon_holder from
config.
+ [CHANGED] Totally reworked player building system. Preview and
placement accuracy has been significantly improved. Building now
requires X number of stages to complete. Players cannot build while in
combat.
+ [CHANGED] Added required tools array and is nearby checking for fire,
etc. Also, each item can now have 5 separate crafting options.
+ [CHANGED] Reworked refuel and siphon code to support more can types.
+ [CHANGED] Removed all infinite fueling sources and added
(KamazRefuel_DZ, UralRefuel_TK_EP1_DZ,MtvrRefuel_DES_EP1_DZ) variants of
the fuel trucks to remove auto refuel and increase siphon-able fuel
capacity to 10000.  Old style refuel can still be used if the variable
dayz_oldrefuel = true is set in the missions init.sqf.
+ [CHANGED] Remove object code now uses config variables instead of hard
coded into sqf (default: constructioncount = 5)
+ [CHANGED] Moved most arrays for revealing objects, allowed objects,
update objects, disallowed combat roll to arrays within variables.sqf.
So that these arrays are unified and easier to change.
+ [CHANGED] New vehicle spawns now have a new fuel system using a random
percent between min and max variables. Defaults: (DynamicVehicleFuelLow
= 0; DynamicVehicleFuelHigh = 100;)
+ [CHANGED] New vehicle spawns now damage all parts and without a
limiter on fuel and engine parts, this could cause a vehicle to be very
close to blowing up.
+ [CHANGED] Disabled simulation server side of all road debris and
crashes.
This commit is contained in:
vbawol
2013-04-17 10:04:34 -05:00
parent 3bc0bbca37
commit 211415389f
40 changed files with 2351 additions and 569 deletions

View File

@@ -110,6 +110,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
_isDog = (cursorTarget isKindOf "DZ_Pastor" || cursorTarget isKindOf "DZ_Fin");
_isZombie = cursorTarget isKindOf "zZombie_base";
_isDestructable = cursorTarget isKindOf "BuiltItems";
_isWreck = typeOf cursorTarget in ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"];
_isTent = cursorTarget isKindOf "TentStorage";
_isFuel = false;
_isAlive = alive cursorTarget;
@@ -125,14 +126,14 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
};
} forEach _rawmeat;
if (_hasFuelE) then {
if (_hasFuelE and dayz_oldrefuel) then {
_isFuel = (cursorTarget isKindOf "Land_Ind_TankSmall") or (cursorTarget isKindOf "Land_fuel_tank_big") or (cursorTarget isKindOf "Land_fuel_tank_stairs") or (cursorTarget isKindOf "Land_fuel_tank_stairs_ep1") or (cursorTarget isKindOf "Land_wagon_tanker") or (cursorTarget isKindOf "Land_fuelstation") or (cursorTarget isKindOf "Land_fuelstation_army");
};
// diag_log ("OWNERID = " + _ownerID + " CHARID = " + dayz_characterID + " " + str(_ownerID == dayz_characterID));
//Allow player to delete objects
if(_isDestructable and _hasToolbox and _canDo) then {
if((_isDestructable or _isWreck) and _hasToolbox and _canDo) then {
if (s_player_deleteBuild < 0) then {
s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",cursorTarget, 1, true, true, "", ""];
};
@@ -204,13 +205,15 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
};
//Allow player to fill jerrycan
if(_hasFuelE and _isFuel and _canDo) then {
if (s_player_fillfuel < 0) then {
s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",[], 1, false, true, "", ""];
if(dayz_oldrefuel) then {
if(_hasFuelE and _isFuel and _canDo) then {
if (s_player_fillfuel < 0) then {
s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",[], 1, false, true, "", ""];
};
} else {
player removeAction s_player_fillfuel;
s_player_fillfuel = -1;
};
} else {
player removeAction s_player_fillfuel;
s_player_fillfuel = -1;
};
// Human Gut animal or zombie