Jump to content

Archived

This topic is now archived and is closed to further replies.

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

  • 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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,540.00 of $25,000.00 Donate Now
×
×
  • Create New...