Difference between revisions of "Module"

From Kerbal Space Program Wiki
Jump to: navigation, search
(FXModuleConstrainPosition)
(FXModuleConstrainPosition)
Line 57: Line 57:
 
}
 
}
 
</pre>
 
</pre>
 +
 +
=== ModuleWheel ===
 +
<pre>
 +
MODULE
 +
{
 +
name = ModuleWheel
 +
hasMotor = true
 +
resourceName = ElectricCharge
 +
        resourceConsumptionRate = 0.5
 +
canSteer = true
 +
controlAxisType = Forward
 +
steeringModeType = AutomaticSteer
 +
brakeTorque = 180
 +
brakeSpeed = 1.0
 +
impactTolerance = 65
 +
overSpeedDamage = 20
 +
 +
WHEEL
 +
{
 +
    wheelName = wheel
 +
    wheelColliderName = wheelCollider
 +
    suspensionTransformName = suspensionTraverse
 +
    suspensionNeutralPointName = suspensionNeutralPoint
 +
    damagedObjectName = bustedwheel
 +
    rotateX = 0
 +
    rotateY = 1
 +
    rotateZ = 0
 +
}
 +
 +
steeringCurve
 +
{
 +
  key = 0 18
 +
key = 15 6
 +
}
 +
 +
torqueCurve
 +
{
 +
  key = 0 170 0 0
 +
  key = 2.5 100 0 0
 +
  key = 12 0 0 0
 +
}
 +
 +
 +
}</pre>

Revision as of 13:47, 26 July 2014

ModuleEngines

MODULE
{	
name = ModuleEngines	
thrustVectorTransform
Name = thrustTransform	
throttleLocked = True	
exhaustDamage = True	
allowShutdown = False	
ignitionThreshold = 0.1	
minThrust = 0	
maxThrust = 18	
heatProduction = 550	
fxOffset = 0, 0, 0.02	
PROPELLANT	
{		
name = SolidFuel        
ratio = 1.0		
DrawGauge = True	
}	
atmosphereCurve 	
{   	 
key = 0 100  	 
key = 1 100 	
}	
}

ModuleTestSubject

MODULE
{	
name = ModuleTestSubject		
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8	
environments = 15		
useStaging = False	
useEvent = True
}

FXModuleConstrainPosition

MODULE

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

}

ModuleWheel

MODULE
{
	name = ModuleWheel
	hasMotor = true
	resourceName = ElectricCharge
        resourceConsumptionRate = 0.5
	canSteer = true
	controlAxisType = Forward
	steeringModeType = AutomaticSteer
	brakeTorque = 180
	brakeSpeed = 1.0
	impactTolerance = 65
	overSpeedDamage = 20

	WHEEL
	{
	    wheelName = wheel
	    wheelColliderName = wheelCollider
	    suspensionTransformName = suspensionTraverse
	    suspensionNeutralPointName = suspensionNeutralPoint
	    damagedObjectName = bustedwheel
	    rotateX = 0
	    rotateY = 1
	    rotateZ = 0
	}

	steeringCurve
 	{
   	 key = 0 18
	 key = 15 6
 	}

	torqueCurve
	{
	  key = 0 170 0 0 
	  key = 2.5 100 0 0
	  key = 12 0 0 0
	}


}