mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
These changes are consistent with the 1.8.7 files. @icomrade - Why did you change all of the scope = public; to scope = 2; in dayz_code? They should be identical since that is included in the basicDefines.hpp above all configs. We should stay consistent with 1.8.7 and use the human readable names if possible. Also any reason you left out these extra CfgActions?
59 lines
1.2 KiB
C++
59 lines
1.2 KiB
C++
#define VSoft 0
|
|
#define VArmor 1
|
|
#define VAir 2
|
|
|
|
#define private 0
|
|
#define protected 1
|
|
#define public 2
|
|
|
|
#define ReadAndWrite 0
|
|
#define ReadAndCreate 1
|
|
#define ReadOnly 2
|
|
#define ReadOnlyVerified 3
|
|
|
|
#define EAST 0 // (Russian)
|
|
|
|
class CfgPatches
|
|
{
|
|
class dayz_sfx
|
|
{
|
|
units[] = {};
|
|
weapons[] = {};
|
|
requiredVersion = 0.1;
|
|
requiredAddons[] = {"dayz_anim"};
|
|
dayzVersion = 1.8;
|
|
};
|
|
};
|
|
|
|
class CfgVehicles {
|
|
class Sound;
|
|
class Sound_Generator1: Sound
|
|
{
|
|
scope = public;
|
|
sound = "Generator1";
|
|
displayName = "Generator";
|
|
};
|
|
};
|
|
|
|
class CfgSFX {
|
|
class Generator1
|
|
{
|
|
sounds[] = {"Generator1"};
|
|
name = "Generator1";
|
|
//RandSamp0[] = {SOUNDFILE,VOLUME,PITCH,DISTANCE,PROBABILLITY,Min DELAY,Mid DELAY,Max DELAY}
|
|
Generator1[] = {"\dayz_sfx\effects\generator1",db+10,1,200,1,0,0,0};
|
|
Empty[] = {"",0,0,0,0,0,0,0};
|
|
};
|
|
|
|
class DestrMine {
|
|
sounds[] = {"DestrMine1","DestrMine2"};
|
|
name = "Mine destruction";
|
|
DestrMine1[] = {"\ca\BUILDINGS\sound\building2_destroy", 3.16228, 1, 150, 1, 60, 120, 240};
|
|
DestrMine2[] = {"\dayz_sfx\effects\vein_wreck.ogg", 5, 1, 150, 1, 60, 120, 240};
|
|
empty[] = {"", 0, 0, 0, 0, 1, 5, 20};
|
|
};
|
|
};
|
|
|
|
#include "CfgSounds.hpp"
|
|
#include "CfgMusic.hpp"
|