July 1, 20169 yr Hi to all... I am looking into adding an aural alert sound for the FS9 default king air altitude selector, that will sound off once the altimeter reading passes 1,000ft before the selected altitude on the selector, and will sound off again intermittently when the altimeter reading drifts 200ft above or below the selected altitude on the selector... (I already have the .wav file for the sound) I was looking at Doug's XML sound gauge to facilitate the feature, but I'm getting confused by how to properly code it, plus, I'm having difficulty as to finding the .ini file being mentioned in the readme... if anyone has a complete or detailed tutorial on how to use/configure the gauge for this purpose, it will be much appreciated... I think I can figure out what to do from there on in from my (still very) limited coding experience thanks much! (I downloaded the version 5.2.0 of the gauge from his site)
July 1, 20169 yr [Config] MaxSounds=70 [sounds] Sound00=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/ALERT.wav Sound01=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/BEEP.wav Sound02=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/VOICE_V1.wav Sound03=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/VOICE_VR.wav Sound04=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/engine fire bell.wav Sound05=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/Conc_sign.wav Sound06=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/Attend3.wav Sound07=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/button.wav Sound08=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/click.wav etc etc [LVars] Lvar00=DM SOUND ALERT Lvar01=DM SOUND BEEP Lvar02=DM SOUND V1 Lvar03=DM SOUND VR Lvar04=Sound_Fire Lvar05=Sound_sb Lvar06=Sound_Attend3 Lvar07=Sound_button Lvar08=Sound_click etc etc Actual gauge <!-- Cabin Pressure Aural Warning --> <Element> <Select> <Value>(L:Cabin_Alt_ind,number) 10000 > (L:ALT_PRESSED,bool) 0 == and if{ 2 (>L:DM SOUND BEEP,number) } els{ 0 (>L:DM SOUND BEEP,number) }</Value> </Select> </Element> This may help you. Make sure that in the ini file you have a high enough number for max sounds. You need under [sounds] to create a link to the actual wav. file. Under [LVars] create the L var name. Make sure that the sound number agrees with the lvar number. Then when you create the gauge use the lvar from the ini file. Use number because there are three variables 0 to turn the sound off, 1 to play it once and 2 to repeat the sound. Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
July 1, 20169 yr Author much thanks for the reply one question, where do I find the .ini file? or will it be automatically generated when I code the gauge into the panel.cfg file? EDIT: ok I think I found the file, much thanks again!
July 1, 20169 yr Remember to put the gauge into your main panel. Super VC10 into LOWI with PF3 at a cinema near you https://www.youtube.com/watch?v=298UDyNmgUA
Create an account or sign in to comment