Jump to content

[0.26/0.90] Renegrade's Hacky Radial Decoupler Fix


Renegrade

Recommended Posts

Here's my quick and dirty fix for radial decouplers having wonky torque:


@PART[*]:HAS[@MODULE[ModuleAnchoredDecoupler]]
{
// XXX: Bugfix for 0.24 side decouplers being faulty:
@MODULE[ModuleAnchoredDecoupler]
{
@ejectionForce = 0
}
}

That will disable all ejection force so it acts like a strutted decoupler from 0.23.5 or earlier.

Here's a refined version that specifically targets stock radial decouplers and nothing else (as the above one may interfere with fancy fairings and such):


// TT-38K Radial Decoupler :: Squad/Parts/Utility/decouplerRadialTT-38K/decouplerRadialTT-38K.cfg
@PART[radialDecoupler]
{
@MODULE[ModuleAnchoredDecoupler]
{
@ejectionForce = 0
}
}

// TT-70 Radial Decoupler :: Squad/Parts/Utility/decouplerRadialTT-70/decouplerRadialTT-70.cfg
@PART[radialDecoupler2]
{
@MODULE[ModuleAnchoredDecoupler]
{
@ejectionForce = 0
}

}

// Hydraulic Detachment Manifold :: Squad/Parts/Utility/decouplerRadialHDM/decouplerRadialHDM.cfg
@PART[radialDecoupler1-2]
{
@MODULE[ModuleAnchoredDecoupler]
{
@ejectionForce = 0
}
}

Here's the Structural Pylon. I'm not sure if it's decoupler module has the same problem or not:


// Structural Pylon :: Squad/Parts/Structural/structuralPylon/structuralPylon.cfg
@PART[structuralPylon]
{
@MODULE[ModuleDecouple]
{
@ejectionForce = 0
}
}

It's safer but may miss some mod-added decouplers.

ModuleManager 2.0+ is required of course.

Updates

- Added a block for the Structural Pylon (if needed) and updated filename/paths for 0.26/"0.90"

The code above is available under the 2-Clause BSD license.

Edited by Renegrade
Updated title~
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Just wanted to update that there's a plugin-based fix for decouplers here: http://forum.kerbalspaceprogram.com/threads/97285

It's better in that it fixes the issue completely without having to kill the decoupler ejection force. Of course, it will have to be updated as KSP updates, so I'll leave my fix here too in case there's a window where ModuleManager is updated before the proper fix.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...