mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Add KerbalFoundries compatability patch
This commit is contained in:
parent
5ff8cbb09f
commit
51774cdf80
@ -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
|
||||
}
|
||||
}
|
@ -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
|
||||
------
|
||||
|
Loading…
Reference in New Issue
Block a user