Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
no_id

Музыка при входе

Доброго времени суток !!!

 

хочу поставить музыку при входе , но не хочу добавлять лишние файлы в миссию , нашел подходящую мелодию в  dayz_sfx.pbo папка samples файл suspense_22.ogg , подскажите как его запустить?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

пропиши путь в class CfgSounds

 

class CfgSounds
{
sounds[] =
{
introSong
};
class introSong
{
name="introSong";

sound[]={"\z\addons\dayz_sfx\samples\suspense_22.ogg",0.9,1};
titles[] = {};
};
}; 

Edited by polpa (see edit history)

Share this post


Link to post
Share on other sites



  • 0

пропиши путь в class CfgSounds

 

class CfgSounds

{

sounds[] =

{

introSong

};

class introSong

{

name="introSong";

sound[]={"\z\addons\dayz_sfx\samples\suspense_22.ogg",0.9,1};

titles[] = {};

};

}; 

такой класс уже есть в том же архиве,

подкласс этого трека

class z_suspense_22

 {

  name = "";

  sound[] = {"\dayz_sfx\samples\suspense_22.ogg", db+0, 1.0};

  duration = 44;

 };

 

а вообщето наверное так и сделаю...

ибо по умолчанию звук очень тихий

 

пропиши путь в class CfgSounds

 

class CfgSounds

{

sounds[] =

{

introSong

};

class introSong

{

name="introSong";

sound[]={"\z\addons\dayz_sfx\samples\suspense_22.ogg",0.9,1};

titles[] = {};

};

}; 

спасибо!

Edited by no_id (see edit history)

Share this post


Link to post
Share on other sites
  • 0

пропиши путь в class CfgSounds

 

class CfgSounds

{

sounds[] =

{

introSong

};

class introSong

{

name="introSong";

sound[]={"\z\addons\dayz_sfx\samples\suspense_22.ogg",0.9,1};

titles[] = {};

};

}; 

чегото нехочет запускатся... (

Share this post


Link to post
Share on other sites
  • 0

чегото нехочет запускатся... (

как прописывал?

Edited by polpa (see edit history)

Share this post


Link to post
Share on other sites
  • 0

как прописывал?

у меня есть sound.hpp , в него 

 

 

class CfgSounds

{

sounds[] = {shit,Radio_Message_Sound,intro};

class shit

{

name = "shit";

sound[] = {custom\shit.ogg,1.0,1};

titles[] = {};

};

class Radio_Message_Sound

{

name = "Radio_Message_Sound";

sound[] = {custom\remote\radio.ogg,0.4,1};

titles[] = {};

};

class intro

{

name="intro";

 

sound[]={"\z\addons\dayz_sfx\samples\suspense_22.ogg",0.9,1};

titles[] = {};

};

};

 

 

этим скриптом

waitUntil {!isNil ("dayz_Totalzedscheck")};

sleep 4;

playsound "intro";

cutText ["...", "PLAIN DOWN"];

sleep 4;

cutText ["...", "PLAIN DOWN"];

sleep 4;

cutText ["...", "PLAIN DOWN"];

sleep 4;

cutText ["...", "PLAIN DOWN"];

sleep 4;

cutText ["..."];

sleep 4;

cutText ["...", "PLAIN DOWN"];

sleep 4;

cutText ["...", "PLAIN DOWN"];

Edited by no_id (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.