
- Kod: Zaznacz cały
class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {01, 02, 03, 04, 05, 06, 07, 08, 09};
// Class definition needed for each sound
class 01
{
// Name to display in mission editor
name = "01";
// Sound path, volume, pitch
sound[] = {\sound\01.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02
{
// Name to display in mission editor
name = "02";
// Sound path, volume, pitch
sound[] = {\sound\02.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 03
{
// Name to display in mission editor
name = "03";
// Sound path, volume, pitch
sound[] = {\sound\03.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 04
{
// Name to display in mission editor
name = "04";
// Sound path, volume, pitch
sound[] = {\sound\04.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 05
{
// Name to display in mission editor
name = "05";
// Sound path, volume, pitch
sound[] = {\sound\05.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 06
{
// Name to display in mission editor
name = "06";
// Sound path, volume, pitch
sound[] = {\sound\06.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 07
{
// Name to display in mission editor
name = "07";
// Sound path, volume, pitch
sound[] = {\sound\07.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 08
{
// Name to display in mission editor
name = "08";
// Sound path, volume, pitch
sound[] = {\sound\08.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 09
{
// Name to display in mission editor
name = "09";
// Sound path, volume, pitch
sound[] = {\sound\09.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
};
Tak wygląda mój description. Spicz w .ogg w foldrze Sound. A oto przykład zastosowania w misji:
- Kod: Zaznacz cały
ja say "01";
titlecut ["Mr. Cringston! I am really sorry for being late! I can guarante it won't happen again!","plain down",1]
~8
Cringston say "02";
titlecut ["Don't fuck me up worker! You will lose half of your day's pay. Not take your shitty bike to Nevekville.","plain down",1]
~9
Nie wyskakuje żaden błąd, napisy odpalają się normalnie, ale dźwięków ani widu ani słychu...
Robiłem już spicze wiele razy, zawsze tak samo, i zawsze działało idealnie. Co więc powoduje ten problem?