I have been running a Real Sim Gear generic switch panel in MSFS2020 for years using the C172 steam gauge. This weekend I upgraded to MSFS2024. Several of the switches stopped working, but I was able to fix them using the CommandMapping.ini file and putting in events that worked in 24 (flying the Asobo C172 basic). However, I am stumped on the Avionics Bus1 and Avionics Bus 2 toggle switches. The CommandMapping.ini for those switches were as follows:
SW_AVIONICS1.SW.ON=AVIONICS_MASTER_1_SET#1
SW_AVIONICS1.SW.OFF=AVIONICS_MASTER_1_SET#0
SW_AVIONICS2.SW.ON=AVIONICS_MASTER_2_SET#1
SW_AVIONICS2.SW.OFF=AVIONICS_MASTER_2_SET#0
Using the Spad.Next event monitor, I was able to test inside the plane and saw that it is passing B: (behavior) events instead of SimConnect events. It is using events like:
B:ELECTRICAL_LINE_BUS_1_TO_AVIONICS_BUS_1 (parameter 0 for off, 1 for on)
I tried putting those in the Command Mapping file, but it looks like the RSG plugin doesn’t know how to pass B: events (or I don’t know how to code them).
Yes, I realize that the developers updated the model to make the electrical system more real life programable - but how do you not also include a basic event for toggling a switch on and off. They could have let me flip the switch and then run all their fancy electricity code afterward :).
Anyone run into this issue or find a SimConnect event that toggles these switches? Programming the fuel pump and the fuel selector was fairly straight forward (though painful). After avionics, I think I just have the parking break left. Ready to get flying and to stop jacking around with SDK and config files!
Thanks!