Parts/Wheel/roverWheelM1/roverWheelM1.cfg

From Kerbal Space Program Wiki
< Parts
Revision as of 00:55, 6 August 2014 by XZise (talk | contribs) (XZise moved page Parts/Utility/roverWheel1/part.cfg to Parts/Wheel/roverWheel1/part.cfg without leaving a redirect: fixed parent directory)
Jump to: navigation, search
This is the configuration file for RoveMax Model M1.
PART
{
name = roverWheel1
module = Part
author = Squad

mesh = model.mu
scale = 1

node_attach = 0.3093255, 0.322, 0.00, 1.0, 0.0, 0.0, 1

TechRequired = fieldScience
entryCost = 5200

cost = 450
category = Utility
subcategory = 0
title = RoveMax Model M1
manufacturer = Kerbal Motion LLC
description = After years of outcry against the lack of proper powered wheels, a small startup company named Kerbal Motion was founded and delivered just what the public wanted - the RoveMax Model 1 powered rover wheel.

attachRules = 0,1,0,1,0

mass = 0.075
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 1
crashTolerance = 7
maxTemp = 3600 

crashTolerance = 50
breakingForce = 50
breakingTorque = 50

MODULE
{
	name = ModuleWheel
	hasMotor = true
	resourceName = ElectricCharge
        resourceConsumptionRate = 1.0
	canSteer = true
	controlAxisType = Forward
	steeringModeType = AutomaticSteer
	brakeTorque = 300
	brakeSpeed = 1.2
	impactTolerance = 200
	overSpeedDamage = 60
	WHEEL
	{
	    wheelName = wheel
	    wheelColliderName = wheelCollider
	    suspensionTransformName = suspensionTraverse
	    suspensionNeutralPointName = suspensionNeutralPoint
	    damagedObjectName = bustedwheel
	    rotateX = 0
	    rotateY = 1
	    rotateZ = 0
	}

	steeringCurve
 	{
   	 key = 0 16
	 key = 10 9
  	 key = 30 2
 	}

	torqueCurve
	{
	  key = 0 250 0 0
	  key = 20  100 0
          key = 30 14 0 0
	  key = 34 0 0 0
	}

}

MODULE
{
	name = FXModuleLookAtConstraint
	CONSTRAINLOOKFX
	{
		targetName = susp2-1
		rotatorsName = susp2-2
	}

	CONSTRAINLOOKFX
	{
		targetName = susp2-2
		rotatorsName = susp2-1
	}

	CONSTRAINLOOKFX
	{
		targetName = susp1-2
		rotatorsName = susp1-1
	}

	CONSTRAINLOOKFX
	{
		targetName = susp1-1
		rotatorsName = susp1-2
	}

	CONSTRAINLOOKFX
	{
		targetName = susp3-1
		rotatorsName = susp3-2
	}

	CONSTRAINLOOKFX
	{
		targetName = susp3-2
		rotatorsName = susp3-1
	}

}

MODULE
{
	name = FXModuleConstrainPosition
	matchRotation = true
	matchPosition = false
	CONSTRAINFX
	{
		targetName = steering
		moversName = trackSteering
	}
	
}
}