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
Sign in to follow this  
W0LF

Не воспроизводится звук

В файле description.hpp:

class CfgSounds {
	sounds[] = {missionAlert};
	class missionAlert {
		name = "missionAlert";
		sound[] = {radio.ogg, 1, 1, 1};
		titles[] = {};
	};
};

В файле test.sqf:

playSound "missionAlert";

И тишина! Почему не работает? :crying:

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
1 час назад, W0LF сказал:

В файле description.hpp:


class CfgSounds {
	sounds[] = {missionAlert};
	class missionAlert {
		name = "missionAlert";
		sound[] = {radio.ogg, 1, 1, 1};
		titles[] = {};
	};
};

В файле test.sqf:


playSound "missionAlert";

И тишина! Почему не работает? :crying:

а в рпт? че пишет

Share this post


Link to post
Share on other sites



  • 0

Ничё не пишет.

Но, в общем-то я починил. :cool:

В строке sound[] = {radio.ogg, 1, 1, 1}; убрал последнюю единицу и звук заработал. Странно, т.к. в BIS WIKI указаны 3 параметра после имени файла...

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
Sign in to follow this  

  • Similar Content

    • By exploadead
      Начиная с эпоча 0.3.4.0 пропал звук при захвате целей Титанами и другими установками с наведением... И в авиа технике уже не слышен звук, когда тебя захватывает кто-то... Подскажите пожалуйста где настраивается этот параметр? Как вернуть звук?
    • By exploadead
      Начиная с эпоча 0.3.4.0 пропал звук при захвате целей Титанами и другими установками с наведением... И в авиа технике уже не слышен звук, когда тебя захватывает кто-то... Подскажите пожалуйста где настраивается этот параметр? Как вернуть звук?
    • By Maxim
      Привет.
      Сейчас я расскажу как добавить звук при использовании кирки на сервер ARMA 3 Altis Life.
       
      1. Скачиваем файл и добавляем файл "pickaxe.ogg" в папку "sounds".
      PickaxeUseSound.rar
       
      2. Открываем файл "description.ext", находим "class CfgSounds" и добавляем новый класс:
       
      class PickaxeUseSound { name = "PickaxeUseSound"; sound[] = {"\sounds\PickaxeUseSound.ogg", 0.25, 1}; titles[] = {}; }; 3. Открываем "core/items/fn_pickaxeUse.sqf" и находим строку "sleep 2.5;". Выше нее вставляем:
       
      player say3D "PickaxeUseSound"; Готово.
       
      Ссылка на оригинал: http://www.altisliferpg.com/topic/6330-add-pickaxe-sound/
  • Our picks

×
×
  • 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.