Merge pull request #2046 from worldwidesorrow/master

Add new sound files for opening and closing vaults.
This commit is contained in:
worldwidesorrow
2019-11-17 19:20:49 -06:00
committed by GitHub
7 changed files with 36 additions and 1 deletions

View File

@@ -36,6 +36,12 @@ if (!isNull _obj) then {
[_lockedClass,objNull] call fn_waitForObject;
if (_lockedClass == "LockboxStorageLocked") then {
[player,"lockboxclose",0,false] call dayz_zombieSpeak;
} else {
[player,"safeclose",0,false] call dayz_zombieSpeak;
};
PVDZE_handleSafeGear = [player,_obj,1];
publicVariableServer "PVDZE_handleSafeGear";
//wait for response from server to verify safe was logged and saved before proceeding
@@ -44,4 +50,4 @@ if (!isNull _obj) then {
format[localize "str_epoch_player_117",_text] call dayz_rollingMessages;
};
s_player_lockvault = -1;
dayz_actionInProgress = false;
dayz_actionInProgress = false;

View File

@@ -43,6 +43,12 @@ if (_ComboMatch || (_ownerID == dayz_playerUID)) then {
dayz_lastCodeFail = 0;
[_unlockedClass,objNull] call fn_waitForObject;
if (_unlockedClass == "LockboxStorage") then {
[player,"lockboxopen",0,false] call dayz_zombieSpeak;
} else {
[player,"safeopen",0,false] call dayz_zombieSpeak;
};
PVDZE_handleSafeGear = [player,_obj,0];
publicVariableServer "PVDZE_handleSafeGear";

View File

@@ -723,6 +723,29 @@ class CfgSounds {
titles[] = {};
};
class z_safeopen_0 {
name = "";
sound[] = {"\dayz_sfx\effects\action_safeopen.ogg",1,1,30};
titles[] = {};
};
class z_safeclose_0 {
name = "";
sound[] = {"\dayz_sfx\effects\action_safeclose.ogg",1,1,30};
titles[] = {};
};
class z_lockboxopen_0 {
name = "";
sound[] = {"\dayz_sfx\effects\action_lockboxopen.ogg",1,1,30};
titles[] = {};
};
class z_lockboxclose_0 {
name = "";
sound[] = {"\dayz_sfx\effects\action_lockboxclose.ogg",1,1,30};
titles[] = {};
};
class z_radzone1_0 {
name = "";
sound[] = {"\dayz_sfx\effects\geiger_level_0.ogg",1,1,10};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.