Flysimware Cessna 414A

Some sim aircraft do not have GPS or have a no gos panel variant that some prefer to fly.

1 Like

Anyone has been successful in binding interior lighting to hardware?

I found them, it’s the following input events:

PASSENGER_LIGHTSWITCH_SIDE_CONSOLE_1<>
PASSENGER_LIGHTSWITCH_LOWER_INST_1<>
PASSENGER_LIGHTSWITCH_LEFT_INST_1<>
PASSENGER_LIGHTSWITCH_ENGINE_INST_1<>
PASSENGER_LIGHTSWITCH_RADIO_1<>
PASSENGER_LIGHTSWITCH_COMPASS_1<>
PASSENGER_LIGHTSWITCH_RFLT_INST_1<>

I didn’t concider them at first because they all start with “PASSENGER_”

Now the only switch I don’t know how to bind is the day/night switch. Anyone can advice maybe?

1 Like

And yes, what a nice aircraft Flysimware made!

I can when I get home from work. :wink:

1 Like

Interesting…
I found other xvar to move those cursors, like LVAR:XMLVAR_LIGHTSWITCH_RFLT_INST_1_POSITION

This one move cursor but don’t change correctly the light on panels.

Tomorrow i’ll do some test

@kaha300d

Untitled

LVAR is for switch animation, Bus Breaker Pulled:5 turns on and off

1 Like

I can’t find those input events, not at all. :cry:
(I use spad.next vers.0.9.12.123)

Thank you, I’ll implement this.

I’m using FSUIPC, so I cannot help with Spad unfortunately.

The day night switch is this one:

The other seven appear to be these:

image

image

1 Like

I really appreciate the help I get in this thread (and in the forum generally). Lighting works perfectly now.

There is one switch I cannot bind correctly and that is the primer switch. I can get it to work, but just momentarily. I want to hold it in position as long as the switch is on, has anyone done this?

Do you mean the left/right momentary switch in the centre of the two red button starter switches?

Yes, that one.

I’m not sure I ever set that. I usually relied on the fuel pumps. :wink:

Here’s what I have set for the starter switch. I’ll take a quick look at the primer now.

Bear in mind it’s ages since I’ve flown the 414, and its possible more recent updates have rendered some of these useless in the mean time.

I have tried the Mobiflight presets and also the input event GENERIC_PRIMER_SWITCH, but both triggers momentarily only.

Yes, I just found that out. 1 is centre, 0 is left, and 2 is right.

image

Both the Bvar above, an the Lvar below have the same behaviour:

image

I P3D FSUIPC had the feature to create mouse macros. You just recorded several mouse operations in the virtual cockpit and then replayed it by the trigger of a button. You could do everything with it.

Unfortunately MSFS2020 does not support this.

This comment just threw me for loop in light of the Vars you posted, and the Vars @hobanagerik posted, both of which control the same actions.

Are the variable names in FSUIPC different than the names for the same variables in SPAD? How does that work? How can a single Var have two different names?

Must be some form of translation going on in FSUIPC.

As an example, here is my lua script for the day/night switch. The LVar does the animation and switches between day/night. The AVar switches on the flood lights and, most importantly, some lights not triggered by the 7 linear potentiometers:

--[[

	Set interior lighting Day/Night switch for C414
	
	0 = off
	1 = on
	
]]

local calc_code
local value

if ipcPARAM == 1 then 	value = 0
else					value = 1	end

ipc.writeLvar("L:GENERIC_ELECTRICAL_Panel_Master", ipcPARAM)
calc_code = value .. " (>A:BUS BREAKER PULLED:5, bool)"
ipc.execCalcCode(calc_code)