FSX variables for VERTICAL GENERIC SWITCH

Questions about deployment and use of Air Manager Instruments

Moderators: russ, Ralph

Post Reply
Message
Author
bonaventure
Posts: 6
Joined: Thu Jan 16, 2020 2:03 pm

FSX variables for VERTICAL GENERIC SWITCH

#1 Post by bonaventure »

I'm using the VERTICAL GENERIC SWITCH Type 1 by J. Zahar based on Russ Barlow's original Work.
The default function is set up for a beacon light:

Code: Select all

-- modify the variable according to taste --
fsx_switch_var="LIGHT BEACON"                          -- FSX Event 
fsx_switch_function="TOGGLE_BEACON_LIGHTS"  -- FSX action to perform
fsx_switch_type="Bool"            -- FSX function variable type returned 
I would like to use this switch for other things, like the fuel pump in the Caranado Cessna T182. I tried the following without success:

Code: Select all

fsx_switch_var="FUEL PUMP"                    -- FSX Event 
fsx_switch_function="FUELSYSTEM_PUMP_TOGGLE:1"  -- FSX action to perform
fsx_switch_type="Bool"                -- FSX function variable type returned 
I cannot get it to work. Does anyone know where I can find this information?

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: FSX variables for VERTICAL GENERIC SWITCH

#2 Post by SimPassion »

Hi @bonaventure
Did you checked "FUELSYSTEM_PUMP_TOGGLE:1" is correct and requires Boolean value for toggle ? From where did you get this variable name ?

bonaventure
Posts: 6
Joined: Thu Jan 16, 2020 2:03 pm

Re: FSX variables for VERTICAL GENERIC SWITCH

#3 Post by bonaventure »

Did you checked "FUELSYSTEM_PUMP_TOGGLE:1" is correct and requires Boolean value for toggle ? From where did you get this variable name ?
I'm not sure if that is correct (not sure of the name format or if its a Boolean value). Here is where I got the variable that I tried.
https://docs.flightsimulator.com/html/P ... Events.htm

I'm hoping that someone here can point me in the right direction, either to the correct resource for the variables or some advice on how to format them in the instrument.

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: FSX variables for VERTICAL GENERIC SWITCH

#4 Post by SimPassion »

bonaventure wrote: Sun Dec 11, 2022 6:18 pm
Did you checked "FUELSYSTEM_PUMP_TOGGLE:1" is correct and requires Boolean value for toggle ? From where did you get this variable name ?
I'm not sure if that is correct (not sure of the name format or if its a Boolean value). Here is where I got the variable that I tried.
https://docs.flightsimulator.com/html/P ... Events.htm

I'm hoping that someone here can point me in the right direction, either to the correct resource for the variables or some advice on how to format them in the instrument.
So you are on MSFS, the best would be to enable the Dev Mode (SDK) and use the Behaviors window to search if this event is used in C182_Interior.xml (or something similar as I don't own this aircraft)
If not we have to check which is the proper event name

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: FSX variables for VERTICAL GENERIC SWITCH

#5 Post by SimPassion »

As this is event, I've introduced a confusion and the Bool parameter has nothing to do with an event name

[EDIT] Read additional info here, where it looks like we have to designate at first the component to be updated : to be confirmed, perhaps SI or Tony already got a better approach ?

https://docs.flightsimulator.com/html/C ... m.htm#pump

Post Reply