Add KerbalFoundries compatability patch

This commit is contained in:
Andrew Cassidy 2020-05-24 20:10:50 -07:00
parent 5ff8cbb09f
commit 51774cdf80
No known key found for this signature in database
GPG Key ID: 963017B38FD477A1
2 changed files with 122 additions and 0 deletions

View File

@ -0,0 +1,121 @@
// KerbalFoundries has an optional patch for the stock wheels, this fixes it to work with Restock models
//LT-05 -- 'micro'
@PART[miniLandingLeg]:AFTER[KerbalFoundries-Patches]
{
@MODULE[KSPWheelSuspension]
{
@suspensionName = leg1_piston
}
@MODULE[KSPWheelDeployment]
{
@animationName = restock-leg-1-deploy
}
}
//LT-01 -- 'medium'
@PART[landingLeg1]:AFTER[KerbalFoundries-Patches]
{
@MODULE[KSPWheelSuspension]
{
@suspensionName = Piston
}
@MODULE[KSPWheelSuspsension]
{
@animationName = Deploy
}
@MODULE[KSPWheelBogey]
{
@bogeyName = foot
@bogeyRotAxis = 1, 0, 0
@rotationOffset = 180
@restingRotation = 90
}
}
//LT-02 -- 'large'
@PART[landingLeg1-2]:AFTER[KerbalFoundries-Patches]
{
@MODULE[KSPWheelSuspension]
{
@suspensionName = leg3_piston
}
@MODULE[KSPWheelDeployment]
{
animationName = restock-leg-3-deploy
}
@MODULE[KSPWheelBogey]
{
@bogeyName = leg3_foot
@bogeyRotAxis = 1, 0, 0
@rotationOffset = 0
@restingRotation = 0
}
}
//roverWheelS2 - the probe wheels
@PART[roverWheel2]:AFTER[KerbalFoundries-Patches]
{
@MODULE[KSPWheelRotation]
{
@wheelMeshName = WheelPivot
}
@MODULE[KSPWheelSuspension]
{
@suspensionName = SuspensionPivot
}
@MODULE[KSPWheelSteering]
{
@steeringName = SteeringPivot
}
@MODULE[KSPWheelDamage]
{
@wheelName = Wheel
@bustedWheelName = WheelBusted
}
}
//roverWheelM1 - the doughnut
@PART[roverWheel1]:AFTER[KerbalFoundries-Patches]
{
@MODULE[KSPWheelRotation]
{
@wheelMeshName = WheelPivot
}
@MODULE[KSPWheelSuspension]
{
@suspensionName = SuspensionPivot
}
@MODULE[KSPWheelSteering]
{
@steeringName = SteeringPivot
}
@MODULE[KSPWheelDamage]
{
@wheelName = Wheel
@bustedWheelName = WheelBusted
}
}
//roverWheelTR-2L - truck wheels
@PART[wheelMed]:AFTER[KerbalFoundries-Patches]
{
@MODULE[KSPWheelRotation]
{
@wheelMeshName = WheelPivot
}
@MODULE[KSPWheelSuspension]
{
@suspensionName = SuspensionPivot
}
@MODULE[KSPWheelSteering]
{
@steeringName = SteeringPivot
}
@MODULE[KSPWheelDamage]
{
@wheelName = Wheel
@bustedWheelName = WheelBusted
}
}

View File

@ -3,6 +3,7 @@ v1.1.2
- Fixed engine plate compatability with stock vessels by moving boattails to the end of the variant list
- Fixed engine plate negative masses when used in KSP 1.8.x by setting the part mass to the 1.9.x values. This comes at the expense of affecting part balance when used in 1.8.x.
- Reworked hierarchy of LT-1 and LT-2 landing legs to help address weakness issues (#858)
- Added patch for KerbalFoundries to work with ReStock models
v1.1.1
------