linuxgurugamer

[1.5.x] RetractableLiftingSurface Module released

Recommended Posts

This is a small module which allows you to have a folding wing or other retractable lifting surface.  It allows for an integrated control surface (only one at this time).

Additionally, the integrated control surface is eased in once the wing is deployed, so that it doesn't kick in instantly

It's available here:  https://github.com/linuxgurugamer/RetractableLiftingSurface/releases

License: MIT

The following mods use this:

Kerbonov Kn-2 Cockpit Module: http://forum.kerbalspaceprogram.com/index.php?/topic/60380-*

REKT Escape Pod Mod: http://forum.kerbalspaceprogram.com/index.php?/topic/150837-*

CONTARES 1.8.1 with addons for Tantares and TantaresLV: http://forum.kerbalspaceprogram.com/index.php?/topic/122102-*

SXT Continued: http://forum.kerbalspaceprogram.com/index.php?/topic/151129-*

Instructions for use:

Add the following module to the cfg file ( which replaces the ModuleLiftingSurface):

    MODULE
    {
        name = RetractableLiftingSurface
        retracted = 1     // this value comes from the animation  If you find that you are getting
                        // lift when retracted, and no lift when extended, set this to 0
        retractedDeflectionLiftCoeff = 0
        extendedDeflectionLiftCoeff = 1.37 // 4.83m^
        useInternalDragModel = True

        // If no control surface as part of this lifting surface, then no need for
        // following two lines
        retractedCtlSfcDeflectionLiftCoeff = 0
        extendedCtlSfcDeflectionLiftCoeff = 1.25
    }

 

Edited by linuxgurugamer
  • Like 14

Share this post


Link to post
Share on other sites

So you can make wings on planes that can move with your mod?

Share this post


Link to post
Share on other sites

Sounds fantastic! Have you tried it with FAR?

  • Like 1

Share this post


Link to post
Share on other sites

So... swing wings? I would love to see something with automatic wing sweep in KSP. Takeoffs with 14 degrees sweep, mach 2 with 57 degrees sweep...

  • Like 1

Share this post


Link to post
Share on other sites

Or wings that fold up to fit inside a fairing, then deploy for reentry. Or retractable canards for better subsonic handling of a big delta wing. Or wings that rotate into a "shuttlecock" configuration for reentry.

Lotsa possibilities.  :D

  • Like 3

Share this post


Link to post
Share on other sites

Um,   Paraglider for the Gemini Space Capsule anyone?   :)    How about Inflatable wings?

 

Awesome Modlett Concept @linuxgurugamer  

 

  • Like 2

Share this post


Link to post
Share on other sites
10 hours ago, Joco223 said:

So you can make wings on planes that can move with your mod?

That's the idea.  It was written to support SXT, but should be flexible enough for a lot more

6 hours ago, White Owl said:

Or wings that fold up to fit inside a fairing, then deploy for reentry. Or retractable canards for better subsonic handling of a big delta wing. Or wings that rotate into a "shuttlecock" configuration for reentry.

Lotsa possibilities.  :D

Yup.  Now all you modelers, get to work :-)

  • Like 1

Share this post


Link to post
Share on other sites

I want wet wings that fold for storage in a Mk3 cargo bay, plz

Share this post


Link to post
Share on other sites

Wet wings, as in wings with tanks?

Edited by linuxgurugamer

Share this post


Link to post
Share on other sites
3 hours ago, linuxgurugamer said:

That's the idea.  It was written to support SXT, but should be flexible enough for a lot more

Yup.  Now all you modelers, get to work :-)

Oh! This works for those little fold-up wings currently already in SXT? Perfecto!

  • Like 1

Share this post


Link to post
Share on other sites
31 minutes ago, Beetlecat said:

Oh! This works for those little fold-up wings currently already in SXT? Perfecto!

It will, once we release SXT Redux

  • Like 2

Share this post


Link to post
Share on other sites
1 minute ago, linuxgurugamer said:

It will, once we release SXT Redux

Now I'm paying attention! ;D

Share this post


Link to post
Share on other sites

Yay!!!

Now someone can make something along the line of this and/or this

 

Edited by BT Industries
  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, linuxgurugamer said:

Wet wings, as in wings with tanks?

Yes, exactly

Share this post


Link to post
Share on other sites
6 hours ago, fourfa said:

Yes, exactly

That can be done to any wing out there, it's merely a matter of writing the config.

I would suggest, however, that the cost should be equal to the sum of the wing and an equivalent tank, to account for the extra cost in developing and building a hollow, strong wing

Share this post


Link to post
Share on other sites

Will you be able to attach a stock wing to a hinge (Infernal Robotics) and it gives lift according to the angle it is rotated?

Share this post


Link to post
Share on other sites

That should be taken care of by stock.  Regardless, this mod wouldn't have anything to do with that.

Share this post


Link to post
Share on other sites
On 8/13/2016 at 0:29 PM, stryker2279 said:

are there any mods currently using this plugin?

 

Not yet, but there will be shortly

  • Like 1

Share this post


Link to post
Share on other sites

Hello @linuxgurugamer

could you please explain what requirements a part needs to function as a lifting body with your plugin?

If I want to equip a Paraglider therefore, this requires a collider for the game internal calculation?

Edited by hraban

Share this post


Link to post
Share on other sites

Same thing that a regular part needs to be a lifting body.  The only thing this does is to change the amount of lift depending on how much it is deployed.

Share this post


Link to post
Share on other sites

Hello @linuxgurugamer,

thank you for the nice plugin, it works well and is a must have for me and the mod Contares.

Here a picture of deployed Paraglider for the Kerbalized ESA IXV

D9JPW01.png

 

  • Like 5

Share this post


Link to post
Share on other sites
2 minutes ago, hraban said:

Hello @linuxgurugamer,

thank you for the nice plugin, it works well and is a must have for me and the mod Contares.

Here a picture of deployed Paraglider for the Kerbalized ESA IXV

No way! I think I know what mini expansion BDB needs now...

  • Like 2

Share this post


Link to post
Share on other sites
10 minutes ago, hraban said:

Hello @linuxgurugamer,

thank you for the nice plugin, it works well and is a must have for me and the mod Contares.

Here a picture of deployed Paraglider for the Kerbalized ESA IXV

D9JPW01.png

 

Looks great.  when will you release a version for 1.1.3? (on CKAN)?

Edited by linuxgurugamer

Share this post


Link to post
Share on other sites
12 minutes ago, linuxgurugamer said:

Looks great.  when will you release a version for 1.1.3? (on CKAN)?

Contares next update comes in two or three weeks but i will offer a beta download tomorrow. Including the 3rd Beta of Dassault-Hermes.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now