Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Caravan Professional
  6. Generator Switch and Inertial Separator Animations

Generator Switch and Inertial Separator Animations

Scheduled Pinned Locked Moved Caravan Professional
13 Posts 4 Posters 198 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    wrote last edited by
    #4

    @miller39687
    Inertial Separator
    B:HANDLING_INERTSEP (1 - ON / 0 - OFF) - Animation works just fine.

    Hangar 101

    M 1 Reply Last reply
    0
    • hangar_101H hangar_101

      @miller39687
      Inertial Separator
      B:HANDLING_INERTSEP (1 - ON / 0 - OFF) - Animation works just fine.

      M Offline
      M Offline
      miller39687
      wrote last edited by
      #5

      @hangar_101 Thank you! I will try that when I get a chance to sit down at the simulator again! I had used the L:XMLVAR_InterSep listed in the manual. It worked, but without the handle animation.

      1 Reply Last reply
      0
      • M miller39687

        After days of reading, studying, trial and error, I have successfully mapped the Caravan's electrical switch panel and Inertial Separator to a couple of peripherals using the Hangar Control App. All functions are working properly, confirmed by the tablet, annunciator panel and the multi meter, however, I get no visual confirmation of the Generator Switch, nor the Inertial Separator. I have seen another post about the generator switch, but I didn't see where there was an actual solution found and @Black-Square didn't chime in on that topic.
        I understand that in certain cases there are animations that are activated outside of the Lvars that are being used to control an in-game switch and such, but I have no knowledge of how make them happen. All other animations for the other switches are functioning normally. I'm less concerned about the generator switch animation, as it's only out of it's center position momentarily, and I can easily confirm it's status on the annunciator/meter. The inertial separator is more of a concern as I primarily fly in VR, and if the lever is not visually out, I have no way to confirm it's status without looking at the tablet or feeling for my switch position.
        Does anyone have any possible solutions for someone who is not adept at modifying XMLs and the like? Any help is appreciated

        Black SquareB Online
        Black SquareB Online
        Black Square
        Black Square Developer
        wrote last edited by
        #6

        @miller39687 For the generator switch, in CaravanProfessional_INT.XML (there will be two such files in your community folder if you have the bundle), search for the line...

        <CODE_POS_2> 2 (&gt;L:var_GeneratorSwitch, number) </CODE_POS_2>
        

        Immediately afterwards, add:

        <OVERRIDE_ANIM_CODE>
        	(L:var_GeneratorSwitch, number) 1 == if{
        		0
        	}
        	els{
        		(L:var_GeneratorSwitch, number) 2 == if{
        			200
        		}
        		els{
        			100
        		}
        	}
        </OVERRIDE_ANIM_CODE>
        

        For the inertial seperator, search for ASOBO_HANDLING_Lever_InertSep_Template. Delete this block of code (from <UseTemplate Name... to </UseTemplate>, and replace it with...

        <Component ID="HANDLING_Lever_InertSep" Node="HANDLING_Lever_InertSep">
        	<UseTemplate Name="ASOBO_GT_Switch_Code">
        		<ANIM_NAME>HANDLING_Lever_InertSep</ANIM_NAME>
        		<NODE_ID>HANDLING_Lever_InertSep</NODE_ID>
        		<PART_ID>HANDLING_Lever_InertSep</PART_ID>
        		<LEFT_SINGLE_CODE>
        			(L:XMLVAR_InterSep, bool) ! (&gt;L:XMLVAR_InterSep, bool)
        		</LEFT_SINGLE_CODE>
        		<ANIM_CODE>(L:XMLVAR_InterSep, bool) 100 *</ANIM_CODE>
        		<ANIM_LAG>100</ANIM_LAG>
        
        		<WWISE_EVENT_1>Caravan_Bypass_On</WWISE_EVENT_1>
        		<WWISE_EVENT_2>Caravan_Bypass_Off</WWISE_EVENT_2>
        
        		<TOOLTIP_TITLE></TOOLTIP_TITLE>
        		<TOOLTIPID>Inertial Seperator</TOOLTIPID>
        	</UseTemplate>
        </Component>
        

        Let me know if you need any help with that! Always happy to fix these things for anyone willing to edit a couple lines of code 🙂

        hangar_101H M 2 Replies Last reply
        1
        • Black SquareB Black Square

          @miller39687 For the generator switch, in CaravanProfessional_INT.XML (there will be two such files in your community folder if you have the bundle), search for the line...

          <CODE_POS_2> 2 (&gt;L:var_GeneratorSwitch, number) </CODE_POS_2>
          

          Immediately afterwards, add:

          <OVERRIDE_ANIM_CODE>
          	(L:var_GeneratorSwitch, number) 1 == if{
          		0
          	}
          	els{
          		(L:var_GeneratorSwitch, number) 2 == if{
          			200
          		}
          		els{
          			100
          		}
          	}
          </OVERRIDE_ANIM_CODE>
          

          For the inertial seperator, search for ASOBO_HANDLING_Lever_InertSep_Template. Delete this block of code (from <UseTemplate Name... to </UseTemplate>, and replace it with...

          <Component ID="HANDLING_Lever_InertSep" Node="HANDLING_Lever_InertSep">
          	<UseTemplate Name="ASOBO_GT_Switch_Code">
          		<ANIM_NAME>HANDLING_Lever_InertSep</ANIM_NAME>
          		<NODE_ID>HANDLING_Lever_InertSep</NODE_ID>
          		<PART_ID>HANDLING_Lever_InertSep</PART_ID>
          		<LEFT_SINGLE_CODE>
          			(L:XMLVAR_InterSep, bool) ! (&gt;L:XMLVAR_InterSep, bool)
          		</LEFT_SINGLE_CODE>
          		<ANIM_CODE>(L:XMLVAR_InterSep, bool) 100 *</ANIM_CODE>
          		<ANIM_LAG>100</ANIM_LAG>
          
          		<WWISE_EVENT_1>Caravan_Bypass_On</WWISE_EVENT_1>
          		<WWISE_EVENT_2>Caravan_Bypass_Off</WWISE_EVENT_2>
          
          		<TOOLTIP_TITLE></TOOLTIP_TITLE>
          		<TOOLTIPID>Inertial Seperator</TOOLTIPID>
          	</UseTemplate>
          </Component>
          

          Let me know if you need any help with that! Always happy to fix these things for anyone willing to edit a couple lines of code 🙂

          hangar_101H Offline
          hangar_101H Offline
          hangar_101
          wrote last edited by
          #7

          @Black-Square thank you for sharing this piece of code — it worked perfectly.

          Hangar 101

          1 Reply Last reply
          0
          • Black SquareB Black Square

            @miller39687 For the generator switch, in CaravanProfessional_INT.XML (there will be two such files in your community folder if you have the bundle), search for the line...

            <CODE_POS_2> 2 (&gt;L:var_GeneratorSwitch, number) </CODE_POS_2>
            

            Immediately afterwards, add:

            <OVERRIDE_ANIM_CODE>
            	(L:var_GeneratorSwitch, number) 1 == if{
            		0
            	}
            	els{
            		(L:var_GeneratorSwitch, number) 2 == if{
            			200
            		}
            		els{
            			100
            		}
            	}
            </OVERRIDE_ANIM_CODE>
            

            For the inertial seperator, search for ASOBO_HANDLING_Lever_InertSep_Template. Delete this block of code (from <UseTemplate Name... to </UseTemplate>, and replace it with...

            <Component ID="HANDLING_Lever_InertSep" Node="HANDLING_Lever_InertSep">
            	<UseTemplate Name="ASOBO_GT_Switch_Code">
            		<ANIM_NAME>HANDLING_Lever_InertSep</ANIM_NAME>
            		<NODE_ID>HANDLING_Lever_InertSep</NODE_ID>
            		<PART_ID>HANDLING_Lever_InertSep</PART_ID>
            		<LEFT_SINGLE_CODE>
            			(L:XMLVAR_InterSep, bool) ! (&gt;L:XMLVAR_InterSep, bool)
            		</LEFT_SINGLE_CODE>
            		<ANIM_CODE>(L:XMLVAR_InterSep, bool) 100 *</ANIM_CODE>
            		<ANIM_LAG>100</ANIM_LAG>
            
            		<WWISE_EVENT_1>Caravan_Bypass_On</WWISE_EVENT_1>
            		<WWISE_EVENT_2>Caravan_Bypass_Off</WWISE_EVENT_2>
            
            		<TOOLTIP_TITLE></TOOLTIP_TITLE>
            		<TOOLTIPID>Inertial Seperator</TOOLTIPID>
            	</UseTemplate>
            </Component>
            

            Let me know if you need any help with that! Always happy to fix these things for anyone willing to edit a couple lines of code 🙂

            M Offline
            M Offline
            miller39687
            wrote last edited by miller39687
            #8

            @Black-Square Thank you again! Last night I tried your suggestion of B:HANDLING_InertSep_Toggle, and it worked perfectly, so I will likely leave that one as it is for now.
            I will give the code for the generator switch a try the next time I'm at my simulator! Since @hangar_101 had success with it, it will completely depend on my ability to follow your instructions!
            FYI, I'm loving your Caravan Professional so much that this is the switch box I invested in to increase my immersion! il_1588xN.7808464905_kbmk.webp

            C 1 Reply Last reply
            1
            • M miller39687

              @Black-Square Thank you again! Last night I tried your suggestion of B:HANDLING_InertSep_Toggle, and it worked perfectly, so I will likely leave that one as it is for now.
              I will give the code for the generator switch a try the next time I'm at my simulator! Since @hangar_101 had success with it, it will completely depend on my ability to follow your instructions!
              FYI, I'm loving your Caravan Professional so much that this is the switch box I invested in to increase my immersion! il_1588xN.7808464905_kbmk.webp

              C Offline
              C Offline
              Chimaeira
              wrote last edited by
              #9

              @miller39687

              What brand/model switch box is this?

              M 1 Reply Last reply
              0
              • C Chimaeira

                @miller39687

                What brand/model switch box is this?

                M Offline
                M Offline
                miller39687
                wrote last edited by
                #10

                @Chimaeira to avoid a post that may be taken as advertising, I'll just say to do a search on ETSY for "cessna caravan switch panel". Fair warning, it isn't cheap, but is VERY well made!

                C 1 Reply Last reply
                1
                • M Offline
                  M Offline
                  miller39687
                  wrote last edited by
                  #11

                  @Black-Square Last night I had time to add the code you provided for the generator switch. It worked flawlessly! Thank you very much!

                  1 Reply Last reply
                  0
                  • M miller39687

                    @Chimaeira to avoid a post that may be taken as advertising, I'll just say to do a search on ETSY for "cessna caravan switch panel". Fair warning, it isn't cheap, but is VERY well made!

                    C Offline
                    C Offline
                    Chimaeira
                    wrote last edited by
                    #12

                    @miller39687 Not cheap indeed 😭 Thanks for pointing me in the right direction.

                    M 1 Reply Last reply
                    0
                    • C Chimaeira

                      @miller39687 Not cheap indeed 😭 Thanks for pointing me in the right direction.

                      M Offline
                      M Offline
                      miller39687
                      wrote last edited by
                      #13

                      @Chimaeira Yes, I muddled it over for a while before deciding to purchase one. Glad I did though, it is a nice piece of hardware.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users