mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Merge pull request #2046 from worldwidesorrow/master
Add new sound files for opening and closing vaults.
This commit is contained in:
@@ -36,6 +36,12 @@ if (!isNull _obj) then {
|
|||||||
|
|
||||||
[_lockedClass,objNull] call fn_waitForObject;
|
[_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];
|
PVDZE_handleSafeGear = [player,_obj,1];
|
||||||
publicVariableServer "PVDZE_handleSafeGear";
|
publicVariableServer "PVDZE_handleSafeGear";
|
||||||
//wait for response from server to verify safe was logged and saved before proceeding
|
//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;
|
format[localize "str_epoch_player_117",_text] call dayz_rollingMessages;
|
||||||
};
|
};
|
||||||
s_player_lockvault = -1;
|
s_player_lockvault = -1;
|
||||||
dayz_actionInProgress = false;
|
dayz_actionInProgress = false;
|
||||||
|
|||||||
@@ -43,6 +43,12 @@ if (_ComboMatch || (_ownerID == dayz_playerUID)) then {
|
|||||||
dayz_lastCodeFail = 0;
|
dayz_lastCodeFail = 0;
|
||||||
|
|
||||||
[_unlockedClass,objNull] call fn_waitForObject;
|
[_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];
|
PVDZE_handleSafeGear = [player,_obj,0];
|
||||||
publicVariableServer "PVDZE_handleSafeGear";
|
publicVariableServer "PVDZE_handleSafeGear";
|
||||||
|
|||||||
@@ -723,6 +723,29 @@ class CfgSounds {
|
|||||||
titles[] = {};
|
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 {
|
class z_radzone1_0 {
|
||||||
name = "";
|
name = "";
|
||||||
sound[] = {"\dayz_sfx\effects\geiger_level_0.ogg",1,1,10};
|
sound[] = {"\dayz_sfx\effects\geiger_level_0.ogg",1,1,10};
|
||||||
|
|||||||
BIN
SQF/dayz_sfx/effects/action_lockboxclose.ogg
Normal file
BIN
SQF/dayz_sfx/effects/action_lockboxclose.ogg
Normal file
Binary file not shown.
BIN
SQF/dayz_sfx/effects/action_lockboxopen.ogg
Normal file
BIN
SQF/dayz_sfx/effects/action_lockboxopen.ogg
Normal file
Binary file not shown.
BIN
SQF/dayz_sfx/effects/action_safeclose.ogg
Normal file
BIN
SQF/dayz_sfx/effects/action_safeclose.ogg
Normal file
Binary file not shown.
BIN
SQF/dayz_sfx/effects/action_safeopen.ogg
Normal file
BIN
SQF/dayz_sfx/effects/action_safeopen.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user