Jump to content
The simFlight Network Forums

delta757232

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by delta757232

  1. Yes please help Paul. Much appreciated. Note 1: Tried to cut and paste here but must have been to large. FSUIPC.log attached as file. Note 2: Here is the info from my FSUIPC.ini file which might be relevant: [sounds] Path=D:\Flight Simulator 9\Sound\ Device1=Primary Sound Driver Device2=Speakers (Realtek High Definition Audio) Device3=SPDIF-Out (SB X-Fi Surround 5.1) Device4=Speakers (SB X-Fi Surround 5.1) Device5=Realtek Digital Output (Realtek High Definition Audio) Device6=Realtek Digital Output(Optical) (Realtek High Definition Audio) [buttons] ButtonRepeat=20,10 2=P5,6,CL2:R,0 3=P5,5,CL2:R,20 4=P5,4,CL6:R,20 5=P5,3,CL2:R,20 6=P5,2,CL2:R,20 10=U5,4,CL6:K,0 11=P5,11,CL5:R,0 12=U5,11,CL5:K,0 15=P5,0,CL2:R,0 16=U5,0,CL2:K,0 [LuaFiles] 1=ipcready 2=firebell Note 3: Screenshot of FSUIPC GUI:
  2. Paul, Thank you kindly for your reply. After reading your comments and more in the Lua-Library doc, I omitted the path statement and relocated my sound files to the default D:\Flight Simulator 9\Sound folder. So my firebell.lua now reads: sound.play("firebell.wav") Unfortunately, it still does not work. :???:
  3. Addendum: Note 1:The switch location in FSUIPC is actually 5,0 (not 5,1) Note 2: After reading other similar posts, I changed the firebell.lua to read: sound.play("D:\\firebell.wav") <<< whereas I un-capitalized the "S" in sound as referenced in sound library Mitch
  4. Hi Pete, everyone, I'm having a problem triggering sound files using LUA. For example: 1. I have a wav file called firebell.wav 2. It is located in the root of drive D 3. FS9 is also located on drive D ( D:\Flight Simulator 9 ) 4. My LUA file is titled "firebell.lua" and is located in the FS9 modules folder So I load FS9 and go into the FSUIPC GUI, click on buttons, and press the button I want to trigger the wav file. It reads location in FSUIPC as 5,0. Next switch 5,1, next switch 5,2 and so on. So once I press the switch I want to associate with the wav file (5,1), I place a check in the "Select for FS Control" box. I then scroll down until I see the "firebell lua" and select it. I then hit ok and exit FSUIPC. I re-boot FS and push the switch. NOTHING. No sound file play. I've done this over and over placing the sound files on the C drive, FS9/sound directory etc. etc. - No luck Below is the contents of my LUA file. Any help appreciated. Mitch Sound.play("D:\\firebell.wav")
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines 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.