February 8, 201214 yr I installed the Guy De Smet wipers to my RFP-742.Wipers work great but I cannot add their sound by Doug Dawson dsd_xml_Sound3 gauge.Here my wiper gauge:<Gauge Name="Wiper_CPT Switch left" Version="1.0"> <!--Copyright Guy De Smet 2002--> <Update Frequency="6"/> <Size X="43" Y="26"/> <Image Name="Dummy.bmp" ImageSizes="43,26,0,0"/> <Element> <Position X="0" Y="0"/> <Select> <Value>(L:Wiper_CPT_Left, enum)</Value> <Case Value="0"> <Image Name="Wipers_0.bmp" ImageSizes="51,26,0,0"/> </Case> <Case Value="2"> <Image Name="Wipers_1.bmp" ImageSizes="51,26,0,0"/> </Case> <Case Value="5"> <Image Name="Wipers_2.bmp" ImageSizes="51,26,0,0"/> </Case> </Select> </Element> <Mouse> <Tooltip>Wiper_CPT_Left One click to activate or 0 , 2 clicks for 2 and 5</Tooltip> <Area Left="0" Top="9" Width="13" Height="16"> <Cursor Type="Hand"/> <Click> (>K:PANEL_ID_TOGGLE) 0 (>L:Wiper_CPT_Left, enum)</Click> </Area> <Area Left="15" Top="9" Width="13" Height="16"> <Cursor Type="Hand"/> <Click>00 (>L:RFP_sound_id,number) (>K:PANEL_ID_TOGGLE) 2 (>L:Wiper_CPT_Left, enum) </Click> </Area> <Area Left="29" Top="9" Width="14" Height="16"> <Cursor Type="Hand"/> <Click>01 (>L:RFP_sound_id,number) (>K:PANEL_ID_TOGGLE) 5 (>L:Wiper_CPT_Left, enum) </Click> </Area> </Mouse></Gauge>and here my RFP/sound.ini[Config]MaxSounds=8Lvar=RFP_sound_idLvarStop=RFP_Sound_Stop[sounds]Sound00=./Sound/RFP/wiper_slow.wav,100Sound01=./Sound/RFP/wiper_fast.wav,100[Lvars]Lvar00=RFP_sound_wiper_slowLvar01=RFP_sound_wiper_fastThe string in my Panel.cfg is:gauge50=dsd_xml_sound3!dsd_xml_sound3,0,0,,, ./sound/RFP_sound.iniWhere is my error?Gianfranco Edited February 8, 201214 yr by G.Franco Corrias
February 8, 201214 yr Hi GianfrancoSound00=./Sound/RFP/wiper_slow.wav,100Sound01=./Sound/RFP/wiper_fast.wav,100All sound files should end in .wavSound00=./Sound/RFP/wiper_slow.wavSound01=./Sound/RFP/wiper_fast.wavNot sure what the 100 means.Ok, I think 100 is a level valueAlso(>K:PANEL_ID_TOGGLE)needs ident number (>K:PANEL_ID_TOGGLE)01 (>L:RFP_sound_id,number)Never tried leading zeros before, Try0 (>L:RFP_sound_id,number) and1 (>L:RFP_sound_id,number)RFP_sound_wiper_fast andRFP_sound_wiper_slowDon't appear in your click, Try2 (>L:RFP_sound_wiper_fast,number) and2 (>L:RFP_sound_wiper_slow,number)to start a looping soud0 (>L:RFP_sound_wiper_fast,number) and0 (>L:RFP_sound_wiper_slow,number)to stop a looping soud Edited February 8, 201214 yr by pve Paul EGLD
February 8, 201214 yr My string here:gauge50=dsd_xml_sound3!dsd_xml_sound3,0,0,,, ./sound/RFP_sound.inionly has one comma after the 0:gauge50=dsd_xml_sound3!dsd_xml_sound3,0,0, ./sound/RFP_sound.iniHope this helps, Tom Gibson CalClassic Propliner Page
February 9, 201214 yr Author Thanks for your replies but I cannot able to make the Wipers sound working.Gianfranco
February 9, 201214 yr Hi,Working code,1 (>L:wiper sound,number) calls the sound.Wiper logic: <Element><Select><Value>(L:WIPER var 3,enum) 0 ==if{(L:WIPER switch,enum) 1 == (P:ZULU TIME,seconds) (L:WIPER var 1,enum) >= (L:capt instr bus AC volts,number) 100 > and andif{1 (>L:WIPER var 2,enum) 1 (>L:WIPER var 3,enum) (P:ZULU TIME,seconds) 4 + (>L:WIPER var 1,enum)(A:AMBIENT PRECIP STATE,number) 4 != (A:AMBIENT PRECIP STATE,number) 8 != and if{ (L:WIPER var 4,enum) -- (>L:WIPER var 4,enum) } els{ 5 (>L:WIPER var 4,enum) }(L:WIPER var 4,enum) 0 <= if{ [b]1 (>L:wiper sound,number)[/b] } els{ [b]1 (>L:wiper sound,number)[/b] }}(L:WIPER switch,enum) 2 >= (L:capt instr bus AC volts,number) 100 > andif{1 (>L:WIPER var 2,enum) 1 (>L:WIPER var 3,enum)(A:AMBIENT PRECIP STATE,number) 4 != (A:AMBIENT PRECIP STATE,number) 8 != and if{ (L:WIPER var 4,enum) -- (>L:WIPER var 4,enum) } els{ 5 (>L:WIPER var 4,enum) }(L:WIPER var 4,enum) 0 <= if{ 1[b] (>L:wiper sound,number) [/b]} els{ [b]1 (>L:wiper sound,number)[/b] }}}els{(L:WIPER Position,enum)(L:WIPER var 2,enum) (L:WIPER speed,enum) * (L:capt instr bus AC volts,number) 100 > * + (>L:WIPER Position,enum)(L:WIPER Position,enum) 23 >= if{ -1 (>L:WIPER var 2,enum) 23 (>L:WIPER Position,enum) }(L:WIPER Position,enum) 0 <= if{ 0 (>L:WIPER var 3,enum) 0 (>L:WIPER Position,enum) }}</Value> </Select> </Element> Clickspot: <Area Left="870" Right="970" Top="550" Bottom="610"><Tooltip>Wiper switch</Tooltip><Cursor Type="Hand"/><Click Kind="LeftSingle+RightSingle" Repeat="Yes">(M:Event) 'LeftSingle' scmp 0 == if{ (L:WIPER switch,enum) 3 == if{ 2 (>L:WIPER switch,enum) } els{ (L:WIPER switch,enum) 2 == if{ 0 (>L:WIPER switch,enum) } els{ (L:WIPER switch,enum) 0 == if{ 1 (>L:WIPER switch,enum) } } } (L:WIPER switch,enum) 1 - (>L:WIPER SPEED,enum) (L:WIPER SPEED,enum) 0 == if{ 1 (>L:WIPER SPEED,enum) } (L:WIPER switch,enum) 0 > if{ 1 (>L:switch,number) } }(M:Event) 'RightSingle' scmp 0 == if{ (L:WIPER switch,enum) 1 == if{ 0 (>L:WIPER switch,enum) } els{ (L:WIPER switch,enum) 0 == if{ 2 (>L:WIPER switch,enum) } els{ (L:WIPER switch,enum) 2 == if{ 3 (>L:WIPER switch,enum) } } } (L:WIPER switch,enum) 1 - (>L:WIPER SPEED,enum) (L:WIPER SPEED,enum) 0 == if{ 1 (>L:WIPER SPEED,enum) } (L:WIPER switch,enum) 3 < if{ 1 (>L:switch,number) } }</Click></Area> panel.cfg: gauge31=phjvh soundphjvh sound!dsd_xml_sound3, 0,,,, ./Aircraft/Boeing 767-300ER/panel/phjvh sound/phjvh sound.ini sound.cfg: [Config]MaxSounds=99ErrorFlag=0LvarStop=soundstopVolumeVar=Radio_Range_VolumeResetVolumeVar=0[sounds]Sound00=./Aircraft/Boeing 767-300ER/panel/phjvh sound/alert caution.wavSound01=./Aircraft/Boeing 767-300ER/panel/phjvh sound/alert fire.wavSound02=./Aircraft/Boeing 767-300ER/panel/phjvh sound/alert warning.wavSound03=./Aircraft/Boeing 767-300ER/panel/phjvh sound/button.wavSound04=./Aircraft/Boeing 767-300ER/panel/phjvh sound/switch.wavSound05=./Aircraft/Boeing 767-300ER/panel/phjvh sound/button soft.wavSound06=./Aircraft/Boeing 767-300ER/panel/phjvh sound/guard.wavSound07=./Aircraft/Boeing 767-300ER/panel/phjvh sound/elec.wavSound08=./Aircraft/Boeing 767-300ER/panel/phjvh sound/airco.wavSound09=./Aircraft/Boeing 767-300ER/panel/phjvh sound/wiper sound.wav,88[LVars]Lvar00=alert cautionLvar01=alert fireLvar02=alert warningLvar03=buttonLvar04=switchLvar05=button softLvar06=guardLvar07=elecLvar08=aircoLvar09=wiper sound "phjvh sound" folder is under panel folder.In here "phjvh sound.cfg", .wav files and" phjvh sound.gau" (renamed dsd_xml_sound3.gau)Hope you can extract something useful, Edited February 9, 201214 yr by phjvh Jan "Beatus ille qui procul negotiis..."
February 11, 201214 yr Author Thanks Jan for your reply.As you can see in the forum there are a lot posts about this gauge but I think the problem is do to the very vague Doug Dawson explanations.Gianfranco
Create an account or sign in to comment