Kerbal Joint Reinforcement /L :: KSP 1.4 Updated
Physics stabilizer plugin for Kerbal Space Program. Fork by Lisias.
This branch is KSP 1.4, 1.3 and (perhaps?) 1.2 compatible, with configuration/settings files saved to <KSP_ROOT>/PluginData
.
This is the last fork with assured backward compatibility with ferram4's KJR.
In a Hurry
This is kind of "Take Over", where I will develop the plugin to meet my own needs. This probably will break the expected behaviour from previous versions.
If you need an updated, consistent and stable version from the Ferram4's KJR, but want some minor but cool features, this is the branch for you. On the other hand, if you prefer a classical and well known approach, perhaps you should try LGG's fork.
- Latest Release
- Source
- Binaries
- Change Log
- Available branches:
- new breed
- lgg's 1.3 and 1.4 based
- ferram4's 1.3 based
Description
This is still about the original fork. It's unlikely to change, but something eventually will.
EXCITING FEATURES!
- Physics Easing
- Slowly dials up external forces (gravity, centrifugal, coriolis) when on the surface of a planet, reducing the initial stress during loading
- All parts and joints are strengthened heavily during physics loading (coming off of rails) to prevent Kraken attacks on ships
- Launch Clamp Easing
- Prevents launch clamps from shifting on load, which could destroy the vehicle on the pad
- Stiffen interstage connections
- Parts connected to a decoupler will be connected to each other, reducing flex at the connection to reasonable levels
- Stiffen launch clamp connections
- Less vehicle movement on vessel initialization
- Warning: may cause spontaneous rocket disintegration if rocket is too large and overconstrained (far too many lanuch clamps; their connections will fight each other and give rise to phantom forces)
- Increase stiffness and strengths of connections
- Larger parts will have stiffer connections to balance their larger masses / sizes
- Sequential parts in a stack will be connected with a stiff, but weak connection to add even more stiffness and counteract wobble
- Option to make connection strengths weaker to counteract increases in stiffness
- Joint Stiffness parameters can be tweaked in included config.xml file
config value documentation:
General Values
Type | Name | Default Value | Action |
---|---|---|---|
bool | reinforceAttachNodes | 1 | Toggles stiffening of all vessel joints |
bool | multiPartAttachNodeReinforcement | 1 | Toggles additional stiffening by connecting parts in a stack one part further, but at a weaker strength |
bool | reinforceDecouplersFurther | 1 | Toggles stiffening of interstage connections |
bool | reinforceLaunchClampsFurther | 1 | Toggles stiffening of launch clamp connections |
bool | useVolumeNotArea | 1 | Switches to calculating connection area based on volume, not area; not technically correct, but allows a better approximation of very large rockets |
bool | debug | 0 | Toggles debug output to log; please activate and provide log if making a bug report |
float | massForAdjustment | 0.01 | Parts below this mass will not be stiffened |
float | stiffeningExtensionMassRatioThreshold | 5 | Sets mass ratio needed between parts to extend Decoupler Stiffening one part further than it normally would have gone; essentially, if the code would have stopped at part A, but part B that it is connected to is >5 times as massive as part A, include part B |
float | decouplerAndClampJointStrength | -1 | Sets breaking strength for joints involved in decoupler and clamp additional strengthening; -1 makes them unbreakable |
Angular "Drive" Values (universally scales angular strength of connections)
Type | Name | Default Value | Action |
---|---|---|---|
float | angularDriveSpring | 5e12 | Factor used to scale stiffness of angular connections |
float | angularDriveDamper | 25 | Factor used to scale damping of motion in angular connections |
float | angularMaxForceFactor | -1 | Factor used to scale maximum force that can be applied before connection "gives out"; does not control joint strength; -1 makes this value infinite |
Joint Strength Values
Type | Name | Default Value | Action |
---|---|---|---|
float | breakForceMultiplier | 1 | Factor scales the failure strength (for forces) of joint connections; 1 gives stock strength |
float | breakTorqueMultiplier | 1 | Factor scales the failure strength (for torque) of joint connections; 1 gives stock strength |
float | breakStrengthPerArea | 1500 | Overrides above values if not equal to 1; joint strength is based on the area of the part and failure strength is equal to this value times connection area |
float | breakTorquePerMOI | 6000 | Same as above value, but for torques rather than forces and is based on the moment of inertia, not area |
Part and Module Exemptions
Type | Name | Default Value | Action |
---|---|---|---|
string | exemptPartType0 | MuMechToggle | Part stiffening not applied to this type of "Part"; exemption to avoid interference with Infernal Robotics |
string | exemptPartType1 | MuMechServo | Part stiffening not applied to this type of "Part"; exemption to avoid interference with Infernal Robotics |
string | exemptModuleType0 | WingManipulator | Part stiffening not applied to parts with this type of PartModule; exemption to prevent problems with pWings |
string | exemptModuleType1 | SingleGroupMan | Part stiffening not applied to parts with this type of PartModule; exemption to prevent problems with procedural adapter included with pWings |
string | exemptModuleType2 | KerbalEVA | Part stiffening not applied to parts with this type of PartModule; exemption to prevent problems with Kerbals in command seats |
string | exemptModuleType3 | MuMechToggle | Part stiffening not applied to parts with this type of PartModule; exemption to prevent problems with Kerbals in command seats |
string | exemptModuleType4 | WingProcedural | Part stiffening not applied to parts with this type of PartModule; exemption to prevent problems with Kerbals in command seats |
Further part and module exemptions can be added using the same formating and changing the number
Decoupler Stiffening Extension Types
Type | Name | Default Value | Action |
---|---|---|---|
string | decouplerStiffeningExtensionType0 | ModuleEngines | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
string | decouplerStiffeningExtensionType1 | ModuleEnginesFX | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
string | decouplerStiffeningExtensionType2 | ModuleHybridEngine | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
string | decouplerStiffeningExtensionType3 | ModuleHybridEngines | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
string | decouplerStiffeningExtensionType4 | ModuleEngineConfigs | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
These types are currently not used, but removing the a in front of them will cause KJR to make use of them again; their lack should not affect stiffening appreciably but does help reduce overhead and strange stiffening situations
Type | Name | Default Value | Action |
---|---|---|---|
string | adecouplerStiffeningExtensionType5 | ModuleDecouple | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
string | adecouplerStiffeningExtensionType6 | ModuleAnchoredDecoupler | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
string | adecouplerStiffeningExtensionType7 | ProceduralFairingBase | Decoupler stiffening will look for parts beyond this part type to add to stiffening |
License
GPL3. See here.
Dependencies
UPSTREAM
- ferram4 ROOT
- linuxgurugamer (LGG) Unofficial stable fork.
- oeteletroll Parallel?