not sure if I did it right, not hearing any sounds:
init.sqf
description.ext
init.sqf
Code:
if (!isDedicated) then {
if (isClass (configFile >> "CfgBuildingLootNamalsk")) then {
0 fadeSound 0;
[] execVM "Scripts\kh_actions.sqf";
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\nst\ns_dayz\code\system\player_monitor.sqf";
_nul = [] execVM "loginCamera.sqf";
////////////////////////////////ADD THIS ADD THIS ADD THIS///////////////////////////
//[broadcast chance, sleep timer]
[1, 600] execVM "scripts\radioChatter.sqf";
////////////////////////////////ADD THIS ADD THIS ADD THIS///////////////////////////
} else {
endLoadingScreen;
0 fadeSound 0;
0 cutText ["You are running an incorrect version of DayZ: Namalsk, please download newest version from http://www.nightstalkers.cz/", "BLACK"];
};
description.ext
Code:
class RscPicture
{
access=0;
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
};
class CfgSounds
{
sounds[] ={radio1,radio2,radio3,radio4,radio5};
class radio1
{
name="radio1";
sound[]={sounds\radio1.ogg, 0.3, 1};
titles[] = {};
};
class radio2
{
name="radio2";
sound[]={sounds\radio2.ogg, 0.3, 1};
titles[] = {};
};
class radio3
{
name="radio3";
sound[]={sounds\radio3.ogg, 0.3, 1};
titles[] = {};
};
class radio4
{
name="radio4";
sound[]={sounds\radio4.ogg, 0.3, 1};
titles[] = {};
};
class radio5
{
name="radio5";
sound[]={sounds\radio5.ogg, 0.3, 1};
titles[] = {};
};
class introSong
{
name="introSong";
sound[]={introSong.ogg,0.6,1};
titles[] = {};
};
};
class RscLoadingText : RscText
{
style = 2;
x = 0.323532;
y = 0.666672;
w = 0.352944;
h = 0.039216;
sizeEx = 0.03921;
colorText[] = {0.543,0.5742,0.4102,1.0};