February 1, 20188 yr I can find keyboard or button assignment for Aviation BUS 1, but can't find anything for BUS 2 to turn my G430 on, so mouse clicking is my only option for now Any idea ??? Cheers Yair
February 1, 20188 yr Is it called alternator 2 or generator 2? | 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 |
February 5, 20188 yr Author ... LR doesn't provide Alternator 2 at all , & Generator 2 is no good either, suppose to be Avionic BUS 1 & Avionic Bus 2, the Saiteks Switch Panel furnished with Avionic Master which is triggering the G530 Reg.
February 6, 20188 yr Author On 1/31/2018 at 8:38 PM, N1125Y said: I can find keyboard or button assignment for Aviation BUS 1, but can't find anything for BUS 2 to turn my G430 on, so mouse clicking is my only option for now Any idea ??? Cheers Yair sorry. mean AVIONIC BUS 2 ...:-)
February 10, 20188 yr You need to change the DataRef "set cross_tie": sim/cockpit2/electrical/cross_tie Ich have written a Lua script for the Cessna 172 REP which switches the Bus2 automatically with Bus1 and also addresses the fuel pump DataRef which REP uses: if PLANE_ICAO == "C172" then set("sim/cockpit/gyros/dg_drift_vac_deg",0) DataRef("status_avionics", "sim/cockpit2/switches/avionics_power_on", "readonly") DataRef("status_fuelpump", "sim/cockpit2/engine/actuators/fuel_pump_on", "readonly",0) DataRef("REP_fuelpump", "simcoders/rep/cockpit2/engine/actuators/fuel_pump_0", "writable") DataRef("REP_avionics", "simcoders/rep/cockpit2/switches/avionics_power_on", "writable") DataRef("set_crosstie", "sim/cockpit2/electrical/cross_tie", "writable") function DoSwitches() if status_avionics == 1 then REP_avionics = 1 set_crosstie = 1 else REP_avionics = 0 set_crosstie = 0 end if status_fuelpump == 1 then REP_fuelpump = 1 else REP_fuelpump = 0 end end do_every_frame("DoSwitches()") end ------------------------------------------------------------------------------------------------------- i7 7700 OVC to 4.8 Ghz, Win 10 16 GB RAM (3 Ghz), P3D V3.4, Nvidia GTX 1070, 4K monitor resolution@30Hz on 55'' TV, PFC hardware
February 10, 20188 yr On 5.2.2018 at 9:02 AM, N1125Y said: ... LR doesn't provide Alternator 2 at all , & Generator 2 is no good either, suppose to be Avionic BUS 1 & Avionic Bus 2, the Saiteks Switch Panel furnished with Avionic Master which is triggering the G530 Reg. That is actually not true....X-Plane provides 8 (!) Generators, The corresponding DataRef (sim/cockpit2/electrical/generator_on) is an array of 8 integer values ------------------------------------------------------------------------------------------------------- i7 7700 OVC to 4.8 Ghz, Win 10 16 GB RAM (3 Ghz), P3D V3.4, Nvidia GTX 1070, 4K monitor resolution@30Hz on 55'' TV, PFC hardware
February 15, 20188 yr Author On 2/9/2018 at 10:35 PM, allergiecheck said: You need to change the DataRef "set cross_tie": sim/cockpit2/electrical/cross_tie Ich have written a Lua script for the Cessna 172 REP which switches the Bus2 automatically with Bus1 and also addresses the fuel pump DataRef which REP uses: if PLANE_ICAO == "C172" then set("sim/cockpit/gyros/dg_drift_vac_deg",0) DataRef("status_avionics", "sim/cockpit2/switches/avionics_power_on", "readonly") DataRef("status_fuelpump", "sim/cockpit2/engine/actuators/fuel_pump_on", "readonly",0) DataRef("REP_fuelpump", "simcoders/rep/cockpit2/engine/actuators/fuel_pump_0", "writable") DataRef("REP_avionics", "simcoders/rep/cockpit2/switches/avionics_power_on", "writable") DataRef("set_crosstie", "sim/cockpit2/electrical/cross_tie", "writable") function DoSwitches() if status_avionics == 1 then REP_avionics = 1 set_crosstie = 1 else REP_avionics = 0 set_crosstie = 0 end if status_fuelpump == 1 then REP_fuelpump = 1 else REP_fuelpump = 0 end end do_every_frame("DoSwitches()") end ..tnx... but I have no clue how to deal with DataRef or any sort of programming ..... however, I found out that Cross-Tie on/off or toggle will do the 'Trick"
Archived
This topic is now archived and is closed to further replies.