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. Customizing the Prop Animation

Customizing the Prop Animation

Scheduled Pinned Locked Moved Caravan Professional
1 Posts 1 Posters 25 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.
  • D Offline
    D Offline
    dotisopropyl
    wrote last edited by
    #1

    This is a long shot, but I thought I'd ask anyway.

    I'm wanting to "slow down" the propeller animation to make it more visually pleasing (for me). I've done this on other airplanes by editing the model.xml file, however the Caravan Professional uses some new tricks from MSFS 2024 that I'm not familiar with.

    I've read the relevant bits of the SDK documentation, but I'm hoping someone with more knowledge/experience than me can chime in here, too.

    Basically what I'm trying to achieve is "half RPM" — so 1,000 propeller RPM is animated as if it's 500; 1,900 RPM becomes 950, and so on. I can adjust from there if it's too drastic.

    (Undoubtedly someone is going to highlight how unrealistic this is, and I agree. But my preference of "seeing" the spinning propeller outweighs my chase of outright realism in this case.) 😅

    <ANIM_CODE>
    	(A:PROP RPM:1, RPM) 143 &gt; if{
    		(A:PROP RPM:1, RPM) (&gt;L:bksq_VisualPropRpm, RPM)
    		(A:PROP ROTATION ANGLE:1, degrees) (&gt;L:bksq_VisualPropRotationAngle, degrees)
    		(A:PROP ROTATION ANGLE:1, degrees)
    	}
    	els{
    		(L:bksq_VisualPropRpm, RPM) (A:PROP RPM:1, RPM) &gt;    (L:bksq_VisualPropRpm, RPM) 4.0 &gt; and if{
    			(L:bksq_VisualPropRpm, RPM) 0.995 *
    			(A:PROP RPM:1, RPM) 0.005 *
    			+ (&gt;L:bksq_VisualPropRpm, RPM)
    		}
    		els{
    			(L:bksq_VisualPropRpm, RPM) 0.98 *
    			(A:PROP RPM:1, RPM) 0.02 *
    			+ (&gt;L:bksq_VisualPropRpm, RPM)
    		}
    		(L:bksq_VisualPropRpm, RPM) 8 * (A:ANIMATION DELTA TIME, seconds) *
    		(L:bksq_VisualPropRotationAngle, degrees) +
    		360 %
    		d (&gt;L:bksq_VisualPropRotationAngle, degrees)
    	}
    	(L:bksq_VisualPropRpm, RPM) (&gt;L:BKSQ_CARAVAN_PROP_RPM, RPM)
    </ANIM_CODE>
    
    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