Jump to content
Sign in to follow this  
Bob Familton

Seat Belt & No Smoking Sounds

Recommended Posts

I am trying to add No Smoking and Seat Belt sounds to an FSX plane.

My toggle switch gauges say:

<Gauge Name="Smoking" Version="1.0">
<Element>
<Select>
<Value>(L:Smoking sign, enum)</Value>
<Case Value="0">
<Image Name="Smoking_d.bmp" ImageSizes="69,112"/>
</Case>
<Case Value="1">
<Image Name="Smoking_u.bmp" ImageSizes="69,112"/>
</Case>
</Select>
</Element>
<Mouse>
<Tooltip ID="">Toggle Smoking Signs</Tooltip>
<Help ID=""/>
<Cursor Type="Hand" />
<Click>(L:Smoking sign, enum) ! (>L:Smoking sign, enum)</Click>
</Mouse>
</Gauge>

and:

<Gauge Name="Seatbelts" Version="1.0">
<Element>
<Select>
<Value>(L:Seatbelt sign, enum)</Value>
<Case Value="0">
<Image Name="Seatbelts_d.bmp" ImageSizes="69,112"/>
</Case>
<Case Value="1">
<Image Name="Seatbelts_u.bmp" ImageSizes="69,112"/>
</Case>
</Select>
</Element>
<Mouse>
<Tooltip ID="">Toggle Seatbelts Sign</Tooltip>
<Help ID=""/>
<Cursor Type="Hand" />
<Click>(L:Seatbelt sign, enum) ! (>L:Seatbelt sign, enum)</Click>
</Mouse>
</Gauge>

I have added the following to my aircraft Sound folder sound.cfg :

[NO_SMOKING_ALERT]
filename=CabinAlert

[sEATBELTS_ALERT]
filename=CabinAlert

I have added the CabinAlert.wav sound to my aircraft sound folder and my FSX Sound folder.. The wav file plays by itself.
When I click on either switch I get no sound . What am I doing wrong? Thanks, Bob.

Share this post


Link to post
Share on other sites

Please disregard this question. I found that I had the wrong gauge code by help on another Forum. Bob.

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...