Hardware Binding Issue: Windshield Deice Switch Reverts from Manual to Off
-
The windshield switch has three positions (0 = Auto, 1 = Off, 2 = Manual). In the Manual position, you must hold the switch when using the mouse. I tried assigning the value 2 to L:var_WindShieldDeiceSwitch, but the switch immediately returns to the Off position. How can I make it stay in the Manual position while holding my hardware switch down?
-
-
@jmarkows the L:var_WindShieldDeiceSwitch_IsDown is not available
-
@Black-Square is there any chance of adding the L:var_WindShieldDeiceSwitch_IsDown in the next update?
-
@Black-Square is there any chance of adding the L:var_WindShieldDeiceSwitch_IsDown in the next update?
@hangar_101 It's not really something I can add, unfortunately. This is the same problem as several of my aircraft where Asobo did not really anticipate an L:Var friendly way to interact with spring return switches. I think I added an override to some similar switches in Starship. If you wanted to make a quick modification for yourself, you could add the following in the appropriate Caravan "_INT" behaviors XML:
Find...
(L:var_WindshieldDeiceSwitch, bool) 1 != (>A:CIRCUIT SWITCH ON:23, bool)Replace...
(L:var_WindshieldDeiceSwitch, bool) 1 != (L:var_WindshieldDeiceSwitchOverride, bool) or (>A:CIRCUIT SWITCH ON:23, bool)It's possible to animate the switch with this variable too, which I think is what I did for Starship. That's a little harder to do without testing first, but I will see about adding it to the next update, and I can post the code here for you too in the meantime.
-
@hangar_101 It's not really something I can add, unfortunately. This is the same problem as several of my aircraft where Asobo did not really anticipate an L:Var friendly way to interact with spring return switches. I think I added an override to some similar switches in Starship. If you wanted to make a quick modification for yourself, you could add the following in the appropriate Caravan "_INT" behaviors XML:
Find...
(L:var_WindshieldDeiceSwitch, bool) 1 != (>A:CIRCUIT SWITCH ON:23, bool)Replace...
(L:var_WindshieldDeiceSwitch, bool) 1 != (L:var_WindshieldDeiceSwitchOverride, bool) or (>A:CIRCUIT SWITCH ON:23, bool)It's possible to animate the switch with this variable too, which I think is what I did for Starship. That's a little harder to do without testing first, but I will see about adding it to the next update, and I can post the code here for you too in the meantime.
@Black-Square I tried the code change, but the switch keeps moving up and down. I might be missing something.
-
@Black-Square I tried the code change, but the switch keeps moving up and down. I might be missing something.
@hangar_101 Are you using the new L:var_WindshieldDeiceSwitchOverride? That will activate the windshield heat, but it won't actuate the switch. I wrote the code to do that earlier, but I haven't tested it yet.
-
@hangar_101 Are you using the new L:var_WindshieldDeiceSwitchOverride? That will activate the windshield heat, but it won't actuate the switch. I wrote the code to do that earlier, but I haven't tested it yet.
@Black-Square got it! Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login