mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
New module is extendable and modular, allowing constraints to be run in the expected order without relying on possibly undefined behavior
209 lines
4.2 KiB
INI
209 lines
4.2 KiB
INI
// ReStock+ 1.1.0
|
|
// 90° rotated rover wheel
|
|
PART
|
|
{
|
|
name = restock-wheel-1-T
|
|
module = Part
|
|
author = Andrew Cassidy
|
|
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Ground/restock-wheel-1-T
|
|
scale = 1.0, 1.0, 1.0
|
|
}
|
|
rescaleFactor = 1.0
|
|
|
|
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
|
attachRules = 1,1,0,0,0
|
|
node_attach = 0.0, 0.5248517, 0.3083052, 0.0, 0.0, -1.0, 1
|
|
node_stack_bottom = 0.0, 0.5248517, 0.321335, 0.0, 0.0, 1.0, 1
|
|
|
|
TechRequired = spaceExploration
|
|
entryCost = 3100
|
|
cost = 300
|
|
category = Ground
|
|
subcategory = 0
|
|
mass = 0.06
|
|
|
|
title = #LOC_RestockPlus_restock-wheel-1-T_title // Rovemax Model S2-T
|
|
manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
|
|
description = #LOC_RestockPlus_restock-wheel-1-T_description
|
|
// A modified rover wheel that is rotated 90°, ideal for tricycles or other unusually shaped vehicles
|
|
|
|
dragModelType = default
|
|
maximum_drag = 0.3
|
|
minimum_drag = 0.2
|
|
angularDrag = 1
|
|
crashTolerance = 20
|
|
maxTemp = 1200
|
|
bulkheadProfiles = srf
|
|
tags = #LOC_RestockPlus_restock-wheel-1-T_tags // drive ground roll rover wheel tricycle restock
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleWheelBase
|
|
|
|
wheelColliderTransformName = WheelCollider
|
|
wheelTransformName = WheelPivot
|
|
|
|
wheelType = MOTORIZED
|
|
|
|
// setting this to true will override the radius and center parameters
|
|
FitWheelColliderToMesh = False
|
|
radius = 0.157
|
|
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
|
|
maximumLoad = 8.0
|
|
suspensionDistance = 0.195
|
|
suspensionOffset = -0.05
|
|
targetPosition = 0.2
|
|
springRatio = 5
|
|
damperRatio = 1.0
|
|
useAutoBoost = true
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleWheelSteering
|
|
baseModuleIndex = 0
|
|
|
|
caliperTransformName = SteeringPivot
|
|
|
|
steeringResponse = 1.5
|
|
steeringCurve
|
|
{
|
|
key = 0 40
|
|
key = 5 27//15
|
|
key = 10 9//6
|
|
key = 30 3.0//1.5
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleWheelMotor
|
|
baseModuleIndex = 0
|
|
|
|
wheelSpeedMax = 11
|
|
driveResponse = 2
|
|
|
|
torqueCurve
|
|
{
|
|
key = 0 0.17 0 0
|
|
key = 2.5 0.1 0 0
|
|
key = 12 0 0 0
|
|
}
|
|
RESOURCE
|
|
{
|
|
name = ElectricCharge
|
|
rate = 1//5
|
|
}
|
|
idleDrain = 0.0//0.1//
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleWheelBrakes
|
|
baseModuleIndex = 0
|
|
|
|
maxBrakeTorque = 0.34
|
|
brakeResponse = 1
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleWheelDamage
|
|
baseModuleIndex = 0
|
|
|
|
damagedTransformName = WheelBusted
|
|
undamagedTransformName = Wheel
|
|
|
|
stressTolerance = 315
|
|
impactTolerance = 65
|
|
deflectionMagnitude = 1.0
|
|
deflectionSharpness = 2.0
|
|
slipMagnitude = 15
|
|
slipSharpness = 2.0
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleRestockConstraints
|
|
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Suspension1
|
|
targetName = Suspension2
|
|
}
|
|
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Suspension2
|
|
targetName = Suspension1
|
|
}
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModulePartVariants
|
|
useMultipleDragCubes = false
|
|
baseVariant = Bare
|
|
VARIANT
|
|
{
|
|
name = Bare
|
|
displayName = #LOC_Restock_variant-probe-bare
|
|
primaryColor = #999999
|
|
secondaryColor = #999999
|
|
|
|
GAMEOBJECTS
|
|
{
|
|
body_gold = false
|
|
SteeringPivot_gold = false
|
|
body_silver = false
|
|
SteeringPivot_silver = false
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Gold
|
|
displayName = #LOC_Restock_variant-probe-gold
|
|
themeName = Gold
|
|
primaryColor = #fccb0a
|
|
secondaryColor = #999999
|
|
|
|
GAMEOBJECTS
|
|
{
|
|
body_gold = true
|
|
SteeringPivot_gold = true
|
|
body_silver = false
|
|
SteeringPivot_silver = false
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Silver
|
|
displayName = #LOC_Restock_variant-probe-silver
|
|
themeName = Silver
|
|
primaryColor = #cecece
|
|
secondaryColor = #999999
|
|
|
|
GAMEOBJECTS
|
|
{
|
|
body_gold = false
|
|
SteeringPivot_gold = false
|
|
body_silver = true
|
|
SteeringPivot_silver = true
|
|
}
|
|
}
|
|
}
|
|
} |