From f82a84146ed8b75fd04485fc411ca8aa4b5808af Mon Sep 17 00:00:00 2001 From: Sandbird Date: Thu, 24 Apr 2014 15:30:03 +0300 Subject: [PATCH 1/2] Update server_updateObject.sqf missing ; from all _object setHit ["_selection", _hit] --- SQF/dayz_server/compile/server_updateObject.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_server/compile/server_updateObject.sqf b/SQF/dayz_server/compile/server_updateObject.sqf index e2c015467..3222cdce0 100644 --- a/SQF/dayz_server/compile/server_updateObject.sqf +++ b/SQF/dayz_server/compile/server_updateObject.sqf @@ -89,7 +89,7 @@ _object_damage = { _hit = [_object,_x] call object_getHit; _selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name"); if (_hit > 0) then {_array set [count _array,[_selection,_hit]]}; - _object setHit ["_selection", _hit] + _object setHit ["_selection", _hit]; } forEach _hitpoints; _key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage]; @@ -109,7 +109,7 @@ _object_killed = { _selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name"); if (_hit > 0) then {_array set [count _array,[_selection,_hit]]}; _hit = 1; - _object setHit ["_selection", _hit] + _object setHit ["_selection", _hit]; } forEach _hitpoints; if (_objectID == "0") then { @@ -131,7 +131,7 @@ _object_repair = { _hit = [_object,_x] call object_getHit; _selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name"); if (_hit > 0) then {_array set [count _array,[_selection,_hit]]}; - _object setHit ["_selection", _hit] + _object setHit ["_selection", _hit]; } forEach _hitpoints; _key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage]; From aa6ff16eac42fbe7974fc0780410115d2941eaf1 Mon Sep 17 00:00:00 2001 From: Sandbird Date: Thu, 24 Apr 2014 15:44:53 +0300 Subject: [PATCH 2/2] Update CfgSounds.hpp Missing female sounds. The files exist in the \zombie folder but no reference to them. A bit annoying to have to copy the files in the mission folder for using these female sounds. --- SQF/dayz_sfx/CfgSounds.hpp | 60 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_sfx/CfgSounds.hpp b/SQF/dayz_sfx/CfgSounds.hpp index a0e748fa8..fcab39e82 100644 --- a/SQF/dayz_sfx/CfgSounds.hpp +++ b/SQF/dayz_sfx/CfgSounds.hpp @@ -1,4 +1,3 @@ - class CfgSounds { class breath_1 { name = ""; @@ -355,6 +354,24 @@ class CfgSounds { class z_chase_14 : z_chase_0 { sound[] = {"\dayz_sfx\zombie\chase_14.ogg",0.5,1,80}; }; + + class z_fchase_0 { + name = ""; + sound[] = {"\dayz_sfx\zombie\femalezombie_chase_01.ogg",0.5,1,80}; + titles[] = {0, ""}; + }; + class z_fchase_1 : z_fchase_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_chase_02.ogg",0.5,1,80}; + }; + class z_fchase_2 : z_fchase_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_chase_03.ogg",0.5,1,80}; + }; + class z_fchase_3 : z_fchase_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_chase_04.ogg",0.5,1,80}; + }; + class z_fchase_4 : z_fchase_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_chase_05.ogg",0.5,1,80}; + }; class z_spotted_0 { name = ""; @@ -400,6 +417,24 @@ class CfgSounds { class z_spotted_13 : z_spotted_0 { sound[] = {"\dayz_sfx\zombie\spotted_13.ogg",0.8,1,80}; }; + + class z_fspotted_0 { + name = ""; + sound[] = {"\dayz_sfx\zombie\femalezombie_spotted_01.ogg",0.8,1,80}; + titles[] = {0, ""}; + }; + class z_fspotted_1 : z_fspotted_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_spotted_02.ogg",0.8,1,80}; + }; + class z_fspotted_2 : z_fspotted_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_spotted_03.ogg",0.8,1,80}; + }; + class z_fspotted_3 : z_fspotted_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_spotted_04.ogg",0.8,1,80}; + }; + class z_fspotted_4 : z_fspotted_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_spotted_05.ogg",0.8,1,80}; + }; class z_attack_0 { name = ""; @@ -445,6 +480,27 @@ class CfgSounds { class z_attack_13 : z_attack_0 { sound[] = {"\dayz_sfx\zombie\attack_13.ogg",0.5,1,80}; }; + class z_attack_13 : z_attack_0 { + sound[] = {"\dayz_sfx\zombie\attack_13.ogg",0.5,1,80}; + }; + + class z_fattack_0 { + name = ""; + sound[] = {"\dayz_sfx\zombie\femalezombie_attack_01.ogg",0.5,1,80}; + titles[] = {0, ""}; + }; + class z_fattack_1 : z_fattack_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_attack_02.ogg",0.5,1,80}; + }; + class z_fattack_2 : z_fattack_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_attack_03.ogg",0.5,1,80}; + }; + class z_fattack_3 : z_fattack_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_attack_04.ogg",0.5,1,80}; + }; + class z_fattack_4 : z_fattack_0 { + sound[] = {"\dayz_sfx\zombie\femalezombie_attack_05.ogg",0.5,1,80}; + }; class z_hit_0 { name = ""; @@ -632,4 +688,4 @@ class CfgSounds { sound[] = {"\dayz_sfx\effects\geiger_level_3.ogg",1,1,10}; titles[] = {}; }; -}; \ No newline at end of file +};