September 8, 201015 yr I am trying to add some extra sounds to my panel using dsd_xml_sound3 but all I get is silence!!!!So something I'm doing is either wrong or I'm missing something!The first entry is the gauge reference in the panel.cfg gauge71=dsd_xml_sound3!dsd_xml_sound3, 2,2,5,5,.\Aircraft\DMFS Shared Files\Vickers VC10 Panel\DM_VC10_sound.ini the second is from the DM_VC10_sound.ini file. In this instance I'm trying to get the "attend" wav file to sound [Config]MaxSounds=8ErrorFlag= -1LvarStop=DM SOUND STOPVolumeVar=dsd_xml_sound_volumeResetVolumeVar=1[sounds]Sound00=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/ALERT.wavSound01=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/BEEP.wavSound02=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/VOICE_V1.wavSound03=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/VOICE_VR.wavSound04=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/Conc2k_fire.wavSound05=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/Conc_sign.wavSound06=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/Attend.wav[LVars]Lvar00=DM SOUND ALERTLvar01=DM SOUND BEEPLvar02=DM SOUND V1Lvar03=DM SOUND VRLvar04=SOUND FIRELvar05=SOUND ATTLvar06=SOUND attend Finally here is the xml code for the gauge calling the "attend". The .wav file is in the "Aircraft\DMFS Shared Files\Vickers VC10 Panel" directory <Gauge Name="CALL 3" Version="1.0"><Image Name="SWAP.bmp" ImageSizes="21,14"/> <Mouse> <Cursor Type="Hand" /> <Click>04 (>L:attend, enum)</Click> </Mouse></Gauge> Can anyone help as to what's wrong or if I have missed a step?Also I'm a little confused as to what the 04 means in "<Click>04".vololiberista Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
September 8, 201015 yr Hi,Try for 1 sound: <Click>1 (>L:attend,enum)</Click>or for continuus sound: <Click>2 (>L:attend,enum)</Click>and <Click>0 (>L:attend,enum)</Click> to stop the cont. sound.Hope it helps,Jan Jan "Beatus ille qui procul negotiis..."
September 8, 201015 yr Author Hi,Try for 1 sound: <Click>1 (>L:attend,enum)</Click>or for continuus sound: <Click>2 (>L:attend,enum)</Click>and <Click>0 (>L:attend,enum)</Click> to stop the cont. sound.Hope it helps,JanThanks for that! However still, there is silence!! So I don't know at all what's wrong! :-(vololiberista Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
September 8, 201015 yr Hi,I cannot test your codes, but mine are working.This is in the panel.cfg:gauge05=phjvh sound\phjvh sound!dsd_xml_sound3, 1270, 920, 10, 10, ./Aircraft/Boeing 0 767-300ER/panel/phjvh sound/phjvh sound.iniThis is my sound config:[Config]MaxSounds=99ErrorFlag=0LvarStop=soundstopVolumeVar=Radio_Range_VolumeResetVolumeVar=0[sounds]Sound00=./Aircraft/Boeing 0 767-300ER/panel/phjvh sound/alert caution.wavSound01=./Aircraft/Boeing 0 767-300ER/panel/phjvh sound/alert fire.wavSound02=./Aircraft/Boeing 0 767-300ER/panel/phjvh sound/alert warning.wavetc.[LVars]Lvar00=alert cautionLvar01=alert fireLvar02=alert warningetc.The sound.wav's are in the directory:./Aircraft/Boeing 0 767-300ER/panel/phjvh soundCommands:<Click>1 (>L:alert caution,enum)</Click>etc.Try to "translate" to your plane and it should work.May be is this change enough:Sound00=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/ALERT.wav Sound01=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/BEEP.wav Sound02=./Aircraft/DMFS Shared Files/Vickers VC10 Panel/VOICE_V1.wavetc.[LVars] Lvar00=ALERTLvar01=BEEPLvar02=VOICE_V1etc.<Click>1 (>L:ALERT,enum)</Click><Click>1 (>L:BEEP,enum)</Click><Click>1 (>L:VOICE_V1,enum)</Click>etc.Hope it helps, Jan Jan "Beatus ille qui procul negotiis..."
September 8, 201015 yr Author That seems to be working. Many thanks.vololiberista Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
September 9, 201015 yr Hy, guys!I´m trying to put a sound into a panel, which plays a .wav file when the spoilers deploy after tuchdown!I translated the help from phjvh to my sound.ini!So now I have the .ini file and the wav. file and I corrected the panel.cfg!Can someone please tell me, what is to write down into the .xml gauge?Or don´t I need a xml. gauge?Please answer, I´m searching soo long for that...
September 9, 201015 yr Hi,XML!You need some code to trigger the sound.That can be done by making a new gauge or by editing an existing one in your panel.Open this one with notepad and add this piece of code between other elements:<Element><Select><Value>(A:SIM ON GROUND,bool) (A:Spoilers handle position,position) 0.2 > and if{ 2 (>L:your sound,number) } els{ 0 (>L:your sound,number) } </Value></Select></Element>It works for me.Hope it helps,Jan Jan "Beatus ille qui procul negotiis..."
September 9, 201015 yr Thanks for the replay!What is to add instead of Select, Element, ValueOr what is to add instead of (A:SIM ON GROUND,bool) (A:Spoilers handle position,position) 0.2 > and if{ 2 (>L:your sound,number) } els{ 0 (>L:your sound,number) }or is this the whole gauge?Thanks for your help :(
September 9, 201015 yr Author I have another question for the "Guru!" :-)I have adapted a fire handle gauge to work on the VC10. It highlights the switch and turns the fuel valve on/off.I have been trying now to add a bell sound.See code The sound call is not in this example.:- <Gauge Name="Fire handle 1" Version="1.0"> <Image Name="Fire handle_1_background.bmp" ImageSizes="81,57,81,57"/> <Element> <Position X="0" Y="0"/> <Select> <Value>(A:GENERAL ENG1 FUEL VALVE,bool)</Value> <Case Value="0"> <Image Name="Fire_handles_1_on.bmp" Bright="No" ImageSizes="81,57,81,57"/> </Case> <Case Value="1"> <Image Name="Fire_handle_1_off.bmp" ImageSizes="81,57,81,57"/> </Case> </Select> </Element> <Element> <Position X="0" Y="0"/> <Select> <Value>(A:GENERAL ENG1 FUEL VALVE,bool)</Value> <Case Value="0"> <Image Name="Fire_handles_1_on_light.bmp" Bright="Yes" ImageSizes="81,57,81,57"/> </Case> </Select> </Element> <Mouse> <Area Top="61" Bottom="106" Left="20" Right="126"> <Tooltip>Eng.1 Fire Control Handle</Tooltip> <Cursor Type="Hand"/> <Click>(>K:TOGGLE_FUEL_VALVE_ENG1) 1 (>K:TOGGLE_AFTERBURNER2)</Click> </Area> </Mouse></Gauge> When I add the bell sound I can get it to sound either each time I click or, continuously. But what I want is for the bell to sound continuously from when I click the gauge "on" until I click the gauge "off". Your advice would be much appreciated.vololiberista Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
September 9, 201015 yr Hi,Try in your gauge to change the click to:<Click>(A:GENERAL ENG1 FUEL VALVE,bool) ! if{ (>K:TOGGLE_FUEL_VALVE_ENG1) 2 (>L:your bell sound,enum) } els{ (>K:TOGGLE_FUEL_VALVE_ENG1) 0 (>L:your bell sound,enum) } 1 (>K:TOGGLE_AFTERBURNER2) </Click> Jan Jan "Beatus ille qui procul negotiis..."
September 9, 201015 yr Hi,I presume you know to unzip a .cab file from your panel?If not you can add an extra gauge.Make a new map in the panel directory off your aircraft and give it a name, say "new gauges"Get an xml file from somewhere, make a copy!Put this file in the new map and open it with notepad.Delete everything what is in it and add:<Gauge Name="spoilersound" Version="1.0"><Element><Select><Value>(A:SIM ON GROUND,bool) (A:Spoilers handle position,position) 0.2 > and if{ 2 (>L:your sound,number) } els{ 0 (>L:your sound,number) } </Value></Select></Element></Gauge>Save the file as say "spoilersound"Add this new gauge in the panel.cfg as:gaugexx=new gauges!spoilersound, 0, 0It should work,Jan Jan "Beatus ille qui procul negotiis..."
September 9, 201015 yr Author Hi,Try in your gauge to change the click to:<Click>(A:GENERAL ENG1 FUEL VALVE,bool) ! if{ (>K:TOGGLE_FUEL_VALVE_ENG1) 2 (>L:your bell sound,enum) } els{ (>K:TOGGLE_FUEL_VALVE_ENG1) 0 (>L:your bell sound,enum) } 1 (>K:TOGGLE_AFTERBURNER2) </Click> JanHi Jan,This almost works!!!!The first click there is no sound (but the fire handle is lit & the fuel valve is off). The second click the bell sounds and for every subsequent click alternately off or on. The effect of which is that the gauge is in effect working in reverse becuase it misses out the first click!!vololiberista Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
September 9, 201015 yr Hi,Did not test the code, but you could play a little bit with it like:<Click>(A:GENERAL ENG1 FUEL VALVE,bool) if{ etc. Jan Jan "Beatus ille qui procul negotiis..."
September 9, 201015 yr Author Hi,Did not test the code, but you could play a little bit with it like:<Click>(A:GENERAL ENG1 FUEL VALVE,bool) if{ etc. JanExcluding the exclamation mark did the trick!!many thanksvololiberista Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
September 10, 201015 yr the gauge didn´t work :((((What have I made wrong?If done exactly, what you told me:Here The "NewGauges Folder":And here the panel configuration:My gauge look like that: <Gauge Name="spoilersound" Version="1.0"><Element><Select><Value>(A:SIM ON GROUND,bool) (A:Spoilers handle position,position) 0.2 > andif{ 2 (>L:Spoilers_deployed.wav,10000) }els{ 0 (>L:Spoilers_deployed.wav,10000) }</Value></Select></Element></Gauge> Can you help?
Create an account or sign in to comment