Home   Help Search Login Register  

Author Topic: I NEED HELP WITH DESCRIPTION SOUNDS  (Read 646 times)

0 Members and 1 Guest are viewing this topic.

DeadCell4

  • Guest
I NEED HELP WITH DESCRIPTION SOUNDS
« on: 20 Feb 2004, 07:44:42 »
Its my first time adding custom sounds and radio sounds and i think I have messed it up really bad, I have no idea what I am doing wrong, I think the problem is in the brackets but I tried to fix them few times and it keeps me booting to desktop non stop saying the brackets are messed up please take a look.

( THANK YOU IN ADVANCE )

class CfgRadio


      sounds[] = {CAUTION};

   class CAUTION
      {
      name = "";
      sound[] = {"CAUTION.ogg", db+0, 1.0};
      title = $STRM_CAUTION;
   };
       
       {
   
   class DISEMBARK
      {
      name = "";
      sound[] = {"DISEMBARK.ogg", db+0, 1.0};
      title = $STRM_DISEMBARK;
   };
   
   {
      

      class GOGOGO
      {
      name = "";
      sound[] = {"GOGOGO.ogg", db+0, 1.0};
      title = $STRM_DISEMBARK;
   };
   };
         
class CfgSounds
(
      class JungleSounds
   {
      // Name to display in mission editor
      name = "JungleSounds";
      // Sound path, volume, pitch
      sound[] = {\sound\JungleSounds.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      titles[] = {0, ""};
   };
};
« Last Edit: 20 Feb 2004, 07:47:04 by DeadCell4 »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:I NEED HELP WITH DESCRIPTION SOUNDS
« Reply #1 on: 20 Feb 2004, 08:49:22 »
Ok, I never write my descriptions by hand I just steal them from previous missions and edit them to get what I want. I'll show you how I do it and maybe someone else can pick thru yours to see what's wrong.

Ok, this is my sounds bit,

onloadmission = Your text here.

class CfgSounds
{
sounds[] = { bush, next };
class bush
{
name = "bush";
sound[] = {"bush.ogg", db+20, 1.0};
titles[] =
{
0, $STRM_bush
};
};
class next
{
name = "next";
sound[] = {"next.ogg", db+20, 1.0};
titles[] =
{
0, $STRM_next
};
};

and every time I want another sound I just copy this much,

class bush
{
name = "bush";
sound[] = {"bush.ogg", db+20, 1.0};
titles[] =
{
0, $STRM_bush
};
};

Whack it on the bottom and change the names,

class bush
{
name = "bush";
sound[] = {"bush.ogg", db+20, 1.0};
titles[] =
{
0, $STRM_bush
};
};

and don't forget to add the new sound up there  ::) where I've Bolded, underlined and Italicised.
You can copy the top bit from here, straight into your description and change the names to what you need. Then if you want to learn the study what's there.

Dunno if that helps but I enjoyed writing it.  :help: I'm sad!
« Last Edit: 20 Feb 2004, 08:52:55 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

DeadCell4

  • Guest
Re:I NEED HELP WITH DESCRIPTION SOUNDS
« Reply #2 on: 21 Feb 2004, 05:47:42 »
Thanks for your help by Radio sounds look a little different i tried remaking my description.ext and this is the one I will use but it says im missing endfile or something like that everytime i get kicked to desktop from editor on load mission I have no clue what the heck is wrong with this

class CfgRadio
        {
   sounds[] =  
             {
                AllAdvance,ProceedAware,ProceedCaution,DISEMBARK,GOGOGo
              };

    class AllAdvance
       
    {
      name = "AllAdvance";
      sound[] = {"\Sound\AllAdvance.ogg", db+0, 1.0};
      title = $STRD_AllAdvance;
           };
     class ProceedAware
 
 {
      name = "ProceedAware";
      sound[] = {"\sound\ProceedAware.ogg", db+0, 1.0};
      title = $STRD_ProceedAware;
   };
   Class ProceedCaution
 
      {
       name = "ProceedCaution";
       sound [] = {"\sound\ProceedCaution.ogg", db+0, 1.0};
       title = $STRD_ProceedCaution;
       };
      Class DISEMBARK
 
{
       name = "DISEMBARK";
       name [] = {"\sound\DISEMBARK.ogg", db+0, 1.0};
       title = $STRD_DISEMBARK;
      };
     Class  GOGOGO
 
 {
       name = "GOGOGO";
       name [] = {"\sound\GOGOGO.ogg", db+0, 1.0};
       title = $STRD_GOGOGO;
                };
            };
  };

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:I NEED HELP WITH DESCRIPTION SOUNDS
« Reply #3 on: 21 Feb 2004, 15:31:38 »
The { and } don't cancel out.

If you are getting an error message it's helpful if you can post it exactly.   Replicate the error a few times so you get several chances to read it and write it down.

It's worth doing a line by line comparison with a description.ext that you know works.

Oh, and

Welcome to the forum!
« Last Edit: 21 Feb 2004, 15:32:46 by macguba »
Plenty of reviewed ArmA missions for you to play

DeadCell4

  • Guest
Re:I NEED HELP WITH DESCRIPTION SOUNDS
« Reply #4 on: 22 Feb 2004, 00:16:10 »
Eh, I found a mistake, I had a few spelling errors and kinda the description.ext was messed up, I hate errors that are a pain but easy to fix, thanks for helpin anyways :) and thanks,

Im not actully new to the forum I just got my old name delated