August 26, 200916 yr Can someone help me out here? Why do I have this random light suspended beneath my nose? | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |
August 26, 200916 yr I don't have the F-16, but that's where the landing light on an F-16 is when the gear are extended. Are the landing lights on? I've seen that sort of thing in other aircraft in FSX.
August 26, 200916 yr Think it's a bug with aerosoft I have the same thing, but shutting off the landing light (left Mid console) will turn it off. I don't have the F-16, but that's where the landing light on an F-16 is when the gear are extended. Are the landing lights on? I've seen that sort of thing in other aircraft in FSX.
August 26, 200916 yr Author Thanks, yeah its like they forgot to turn off the FX when gear not extended, shouldn't have been too tough I would imagine?? | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |
August 27, 200916 yr Moderator It is a trivial matter to script a tiny, invisible XML "gauge" to automatically turn off the landing lights when the gear is retracted...Cut-and-paste the following to notepad.exe, save in a folder named NoseGearLight, and name the file NoseGearLight.xmlPlace the ..\NoseGearLight folder in your a/c's ..\panel folder, and add the new gauge to the [VCockpit01] entry of the panel.cfg file:gaugeXX=NoseGearLight!NoseGearLight, 0,0,1,1 (where XX is the next highest number) <?xml version="1.0" encoding="utf-8"?><Gauge Name="NoseGearLight" Version="1.0"> <Element> <Rectangle Width="10" Height="10" LineWidth="2" Color="Black" Fixed="Yes"/> </Element> <Element> <Select> (A:LIGHT LANDING,bool) (A:GEAR CENTER POSITION,percent) 10 < and if{ (>K:KEY_LANDING_LIGHTS_TOGGLE) </Select> </Element></Gauge> Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
August 27, 200916 yr Thank you, Fr. Bill. It may, as you say, be a "trivial matter," but most of us wouldn't have known where to start, so we are in your debt.
August 27, 200916 yr I believe that the F-16 does turn off the lights (landing and taxi) automatically when the gear is commanded up, so don't feel like this is a crutch.
August 27, 200916 yr Author I must have done something wrong , because that didn't workIn the main panel folder (most models are aliased to the main folder), I have a folder called NoseGearLight, and inside the file NoseGearLight.xml residesI didn't have a Vcockpit0 section, only a Vcockpit01, where I added the gauge line aboveHere's the section:[Vcockpit01]//file=F-16_1.bmpBackground_color=0,0,0size_mm=512,512visible=1pixel_size=1024,1024texture=$F-16_1gauge00=HUD!HUD, 0,46,254,264gauge01=VIPER!DED, 258,1,159,63gauge02=VIPER!RADIO, 0,0,1,1gauge03=VIPER!flaps_control, 0,0,1,1gauge04=SCControl!CTRL, 0,0,1,1gauge05=VIPER!AS_SB, 0,0,1,1gauge06=MFD!LMFD, 6,310,165,170gauge07=MFD!RMFD, 182,310,165,170gauge08=VIPER!ex_light_control, 0,0,1,1gauge09=VIPER!AS_Mastercaution, 0,0,1,1gauge10=NoseGearLight!NoseGearLight, 0,0,1,1 | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |
August 27, 200916 yr Moderator I must have done something wrong , because that didn't workIn the main panel folder (most models are aliased to the main folder), I have a folder called NoseGearLight, and inside the file NoseGearLight.xml residesI didn't have a Vcockpit0 section, only a Vcockpit01, where I added the gauge line aboveNo, the problem is mine... Fr. Stupid didn't bother to actually test the script himself, so missed a few minor syntax errors... :( Here is tested script that will work:<Gauge Name="NoseGearLight" Version="1.0"> <Element> <Rectangle Width="1" Height="1" LineWidth="1" Color="#000000"/> </Element> <Element> <Select> <Value> (A:LIGHT LANDING,bool) 1 == (A:GEAR CENTER POSITION,percent) 10 < and if{ (>K:LANDING_LIGHTS_OFF) } </Value> </Select> </Element></Gauge> Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
August 28, 200916 yr Guten Tag n4gixYour 2nd .xml for automatic landing light OFF is working fine with my aerosoft f16. Thank you very much.If I understand correctly the automatic light-OFF is only usefull when executing an overshoot out of landing configuraton with landing light ON.Night TAKE OFFs I think are not done with landing lights ON but perhaps with taxi light ON.Your modification however does NOT cover automatic taxi light OFF.Could be usefull to extend your modification also for taxi light.My English is not perfect. Hope I expressed myself comprehesivelyRegards G
August 28, 200916 yr Author Thank you, this new code works! Appreciate it Bill! | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |
Create an account or sign in to comment