mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
250 lines
5.5 KiB
INI
250 lines
5.5 KiB
INI
// ReStock+ 1.1.0
|
|
// Folding LRV wheel
|
|
PART
|
|
{
|
|
name = restock-wheel-4
|
|
module = Part
|
|
author = Andrew Cassidy
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Ground/restock-wheel-4
|
|
scale = 1.0, 1.0, 1.0
|
|
}
|
|
rescaleFactor = 1.25 //sigh
|
|
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
|
attachRules = 1,1,0,0,0
|
|
node_attach = 0.36, 0.1207, 0.0, 1.0, 0.0, 0.0, 1
|
|
node_stack_bottom = 0.3815, 0.1207, 0.0, 1.0, 0.0, 0.0, 1
|
|
TechRequired = fieldScience
|
|
entryCost = 5000
|
|
cost = 500
|
|
category = Ground
|
|
mass = 0.04
|
|
title = #LOC_RestockPlus_restock-wheel-4_title // Rovemax Model M0
|
|
manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
|
|
description = #LOC_RestockPlus_restock-wheel-4_description
|
|
// A smaller version of the popular Rovemax wheel with an integrated folding function, allowing it to be stowed for transportation.
|
|
dragModelType = default
|
|
maximum_drag = 0.3
|
|
minimum_drag = 0.2
|
|
angularDrag = 1
|
|
crashTolerance = 30
|
|
maxTemp = 1200
|
|
bulkheadProfiles = srf
|
|
tags = #LOC_RestockPlus_restock-wheel-4_tags // )car drive ground roll rover wheel fold LRV restock
|
|
/// Flag to disable this part if MH is installed
|
|
MHReplacement = True
|
|
MODULE
|
|
{
|
|
name = ModuleWheelBase
|
|
wheelColliderTransformName = WheelCollider
|
|
wheelTransformName = WheelPivot
|
|
wheelType = MOTORIZED
|
|
// setting this to true will override the radius and center parameters
|
|
FitWheelColliderToMesh = False
|
|
radius = 0.23
|
|
center = 0,0,0
|
|
mass = 0.040
|
|
groundHeightOffset = 0
|
|
TooltipTitle = #autoLOC_502081 //#autoLOC_502081 = Rover Wheel
|
|
TooltipPrimaryField = #autoLOC_6004045 //#autoLOC_6004045 = Motorized
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelSuspension
|
|
baseModuleIndex = 0
|
|
suspensionTransformName = SuspensionPivot
|
|
suspensionDistance = 0.1
|
|
targetPosition = 0.0
|
|
springRatio = 12
|
|
damperRatio = 1.0
|
|
maximumLoad = 5.0
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelSteering
|
|
baseModuleIndex = 0
|
|
caliperTransformName = SteeringPivot
|
|
steeringResponse = 2
|
|
steeringCurve
|
|
{
|
|
key = 0 20
|
|
key = 10 9
|
|
key = 30 3.0
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelMotor
|
|
baseModuleIndex = 0
|
|
maxRpm = 42
|
|
driveResponse = 2
|
|
torqueCurve
|
|
{
|
|
key = 0 0.5 0 0
|
|
key = 2 0.3 0
|
|
key = 10 0.1 0 0
|
|
key = 25 0 0 0
|
|
}
|
|
RESOURCE
|
|
{
|
|
name = ElectricCharge
|
|
rate = 1.0
|
|
}
|
|
idleDrain = 0.0
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelBrakes
|
|
baseModuleIndex = 0
|
|
maxBrakeTorque = 0.5
|
|
brakeResponse = 1
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelDamage
|
|
baseModuleIndex = 0
|
|
damagedTransformName = WheelBusted
|
|
undamagedTransformName = Wheel
|
|
stressTolerance = 250
|
|
impactTolerance = 100
|
|
deflectionMagnitude = 1.0
|
|
deflectionSharpness = 2.0
|
|
slipMagnitude = 15
|
|
slipSharpness = 2.0
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelDeployment
|
|
baseModuleIndex = 0
|
|
animationTrfName = restock-wheel-4
|
|
animationStateName = restock-wheel-4-deploy
|
|
deployedPosition = 0
|
|
deployTargetTransformName = deployTgt
|
|
TsubSys = 1.0
|
|
useStandInCollider = False
|
|
slaveModules = 8
|
|
fxDeploy = deploy
|
|
fxRetract = retract
|
|
fxDeployed = deployed
|
|
fxRetracted = retracted
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModulePartVariants
|
|
baseVariant = Orange
|
|
VARIANT
|
|
{
|
|
name = Orange
|
|
displayName = #autoLOC_8007100 // Orange
|
|
themeName = Orange
|
|
primaryColor = #74402B
|
|
secondaryColor = #707070
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = true
|
|
Fender_grey = false
|
|
Fender_cernan = false
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Grey
|
|
displayName = #autoLOC_8007119 // White
|
|
themeName = White
|
|
primaryColor = #ffffff
|
|
secondaryColor = #707070
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = false
|
|
Fender_grey = true
|
|
Fender_cernan = false
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Cernan
|
|
displayName = #LOC_Restock_variant-wheel_broken // Broken
|
|
themeName = Orange
|
|
primaryColor = #74402B
|
|
secondaryColor = #A0A0A0
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = false
|
|
Fender_grey = false
|
|
Fender_cernan = true
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Bare
|
|
displayName = #LOC_Restock_variant-wheel_bare //Bare
|
|
themeName = White
|
|
primaryColor = #707070
|
|
secondaryColor = #707070
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = false
|
|
Fender_grey = false
|
|
Fender_cernan = false
|
|
}
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleTestSubject
|
|
environments = 15
|
|
useStaging = False
|
|
useEvent = True
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleRestockConstraints
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Link1
|
|
targetName = Link1Target
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Link2
|
|
targetName = Link2Target
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SuspensionPiston
|
|
targetName = SuspensionPistonTarget
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SuspensionCylinder
|
|
targetName = SuspensionCylinderTarget
|
|
}
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = LowerBracket
|
|
targetName = UpperBracket
|
|
}
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringPivotFollower
|
|
targetName = SteeringPivot
|
|
}
|
|
COPYPOSITIONCONSTRAINT
|
|
{
|
|
moversName = WheelMesh
|
|
targetName = WheelPivotFollower
|
|
}
|
|
COPYPOSITIONCONSTRAINT
|
|
{
|
|
moversName = WheelMeshBusted
|
|
targetName = WheelPivotFollower
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleCargoPart
|
|
packedVolume = 275
|
|
}
|
|
}
|