Difference between revisions of "User:Joshuadery"

From Kerbal Space Program Wiki
Jump to: navigation, search
(ModuleScienceContainer)
 
(114 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== MODULE ==
+
{{TOC|align=right}}
Modules define what specific parts can do.  They are generally calls to C-coded or hard-coded functions that define what functionality these parts have in-game. 
+
== MODULES FROM MODS ==
{|class="wikitable"
+
Defining a module is a task in and of itself and one that I'm sure has already been covered in other placesMany modules defined by mods are duplicating effects that could be created with stock modules, but for one reason or another, the mod owner has decided to create their own modules (possibly for degree of control, possibly because the stock module didn't quite do everything they needed). In any event, I've looked at some of the Mod modules, and detailed them belowBy mod, they are:
|-
 
| name ||names define the module in use and are a general indication of what the module subtype doesSpecific variables are associated with each [module].[name].  For example, the Clamp-O-Tron Docking Port Sr. has the MODULE.name ModuleDockingNode and its' associates variables are [referenceAttachNode] and [nodeType]Some [MODULE]s share variables with other modules, which can make deciphering their purpose difficult.
 
|}
 
  
known [MODULE]s, their associated variables, and the meanings of those variables will be explained below.
+
=== Kerbal Assembly System ===
 +
Kerbal Assembly System is most noted for adding the option to grab and move parts using Kerbals.  It also allows for storage of certain parts in containers.
  
=== ModuleParachute ===
+
MODULE:NEEDS[KAS]
 +
for the module
  
 +
{|
 +
! !!
 +
|-
 +
|
 
{|class="wikitable"
 
{|class="wikitable"
|-
+
==== KASModuleContainer ====
 +
Specifies that this part can serve as a container for other parts, and how much storage space the part has.  Also included is an interaction distance.  Kerbals must be this close or closer to open the container.  Lots of sounds.
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
| semiDeployedAnimation ||  
+
| maxSize ||  
* semiDeploySmall 
+
* 5
|| specifies the animation to use in the semi-deployed state
+
* 20
 +
* 80
 +
|| specifies the size of the container relative to Kerbal Attachment System parts.
 
|-
 
|-
| fullyDeployedAnimation ||  
+
| maxOpenDistance ||  
* fullyDeploySmall 
+
* 1
|| specifies the animation to use in the fully deployed state
+
* 5
|-
+
|| Kerbals must be at least this close (in meters) in order to open the container
| invertCanopy ||  || boolean, true or false, defaults to true.  unknown purpose.  true in parachuteMk1, true in parachuteMk2-R
 
|-
 
| autoCutSpeed ||  || specifies the speed at which the parachute will be automatically cut, rendering it ineffective.
 
|-
 
| capName ||
 
* cap 
 
|| 
 
|-
 
| canopyName ||
 
* canopy 
 
|| 
 
|-
 
| stowedDrag || 0.22 || specifies the drag effect while the parachute is still stowed
 
|-
 
| semiDeployedDrag || 1  || specifies the drag effect while the parachute is in its semi-deployed state
 
|-
 
| fullyDeployedDrag || 500  || specifies the drag effect while the parachute is in its fully deployed state
 
 
|-
 
|-
| minAirPressureToOpen || 0.01  || specifies the minimum Air pressure (or atmosphere) required for the parachute to enter its semi-deployed state
+
| sndStorePath ||  
 +
* KAS/Sounds/hookBayStore
 +
|| sound stuff
 
|-
 
|-
| deployAltitude || 500  || configurable, sets the altitude above the planetary collision mesh at which the parachute will enter its fully deployed state
+
| sndOpenPath ||  
 +
* KAS/Sounds/containerOpen
 +
|| sound stuff for opening the container 
 
|-
 
|-
| deploymentSpeed || 1 || specifies the speed at which the parachute will enter its fully deployed state
+
| sndClosePath ||  
 +
* KAS/Sounds/containerClose
 +
|| sound stuff for closing the container
 
|-
 
|-
| semiDeploymentSpeed || || specifies the speed at which the parachute will enter its semi-deployed state
+
| bipWrongSndPath ||  
 +
* KAS/Sounds/bipwrong
 +
|| sound stuff
 
|-
 
|-
 
|}
 
|}
 
+
||
=== ModuleSAS ===
+
<pre>MODULE
no known parameters.  Possibly used a reference to determine whether this part is activated by the SAS function of the interface. ie. when you turn on SAS, turn on this part.
+
{
 
+
name = KASModuleContainer
=== KerbalSeat ===
+
  maxSize = 80
{|class="wikitable"
+
}
! variable !! example !! definition
+
</pre>
 
|-
 
|-
| seatPivotName || seatPivot  || 
 
|-
 
| ejectDirection || 0,1,0.2  || 
 
|}
 
  
=== ModuleLandingGear ===
+
|
 
{|class="wikitable"
 
{|class="wikitable"
 +
==== ModuleConnectedLivingSpace ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
 +
| passable ||
 +
* true
 +
* false
 +
|| specifies whether Kerbals can commute to parts connected to this part
 
|-
 
|-
| BrakeTorque ||   ||  
+
| passableWhenSurfaceAttached ||
12
+
* true
 +
* false
 +
|| can be passed through even when connected to the ground?
 
|-
 
|-
| BrakeSpeed ||  || 
 
3
 
 
|}
 
|}
  
=== ModuleSteering ===
+
||
{|class="wikitable"
+
<pre>
! variable !! example !! definition
+
MODULE
 +
{
 +
name = ModuleConnectedLivingSpace
 +
passable = true
 +
passableWhenSurfaceAttached = true
 +
}
 +
</pre>
 
|-
 
|-
|-
+
|
| controlAxisType ||  || 
 
Forward
 
|-
 
| steeringAxis ||  || 
 
0, 0, 1 - array of 3 numers
 
|-
 
| steeringTransformName ||  || 
 
Steering
 
|-
 
| steeringLocked ||  || 
 
true or false
 
|-
 
| steeringCurve ||  || 
 
multi-array of keys,
 
0, 16
 
10, 9
 
30, 2
 
100, 1
 
|}
 
 
 
=== FXModuleConstrainPosition ===
 
 
{|class="wikitable"
 
{|class="wikitable"
 +
==== KASModuleGrab ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
 +
| evaPartPos ||
 +
* (0.0, 0.40, -0.40)
 +
* (0.0, 0.0, -0.15)
 +
|| three dimensional array, offset for carrying
 
|-
 
|-
| matchRotation ||   ||  
+
| evaPartDir ||
true or false
+
* (0,0,-1)
 +
|| three dimensional array for orientation
 
|-
 
|-
| matchPosition ||   || 
+
| storable ||
true or false
+
* true
 +
* false
 +
|| specifies whether the part can be stored
 
|-
 
|-
| CONSTRAINFX ||   ||  
+
| storedSize ||
 +
* 20
 +
* 14
 +
|| specifies whether the part can be stored
 
|-
 
|-
| targetName || ||  
+
| attachOnPart ||
Steering
+
* true
 +
* false
 +
|| uncertain
 
|-
 
|-
| moversName || ||  
+
| attachOnEva ||
wheelCollider
+
* true
 
+
* false
|}
+
|| unsure
 
 
=== ModuleLandingLeg ===
 
{|class="wikitable"
 
! variable !! example !! definition
 
 
|-
 
|-
 +
| attachOnStatic ||
 +
* True
 +
* False
 +
|| unsure
 
|-
 
|-
| animationName ||   || 
+
| customGroundPos ||
Deploy
+
* True
newlandingleg
+
* False
probeleg
+
|| unsure
 
|-
 
|-
| wheelColliderName ||   ||  
+
| attachNodeName ||
wheelCollider
+
* bottom
 +
|| unsure
 
|-
 
|-
| suspensionTransformName ||   ||  
+
| dropPartPos ||
Piston
+
* (0.0, -0.2, -0.7)
piston
+
|| unsure
leg
 
 
|-
 
|-
| orientFootToGround ||   ||  
+
| dropPartRot ||
boolean true or false
+
* (-10.0, 0.0, 0.0)
 +
|| unsure
 
|-
 
|-
| landingFootName ||   ||  
+
| bayType ||
foot
+
* hookbay
 +
|| unsure
 
|-
 
|-
| alignFootUp ||   ||  
+
| bayNode ||
boolean true or false
+
* top
<nowiki>
+
|| unsure
// Foot is aligned to up Axis instead of forward
 
alignFootUp = true
 
</nowiki>
 
<nowiki>
 
// Axis is aligned forward instead of up
 
alignFootUp = false
 
</nowiki>
 
 
|-
 
|-
| suspensionUpperLimit ||   || 
+
| bayRot ||
0.60, 0.47, 0.65
+
* (0.0., 0.0, 0.0)
 +
|| something to do with rotation
 
|-
 
|-
| impactTolerance ||   ||  
+
| attachSendMsgOnly ||
300, 450, 150
+
* true
 +
* false
 +
|| unknown
 
|-
 
|-
| suspensionSpring ||  || 
 
1.25, 5, 1
 
|-
 
| suspensionDamper ||  || 
 
1, 2, 1
 
|-
 
| suspensionOffset ||  || 
 
0, 0.02, 0
 
 
 
|}
 
|}
  
=== RetractableLadder ===
+
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleGrab           
 +
evaPartPos = (0.0, 0.40, -0.40)       
 +
evaPartDir = (0,0,-1)
 +
storable = true
 +
storedSize  = 20
 +
attachOnPart = true
 +
attachOnEva = true
 +
bayType = hookBay
 +
bayNode = top
 +
bayRot = (0.0, 0.0, 0.0)
 +
}
 +
</pre>
 +
|-
 +
|
 
{|class="wikitable"
 
{|class="wikitable"
 +
 +
==== KASModulePartBay ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
 +
| BAY || {} ||
 +
{|class="wikitable"
 
|-
 
|-
| ladderAnimationRootName ||   ||  
+
| attachNode ||
TelusBay
+
* top
Telescopic ladder
+
* bottom
 +
|| attachment placement
 +
|-
 +
| type ||
 +
* containerA
 +
* container
 +
* hookBay
 +
||
 
|-
 
|-
| ladderColliderName ||  || 
+
|}
ladderCollider
 
 
|-
 
|-
| ladderRetractAnimationName ||  || 
 
Retract
 
 
|}
 
|}
  
=== ModuleReactionWheel ===
+
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModulePartBay
 +
BAY
 +
{
 +
  attachNode = top
 +
  type = containerA
 +
  type = containerB
 +
}
 +
}
 +
</pre>
 +
|-
 +
|
 
{|class="wikitable"
 
{|class="wikitable"
 +
 +
==== KASModulePort ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
 +
| attachNode ||
 +
* top
 +
|| unsure
 
|-
 
|-
| PitchTorque ||   || 
+
| nodeType ||
numerical value, denotes amount of change can be applied to pitch using reaction wheel power
+
* kasplug
|-
+
|| unknown
| YawTorque ||  ||  
 
numerical value, denotes amount of change can be applied to yaw using reaction wheel power
 
 
|-
 
|-
| RollTorque ||   ||  
+
| breakForce ||  
numerical value, denotes amount of change can be applied to roll using reaction wheel power
+
* 30
 
+
|| unknown
 
|-
 
|-
| RESOURCE ||   ||  
+
| nodeTransformName ||
The resource used by reaction wheels in order to affect the changes they can produce
+
* plugNode
 +
|| unknown
 
|-
 
|-
| name || ||
+
|}
name of the relevant resource, typically ElectricCharge
 
|-
 
| rate || ||
 
Rate of consumption, expressed in units/second at full usage.
 
  
|}
+
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModulePort
 +
attachNode = top
 +
nodeType = kasplug
 +
breakForce = 30
 +
nodeTransformName = plugNode
 +
}
  
=== ModuleScienceContainer ===
+
</pre>
 +
|-
 +
|
 
{|class="wikitable"
 
{|class="wikitable"
 +
 +
==== KASModuleAnchor ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 +
This module will set a custom drag value when the part touch the ground.
 
|-
 
|-
 +
| groundDrag ||
 +
* 500
 +
|| Drag value of the anchor when it touch the ground
 
|-
 
|-
| reviewActionName ||   ||  
+
| bounciness ||
Flavor text for reviewing the data contained in a science container.
+
* 0
 +
|| Bounciness of the anchor
 
|-
 
|-
| storeActionName ||   ||  
+
| dynamicFriction ||
Flavor text for placing data into a science container.
+
* 0.8
 +
|| Dynamic friction of the anchor when it touch the ground
 
|-
 
|-
| collectActionName ||   || 
+
| staticFriction ||
Flavor text for removing data from a science container.
+
* 0.8
 
+
|| Static friction of the anchor when it touch the ground
 
|-
 
|-
| evaOnlyStorage ||  || 
+
|}
Boolean, True or False
 
Specifies whether or not data storage is restricted to EVA activities.
 
|-
 
| storageRange ||  || 
 
Distance, expressed in meters, a Kerbal must be within in order to interact with data and this container.
 
|-
 
| allowRepeatedSubjects ||  || 
 
Boolean, True or False
 
  
|}
+
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleAnchor
 +
groundDrag = 500
 +
bounciness = 0
 +
dynamicFriction = 0.8
 +
staticFriction = 0.8
 +
}
  
=== FlagDecal ===
+
</pre>
 
|-
 
|-
| textureQuadName ||  || 
+
|
flagTransform:  specifies whether there is a flag displayed on the exterior surface of the object.
+
{|class="wikitable"
  
|}
+
==== KASModuleMagnet ====
=== ModuleScienceLab ===
+
This module will make the part acting like a magnet, collided part will be automatically attached. Only work when attached on a winch.
 +
! variable !! example !! definition
 
|-
 
|-
| containerModuleIndex ||   ||  
+
| breakForce ||
numerical, 0
+
* 10
 +
|| The force that needs to be applied on the magnet joint to break.
 
|-
 
|-
| dataTransmissionBoost ||   ||  
+
| attachToEva ||
numerical, 1.5
+
* true
 +
* false
 +
|| Disable/enable attraction of eva
 
|-
 
|-
| crewsRequired ||   ||  
+
| minFwdDot ||
numerical, 2
+
* 0.998
 +
|| Minimum magnet alignement needed to attach (1 is perfectly aligned)
 
|-
 
|-
| canResetConnectedModules ||   ||  
+
| powerDrain ||
Boolean, True or False
+
* 4
 +
|| Power consumption when the magnet is used
 
|-
 
|-
| canResetNearbyModules ||  || 
+
|}
Boolean, True or False
 
|-
 
| interactRange ||  || 
 
numerical, possible integers only, 5
 
|-
 
| REOURCE_PROCESS ||  || 
 
|-
 
| name || ||
 
names the resource required, e.g.: ElectricCharge
 
|-
 
| amount || ||
 
specified, numerical, the number of units of the specified resource expended
 
  
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleMagnet
 +
breakForce = 10
 +
attachToEva = False
 +
minFwdDot = 0.998
 +
powerDrain = 4
 +
}
  
|}
+
</pre>
=== FlagDecal ===
 
 
|-
 
|-
| textureQuadName ||  || 
+
|
flagTransform
+
{|class="wikitable"
  
 
+
==== KASModuleStrut ====
|}
 
=== ModuleJettison ===
 
{|class=“wikitable”
 
|-
 
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
|specifies that pieces of this craft are able to be jettisoned, what they are and how to jettison them
+
| nodeTransform ||
 +
* pipeNode
 +
* strutNode
 +
|| unknown
 
|-
 
|-
| jettisonName ||   || 
+
| type ||
node_fairing_collider
+
* PipeSize1
fairingL
+
* StrutSize1
fairingR
+
|| Unkown
fairing
 
 
|-
 
|-
| bottomNodeName ||   ||  
+
| maxLength ||
bottom
+
* 20
 +
* 8
 +
|| unknown
 
|-
 
|-
| isFairing ||   ||  
+
| maxAngle ||
Boolean.  True or False
+
* 100
 +
|| unknown
 
|-
 
|-
| jettisonedObjectMass ||   ||  
+
| breakForce ||
0.1, specifies the mass of the jettisoned object.  It is uncertain, yet, if this mass is removed from the total mass of the vehicle.  It is also uncertain if, when a fairing is added in vehicle assembly, this mass is added to the parent object.
+
* 10
 +
|| unknown
 
|-
 
|-
| jettisonForce ||   ||  
+
| allowDock ||
DeltaV with which the object is jettisoned from its parent object.  Typically very low values, such as 1, 2 or 5
+
* true
 +
* false
 +
|| unknown
 
|-
 
|-
| jettisonDirection ||   || 
+
| allowPumpFuel ||
Three-dimensional array which specifies the direction of the jettisonForce relative to the original part, laterally is 0 0 1 and 0 0 -1, for example.
+
* true
 
+
* false
|}
+
|| unknown
=== ModuleAlternator ===
 
{|class=“wikitable”
 
 
|-
 
|-
! variable !! example !! definition
+
| hasCollider ||
 +
* true
 +
* false
 +
|| unknown
 
|-
 
|-
|{|class=“wikitable”
+
| tubeScale ||
 +
* 0.15
 +
|| unknown
 
|-
 
|-
! variable !! example !! definition
+
| jointScale ||
 +
* 0.15
 +
|| unknown
 
|-
 
|-
|Specifies that this part produced a resource, based on the percentage of thrust produced by the engine.
+
| textureTiling ||
 +
* 1
 +
* 4
 +
|| unknown
 
|-
 
|-
| RESOURCE ||   ||  
+
| tubeSrcType ||
 +
* Joined
 +
* Rounded
 +
|| Unknown
 
|-
 
|-
| name || ||  
+
| tubeTgtType ||
name of the resource produced, usually ElectricCharge
+
* Joined
 +
* Rounded
 +
|| unknown
 
|-
 
|-
| rate || ||  
+
| evaStrutPos ||
rate at which the resource is produced at 100% thrust, expressed in units/second
+
* (0.05, 0.059, -0.21)
 
+
|| unknown
|}
 
=== ModuleCommand ===
 
|-
 
| minimumCrew ||  || 
 
Specifies the minimum number of crew needed to operate this module.  Use 0 to specify a probe.
 
 
|-
 
|-
| RESOURCE ||   ||  
+
| evaStrutRot ||
If this Module requires a resource
+
* (190.0, 0.0, 0.0)
 +
|| unknown
 
|-
 
|-
| name || ||  
+
| tubeTexPath ||
This is the name of that resource
+
* KAS/Textures/pipe
 +
|| unknown
 
|-
 
|-
| rate || ||
 
and the rate in units/second of resource consumed
 
 
 
|}
 
|}
=== ModuleEnviroSensor ===
 
|-
 
| sensorType ||  || 
 
* ACC
 
* PRES
 
* GRAV
 
* TEMP|}
 
=== ModuleControlSurface ===
 
|-
 
| dragCoeff ||  || 
 
this value overrides the maximum_drag value
 
0.5 (advanced Canard)
 
|-
 
| deflectionLiftCoeff ||  || 
 
0.7 (advanced Canard)
 
|-
 
| ctrlSurfaceRange ||  || 
 
20 (advanced Canard)
 
|-
 
| ctrlSurfaceArea ||  || 
 
0.95 (advanced Canard)
 
  
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleStrut
 +
nodeTransform = pipeNode
 +
type = PipeSize1
 +
maxLenght = 20
 +
maxAngle = 100
 +
breakForce = 10
 +
allowDock = true
 +
allowPumpFuel = true
 +
hasCollider = false
 +
tubeScale = 0.15
 +
jointScale = 0.15
 +
textureTiling = 1
 +
tubeSrcType = Joined
 +
tubeTgtType = Joined
 +
evaStrutPos = (0.05, 0.059, -0.21)
 +
evaStrutRot = (190.0, 0.0, 0.0)
 +
        tubeTexPath = KAS/Textures/pipe
 +
}
  
 +
</pre>
 +
|-
 +
|
 +
{|class="wikitable"
  
 
+
==== KASModuleGrapplingHook ====
|}
+
This module will make the part acting like a grappling-hook, any collided part in front of the grapple will be automatically attached if the inpact is strong enough. Only work when attached on a winch.
=== ModuleAnimateHeat ===
+
! variable !! example !! definition
 
|-
 
|-
| ThermalAnim ||   || 
+
| partBreakForce ||
HeatAnimationEmissiveLiquidEngine3
+
* 6
HeatAnimationEmissiveTurbofan
+
|| The force that needs to be applied on the grapple/part joint to break.
HeatAnimationEmissiveJet
 
overheat|}
 
=== ModuleEngines ===
 
 
|-
 
|-
| thrustVectorTransformName ||   ||  
+
| staticBreakForce ||
unknown purpose. Known arguments:
+
* 15
* thrustTransform
+
|| The force that needs to be applied on the grapple/static joint to break.
 
|-
 
|-
| throttleLocked ||   ||  
+
| aboveDist ||
True or False, defaults to False.  Used to create engines without controllable thrust.
+
* 0.05
 +
|| Distance from the attach point to the center of the part
 
|-
 
|-
| exhaustDamage ||   ||  
+
| forceNeeded ||
True or False.  assumed to indicate whether the exhaust from this engine will damage other parts.
+
* 4
 +
|| Collision force needed to attach the grapple.
 
|-
 
|-
| ignitionThreshold ||   ||  
+
| attachToPart ||
appears to not be used.  Suggests a minimum thrust output value, below which the engine will no longer operate.  Typical values are 0.1 (10%)
+
* true
 +
* false
 +
|| Disable/enable attachment on parts.
 
|-
 
|-
| minThrust ||   ||  
+
| rayDir  ||
Minimum thrust value. Engines will be considered 'off' at or below this value.
+
* (0,-1,0)
 +
|| Direction of the attach raycast. Attachment will be done only with objects in that direction.
 
|-
 
|-
| maxThrust ||   ||  
+
| rayLenght ||
Just like the name implies, this is the maximum thrust a single unit of this module can produce.  In order to create a more powerful engine, set this value higher.
+
* 0.8
 +
|| Attach ray lenght.
 
|-
 
|-
| heatProduction ||   || 
+
|}
a measure of the amount of heat energy produced per secondmeasured in degrees Kerbius (degrees Celsius)
+
 
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleGrapplingHook
 +
partBreakForce = 6
 +
staticBreakForce = 15
 +
aboveDist = 0.05
 +
forceNeeded = 4
 +
attachToPart = true
 +
  rayDir = (0,-1,0)  
 +
rayLenght = 0.8
 +
}
 +
 
 +
</pre>
 
|-
 
|-
| fxOffset ||  || 
+
|
3-dimensional vector coordinates specifying the location of thrust effects
+
{|class="wikitable"
 +
 
 +
==== KASModuleWinch ====
 +
! variable !! example !! definition
 
|-
 
|-
| useEngineResponseTime ||   ||  
+
| maxLenght ||
True or False
+
* 50
 +
* 80
 +
|| unknown
 
|-
 
|-
| engineAccelerationSpeed ||   ||  
+
| cableSpring ||
0.2, 0.12
+
* 1000
 +
||  
 
|-
 
|-
| engineDecelerationSpeed ||   || 
+
| cableDamper ||
0.35, 0.21
+
* 0.1
 +
||
 
|-
 
|-
| allowShutdown ||   ||  
+
| cableWidth ||
True or False, defaults to True.  Specifies engines that cannot be turned off, regardless of whether their thrust can be controlled.
+
* 0.04
 +
||  
 
|-
 
|-
| useVelocityCurve ||   ||  
+
| motorMaxSpeed ||
True or False
+
* 2
 +
||  
 
|-
 
|-
| PROPELLANT ||   ||  
+
| motorAcceleration ||
resource utilized in the operation of this part, generally a fuel or other propellant.  Engines may use multiple propellant types.
+
* 0.05
 +
||  
 
|-
 
|-
| name || ||  
+
| powerDrain ||
name of the resource consumed while this part is in operation
+
* 0.5
 +
* 0.3
 +
||  
 
|-
 
|-
| ratio || ||  
+
| headTransformName ||
rate at which this resource is consumed, per second.  Not to be confused with ratio relative to other propellants.
+
* head
 +
||  
 
|-
 
|-
| DrawGauge || ||  
+
| headPortNodeName ||
Boolean value that indicates whether or not the 'fuel remaining' indicator in the staging selection is displayed or not.
+
* portNode
 +
||  
 
|-
 
|-
| atmosphereCurve ||   ||  
+
| connectedPortNodeName ||
specifies variances in operational efficiency
+
* bottom
 +
* front
 +
||  
 
|-
 
|-
| key || ||  
+
| anchorNodeName ||
uses two values to specify engine efficiency relative to the depth of the atmosphere (based on Kerbin sea-level!)  First number indicates the relative pressure (0 = vacuum, 1 Kerbin sea-level), second numer indicates ISP value).
+
* anchorNode
Translates directly to ISP.  In order to make a more efficient engine, set the second number of this array higher. 
+
||  
 
|-
 
|-
| velocityCurve ||   || 
+
| evaGrabHeadPos ||
uncertain as to how exactly this works, but appears to control the degree of acceleration at particular velocities. uses a 4 part key, the first part of the key is definitely specific accelerations, the second part is percentage of velocities.
+
* (0.05, 0.01, -0.11)
<nowiki>
+
||
{
 
  key = 0 0.5 0 0
 
  key = 1000 1 0 0
 
  key = 2000 0.5 0 0
 
  key = 2400 0 0 0
 
}
 
</nowiki>
 
<nowiki>
 
{
 
  key = 1000 0 0 0
 
  key = 850 0.2 0 0
 
  key = 0 1 0 0
 
}
 
</nowiki>
 
 
 
|}
 
=== FXModuleAnimateThrottle ===
 
 
|-
 
|-
| animationName ||   ||  
+
| evaGrabHeadDir ||
colorAnimation
+
* (0,0,1)
 +
||  
 
|-
 
|-
| depondOnEngineState ||   ||  
+
| evaDropHeadPos ||
True or False
+
* (0.05, 0.01, -0.16)
 +
||  
 
|-
 
|-
| responseSpeed ||   || 
+
| evaDropHeadRot ||
0.5|}
+
* (180.0, 0.0, 0.0)
=== ModuleEnginesFX ===
+
||  
 
|-
 
|-
| engineID ||   ||  
+
| ejectEnabled ||
<nowiki>LES, KS25</nowiki>
+
* true
 +
* false
 +
||  
 
|-
 
|-
| runningEffectName ||   ||  
+
| ejectForce ||
<nowiki> running_closed </nowiki>
+
* 20
 +
||  
 
|-
 
|-
| thrustVectorTransformName ||   || 
+
| lockMinDist ||
unknown purpose. Known arguments:
+
* 0.12
* thrustTransform
+
||
* obj_gimbal
 
 
|-
 
|-
| exhaustDamage ||   ||  
+
| lockMinFwdDot ||
True or False.  assumed to indicate whether the exhaust from this engine will damage other parts.
+
* 0.90
 +
||  
 
|-
 
|-
| throttleLocked ||  || 
+
|}
uncertain.  Boolean values of True or False.  Assumed to specify that solid Rocket Boosters cannot have their throttle adjusted while in flight.
 
|-
 
| ignitionThreshold ||  || 
 
appears to not be used.  Suggests a minimum thrust output value, below which the engine will no longer operate.  Typical values are 0.1 (10%)
 
|-
 
| minThrust ||  || 
 
Minimum thrust value.  Engines will be considered 'off' at or below this value.
 
|-
 
| maxThrust ||  || 
 
Just like the name implies, this is the maximum thrust a single unit of this module can produce.
 
|-
 
| heatProduction ||  || 
 
a measure of the amount of heat energy produced per second.  measured in degrees Kerbius (degrees Celsius)
 
|-
 
| fxOffset ||  || 
 
3-dimensional vector coordinates specifying the location of thrust effects
 
 
 
  
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleWinch
 +
maxLenght = 50
 +
cableSpring = 1000
 +
cableDamper = 0.1
 +
cableWidth = 0.04
 +
motorMaxSpeed = 2
 +
motorAcceleration = 0.05
 +
powerDrain = 0.5
 +
headTransformName = head
 +
headPortNodeName = portNode
 +
connectedPortNodeName = bottom
 +
anchorNodeName = anchorNode
 +
evaGrabHeadPos = (0.05, 0.01, -0.11)
 +
evaGrabHeadDir = (0,0,1)
 +
evaDropHeadPos = (0.05, 0.01, -0.16)
 +
evaDropHeadRot = (180.0, 0.0, 0.0)
 +
ejectEnabled = true
 +
ejectForce = 20
 +
lockMinDist = 0.12
 +
lockMinFwdDot = 0.90
 +
}
  
 +
</pre>
 
|-
 
|-
| PROPELLANT ||  || 
+
|}
resource utilized in the operation of this part, generally a fuel or other propellant.
 
 
 
 
 
  
|-
 
| name || ||
 
name of the resource consumed while this part is in operation
 
  
  
 +
=== Universal Storage ===
 +
Universal Storage.  By the by:  Excellently documented!
  
 +
{|
 +
! !!
 
|-
 
|-
| ratio || ||  
+
|  
rate at which this resource is consumed, per second.  Not to be confused with ratio relative to other propellants.
+
{|class="wikitable"
 
+
==== ModuleAnimator ====
 
+
Animation module.
 
+
! variable !! example !! definition
 
|-
 
|-
| DrawGauge || ||  
+
| animationName ||  
Boolean value that indicates whether or not the 'fuel remaining' indicator in the staging selection is displayed or not.
+
* Take 001
 
+
|| Name of the animation from the model.
 
|-
 
|-
| atmosphereCurve ||   ||  
+
| guiEnableName ||  
specifies variances in operational efficiency
+
* Wedge Locks Off
 
+
|| Part tooltip name to display for deployment
 
|-
 
|-
| key || ||  
+
| guiDisableName ||  
uses two values to specify engine efficiency relative to the depth of the atmosphere (based on Kerbin sea-level!)  First number indicates the relative pressure (0 = vacuum, 1 Kerbin sea-level), second numer indicates ISP value).
+
* Wedge Locks Off
 
+
|| Part tooltip name to display for retraction
|}
 
=== ModuleGimbal ===
 
 
|-
 
|-
| gimbalTransformName ||  ||  
+
| actionEnableName ||   
thrustTransform
+
* Wedge Locks Off
 +
|| Action group name for deployment 
 
|-
 
|-
| gimbalRange ||   || 
+
| actionDisableName ||  
represents the maximum angle, in degrees, that gimballing is supported.  Recommend keeping this number relatively low (under 20 for sure), as setting the number too high can have catastrophic effects on ship design.
+
* Wedge Locks On
 
+
|| Action group name for retraction
|}
 
=== ModuleTestSubject ===
 
{|class=“wikitable”
 
 
|-
 
|-
! variable !! example !! definition
+
| animationSpeed || 
 +
* 100000
 +
|| Speed of the animation
 
|-
 
|-
|{|class=“wikitable”
+
| oneShot |
 +
* true
 +
* false
 +
|| If the animation can only be played once
 
|-
 
|-
! variable !! example !! definition
+
| activeEditor || 
 +
* true
 +
* false
 +
|| If the part toolitp is visible in the editor
 
|-
 
|-
|Used for the contract system, determines atmospheric conditions under which this part may be considered for testing.  Also specifies whether the part is able to be tested using the Staging process or must be manually selected and "Perform Test" used to satisfy contract requirements.
+
| activeFlight || 
 +
* true
 +
* false
 +
|| If the part tooltip is visible in flight
 
|-
 
|-
| environments ||  ||   
+
| activeUnfocused ||   
A single numerical value, between 0 (nowhere) and 15 (anywhere), that specifies the atmospheric conditions the part may be tested under.  Add numbers together to specify multiple environments
+
* true
* 0 = nowhere
+
* false
* 1 = the surface of; srf
+
|| If the part tooltip is visible from EVA
* 2 = the ocean of; ocean
 
* 3 = the surface or ocean of; srf, ocean
 
* 4 = the atmosphere of; atmo
 
* 5 = the surface or atmosphere of; srf, atmo
 
* 6 = the ocean or atmosphere of; ocean, atmo
 
* 7 = the surface, ocean or atmosphere of; srf, ocean, atmo
 
* 8 = the space above; space
 
* 9 = the surface or space above; srf, space
 
* 10 = the ocean or space of; srf, ocean, space
 
* 11 = the surface, ocean or space of; srf, ocean, space
 
* 12 = the space or atmosphere of; atmo, space
 
* 13 = the surface, space or atmosphere of; srf, atmo, space
 
* 14 = the ocean, space, or atmosphere of; ocean, atmo, space
 
* 15 = anywhere; srf, ocean, atmo, space
 
 
|-
 
|-
| useStaging ||  ||  
+
| unfocusedRange ||   
Boolean True or False, specifies whether the part can be tested using the Staging Process
+
* 5
 +
|| EVA visible range
 
|-
 
|-
| useEvent ||  || 
 
Boolean True or False, specifies whether the part can be tested using the "Perform Test" action.
 
 
 
|}
 
|}
=== LaunchClamp ===
+
||
 +
<pre>
 +
MODULE
 +
{
 +
  name = ModuleAnimator
 +
  animationName = Take 001
 +
  guiEnableName = Wedge Locks Off
 +
  guiDisableName = Wedge Locks On
 +
  actionEnableName = Wedge Locks Off
 +
  actionDisableName = Wedge Locks On
 +
 
 +
  animationSpeed = 100000
 +
  oneShot = false
 +
  activeEditor = true
 +
  activeFlight = false
 +
  activeUnfocused = false
 +
  unfocusedRange = 5
 +
}
 +
</pre>
 
|-
 
|-
| trf_towerPivot_name ||  || 
+
 
obj_girdercap
+
|
 +
{|class="wikitable"
 +
==== REGO_ModuleResourceConverter ====
 +
! variable !! example !! definition
 
|-
 
|-
| trf_towerStretch_name ||   ||  
+
| ConverterName ||
obj_girder
+
* Water Electrolizer
 +
|| Flavor Text
 
|-
 
|-
| trf_anchor_name ||   ||  
+
| StartActioName ||
obj_ground
+
* Start Water Electrolizer
 +
|| Flavor Text
 
|-
 
|-
| trf_animationRoot_name ||   ||  
+
| StopActioName ||
launchclamp
+
* Stop Water Electrolizer
 +
|| Flavor Text
 
|-
 
|-
| anim_decouple_name ||   ||  
+
| RecipeInputs ||
launchclamp|}
+
* ElectricCharge, 14, Water, 0.0000176697
=== ModuleGenerator ===
+
||  
 
|-
 
|-
| isAlwaysActive ||   ||  
+
| RecipeOutputs ||
specifies whether this module is always active or not.  true/false
+
* Hydrogen, 0.0219907427, True, Oxygen, 0.0109953713, False
 +
||  
 
|-
 
|-
| OUTPUT_RESOURCE ||  ||    
+
|}
 +
 
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
   name = REGO_ModuleResourceConverter
 +
  ConverterName = Water Electrolizer
 +
  StartActionName = Start Water Electrolizer
 +
  StopActionName = Stop Water Electrolizer
 +
  RecipeInputs = ElectricCharge, 14, Water, 0.0000176697
 +
   RecipeOutputs = Hydrogen, 0.0219907427, True, Oxygen, 0.0109953713, False
 +
}
 +
</pre>
 
|-
 
|-
| name || ||
+
|}
specifies the name of the produced resource.
+
 
 +
=== Umbra Space Industries: ExpPack ===
 +
USI is widely known for building an entire add-on family of interconnected and cross-supported parts and extensions.  Here we detail mods added by the ExpPack.
 +
 
 +
{|
 +
! !!
 
|-
 
|-
| rate || ||  
+
|  
specifies the rate of resource produced, expressed in units per second.
+
{|class="wikitable"
 
+
==== USI_ClearIVA ====
 +
No calls.
 
|}
 
|}
=== ModuleDockingNode ===
+
||
{|class=“wikitable”
+
<pre>
 +
MODULE
 +
{
 +
name = USI_ClearIVA
 +
}
 +
</pre>
 
|-
 
|-
 +
|
 +
{|class="wikitable"
 +
==== ModuleConnectedLivingSpace ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
|{|class=“wikitable”
+
| passable ||
 +
* true
 +
* false
 +
|| specifies whether Kerbals can commute to parts connected to this part
 
|-
 
|-
! variable !! example !! definition
+
| passableWhenSurfaceAttached ||
 +
* true
 +
* false
 +
|| can be passed through even when connected to the ground?
 
|-
 
|-
|A module for docking ports
+
|}
|-
+
 
| referenceAttachNode ||  |
+
||
Specifies the node on the part that is used for the docking port, generally top or bottom
+
<pre>
* top
+
MODULE
* bottom
+
{
|-
+
name = ModuleConnectedLivingSpace
| deployAnimationController ||  || 
+
passable = true
Boolean, 1 or 0
+
  passableWhenSurfaceAttached = true
|-
+
}
| nodeType ||  || 
+
</pre>
Specifies the type of node for attachment. When perform docking operations, nodes must have the same value for nodeType in order to dock with one another.
 
* size1
 
* size2
 
* size0
 
controlTransformName
 
* controlNode = apparently only used for docking nodes that have related animations, see dockingPortInline|}
 
=== ModuleRCS ===
 
{|class=“wikitable”
 
 
|-
 
|-
 +
|
 +
{|class="wikitable"
 +
==== KASModuleGrab ====
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
|Note:  ModuleRCS can use either a single resource, or a series of PROPELLANT calls.
+
| evaPartPos ||
 +
* (0.0, 0.40, -0.40)
 +
* (0.0, 0.0, -0.15)
 +
|| three dimensional array, offset for carrying
 
|-
 
|-
| thrusterTransformName ||   ||  
+
| evaPartDir ||
RCSthruster
+
* (0,0,-1)
 +
|| three dimensional array for orientation
 
|-
 
|-
| thrusterPower ||   ||  
+
| storable ||
This is the power that the RCS thrusters provide.  To make stronger RCS, use a higher numer
+
* true
 +
* false
 +
|| specifies whether the part can be stored
 
|-
 
|-
| resourceName -------- interchangeable with PROPELLANT calls ||   ||  
+
| storedSize ||
The name of the resource used by the RCS thruster, typically MonoPropellant
+
* 20
 +
* 14
 +
|| specifies whether the part can be stored
 
|-
 
|-
| resourceFlowMode -- for resourceName only --||   || 
+
| attachOnPart ||
Specifies the manner in which the resource is requested from the vessel
+
* true
* STAGE_PRIORITY_FLOW
+
* false
* STACK_PRIORITY_FLOW
+
|| uncertain
* ALL_VESSEL
 
* NONE
 
 
|-
 
|-
| PROPELLANT ||   ||  
+
| attachOnEva ||
Introduced with the inclusion of the Vernor RCS, it is recommended to use PROPELLANT calls only when using multiple resources.  It is expected that older RCS will be updated to the new convention prior to final release.
+
* true
 +
* false
 +
|| unsure
 
|-
 
|-
| name || ||  
+
| attachOnStatic ||
name of the resource consumed
+
* True
 +
* False
 +
|| unsure
 
|-
 
|-
| ratio || ||  
+
| customGroundPos ||
ratio of the resource consumed
+
* True
 +
* False
 +
|| unsure
 
|-
 
|-
| resourceFlowMode || ||  
+
| attachNodeName ||
using the same pull method as a single resource, specifies how to pull the resource from the rest of the vessel
+
* bottom
 +
|| unsure
 
|-
 
|-
| atmosphereCurve ||   || 
+
| dropPartPos ||
Specifies the efficiency of the RCS thruster using 2-part keys
+
* (0.0, -0.2, -0.7)
0 specifies the ISP in atmosphere
+
|| unsure
1 specifies the ISP at Kerbin Sea Level
 
entries in between specify the ISP at specific percentages of Kerbin Sea Level (e.g:  0.5 = 1/2 Kerbin Atmosphere)|}|}
 
=== ModuleResourceIntake ===
 
{|class=“wikitable”
 
 
|-
 
|-
! variable !! example !! definition
+
| dropPartRot ||
 +
* (-10.0, 0.0, 0.0)
 +
|| unsure
 
|-
 
|-
|used to create a part that produces a resource.
+
| bayType ||
 +
* hookbay
 +
|| unsure
 
|-
 
|-
| resourceName ||   ||  
+
| bayNode ||
defines the type of resource produced by this module.  Any resource may be used for this purpose, including those not defined at all
+
* top
 +
|| unsure
 
|-
 
|-
| checkForOxygen ||   ||  
+
| bayRot ||
An optional method that specifies this module must check to see if oxygen/atmosphere is present whenever attempting to generate the requested resource.  true/false
+
* (0.0., 0.0, 0.0)
 +
|| something to do with rotation
 
|-
 
|-
| area ||   ||  
+
| attachSendMsgOnly ||
area is the amount of space used for determining how much resource to produce.  The larger the number, the more of the resource is produced per second.
+
* true
 +
* false
 +
|| unknown
 
|-
 
|-
| intakeSpeed ||   || 
+
|}
unknownAssumed to be a minimum m/s measure to determine if this module operates or not.
+
 
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleGrab           
 +
evaPartPos = (0.0, 0.40, -0.40)       
 +
evaPartDir = (0,0,-1)
 +
storable = true
 +
storedSize = 20
 +
attachOnPart = true
 +
attachOnEva = true
 +
bayType = hookBay
 +
bayNode = top
 +
bayRot = (0.0, 0.0, 0.0)
 +
}
 +
</pre>
 
|-
 
|-
| intakeTransformName ||  ||  
+
|
unknown.  known arguments are:
+
{|class="wikitable"
* Intake
 
  
 
+
==== KASModulePartBay ====
|}
+
! variable !! example !! definition
=== ModuleScienceExperiment ===
 
 
|-
 
|-
| experimentID ||   ||  
+
| BAY || {} ||  
* atmosphereAnalysis
+
{|class="wikitable"
* mysteryGoo
 
* crewReport
 
* seismicScan
 
* barometerScan
 
 
|-
 
|-
| experimentActionName ||   ||  
+
| attachNode ||
Flavor text for contextual menu to describe to the player what the part does when collecting data
+
* top
 +
* bottom
 +
|| attachment placement
 
|-
 
|-
| resetActionName ||   ||  
+
| type ||
Flavor text for contextual menu to describe to the player what the part does when collecting data
+
* containerA
 +
* container
 +
* hookBay
 +
||
 
|-
 
|-
| reviewActionName ||  || 
+
|}
Flavor text for contextual menu to describe to the player what the part does when collecting data
 
 
|-
 
|-
| useStaging ||  ||    
+
|}
Boolean True/False - speficies whether this module can be activated through the normal staging system
+
 
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModulePartBay
 +
BAY
 +
{
 +
  attachNode = top
 +
   type = containerA
 +
   type = containerB
 +
}
 +
}
 +
</pre>
 
|-
 
|-
| useActionGroups ||  || 
+
|
Boolean True/False - specifies whether this module can be activated by an Action Group
+
{|class="wikitable"
 +
 
 +
==== KASModulePort ====
 +
! variable !! example !! definition
 
|-
 
|-
| hideUIwhenUnavailable ||   ||  
+
| attachNode ||
Boolean True/False - specifies whether this module will show its activation buttons through the contextual menu, even if it is not available
+
* top
 +
|| unsure
 
|-
 
|-
| rerunnable ||   ||  
+
| nodeType ||
Boolean True/False.  Defaults to false.
+
* kasplug
 +
|| unknown
 
|-
 
|-
| xmitDataScalar ||   ||  
+
| breakForce ||  
0.35
+
* 30
 +
|| unknown
 
|-
 
|-
| FxModules ||   ||  
+
| nodeTransformName ||
0 (gooExperiment)
+
* plugNode
 +
|| unknown
 
|-
 
|-
| dataIsCollectable ||  || 
+
|}
Boolean True/False
 
|-
 
| collectActionName ||  || 
 
Flavor text
 
|-
 
| interactionRange ||  || 
 
The range, expressed in meters, from which a Kerbal on EVA can interact with this module (for example to reset the experiment)
 
  
|}
 
=== ModuleGrappleNode ===
 
{|class="wikitable"
 
! variable !! sample !! definition
 
|-
 
| nodeTransformName || 
 
* ArticulatedCap
 
 
||
 
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModulePort
 +
attachNode = top
 +
nodeType = kasplug
 +
breakForce = 30
 +
nodeTransformName = plugNode
 +
}
 +
 +
</pre>
 
|-
 
|-
| deployAnimationController ||
+
|
*1
+
{|class="wikitable"
|| 
+
 
 +
==== KASModuleAnchor ====
 +
! variable !! example !! definition
 +
This module will set a custom drag value when the part touch the ground.
 
|-
 
|-
| nodeType ||  
+
| groundDrag ||
*size1
+
* 500
||  
+
|| Drag value of the anchor when it touch the ground
 
|-
 
|-
| captureRange ||
+
| bounciness ||
* 0.05
+
* 0
||  
+
|| Bounciness of the anchor
 
|-
 
|-
| captureMinFwdDot ||
+
| dynamicFriction ||
* 0.866
+
* 0.8
||  
+
|| Dynamic friction of the anchor when it touch the ground
 
|-
 
|-
| captureMaxRvel ||
+
| staticFriction ||
* 1
+
* 0.8
||  
+
|| Static friction of the anchor when it touch the ground
 
|-
 
|-
 +
|}
  
|}
+
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleAnchor
 +
groundDrag = 500
 +
bounciness = 0
 +
dynamicFriction = 0.8
 +
staticFriction = 0.8
 +
}
  
=== ModuleLight ===
+
</pre>
 
|-
 
|-
| lightName ||  || 
+
|
spotlight
+
{|class="wikitable"
landinglight
+
 
 +
==== KASModuleMagnet ====
 +
This module will make the part acting like a magnet, collided part will be automatically attached. Only work when attached on a winch.
 +
! variable !! example !! definition
 
|-
 
|-
| useAnimationDim ||   ||  
+
| breakForce ||
true or false
+
* 10
 +
|| The force that needs to be applied on the magnet joint to break.
 
|-
 
|-
| lightBrightenSpeed ||   ||  
+
| attachToEva ||
2.5
+
* true
 +
* false
 +
|| Disable/enable attraction of eva
 
|-
 
|-
| lightDimSpeed ||   ||  
+
| minFwdDot ||
2.5
+
* 0.998
 +
|| Minimum magnet alignement needed to attach (1 is perfectly aligned)
 
|-
 
|-
| resourceAmount ||   ||  
+
| powerDrain ||
0.4
+
* 4
 +
|| Power consumption when the magnet is used
 
|-
 
|-
| animationName ||   || 
+
|}
LightAnimation
+
 
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleMagnet
 +
breakForce = 10
 +
attachToEva = False
 +
minFwdDot = 0.998
 +
powerDrain = 4
 +
}
 +
 
 +
</pre>
 
|-
 
|-
| useResources ||  || 
+
|
true or false
+
{|class="wikitable"
 +
 
 +
==== KASModuleStrut ====
 +
! variable !! example !! definition
 
|-
 
|-
| useAutoDim ||   ||  
+
| nodeTransform ||
true or false|}
+
* pipeNode
=== ModuleLiftingSurface ===
+
* strutNode
 +
|| unknown
 
|-
 
|-
| deflectionLiftCoeff ||   ||  
+
| type ||
0.3 (BSLmk2ScienceFuselage)
+
* PipeSize1
 +
* StrutSize1
 +
|| Unkown
 
|-
 
|-
| dragAtMaxAoA ||   ||  
+
| maxLength ||
0.15 (BSLmk2ScienceFuselage)
+
* 20
 +
* 8
 +
|| unknown
 
|-
 
|-
| dragAtMinAoA ||   ||  
+
| maxAngle ||
0.1 (BSLmk2ScienceFuselage)
+
* 100
 
+
|| unknown
 
+
|-
|}
+
| breakForce ||
=== ModuleAnimateGeneric ===
+
* 10
 +
|| unknown
 
|-
 
|-
| animationName ||   || 
+
| allowDock ||
* Deploy
+
* true
* CrewCabinLight
+
* false
* dish
+
|| unknown
* dockingring for dockingPortShielded
 
* dockingporthull for dockingPortInline
 
 
|-
 
|-
| isOneShot ||   || 
+
| allowPumpFuel ||
 +
* true
 
* false
 
* false
 +
|| unknown
 
|-
 
|-
| startEventGUIName ||   ||  
+
| hasCollider ||
Flavor text to describe turning the animation to its 'On' State
+
* true
 +
* false
 +
|| unknown
 
|-
 
|-
| endEventGUIName ||   ||  
+
| tubeScale ||
Flavor text to describe turning the animation to its 'Off' State
+
* 0.15
 +
|| unknown
 
|-
 
|-
| actionGUIName ||   ||  
+
| jointScale ||
Flavor text to describe switching the animation between it's 'on' and 'off' states
+
* 0.15
 +
|| unknown
 
|-
 
|-
| allowManualControl ||   || 
+
| textureTiling ||
true/false.  Defaults to true. 
+
* 1
 
+
* 4
 
+
|| unknown
|}
 
=== ModuleDataTransmitter ===
 
 
|-
 
|-
| packetInterval ||   ||  
+
| tubeSrcType ||
0.18, 0.4, 0.3
+
* Joined
 +
* Rounded
 +
|| Unknown
 
|-
 
|-
| packetSize ||   ||  
+
| tubeTgtType ||
2, 2, 2
+
* Joined
 +
* Rounded
 +
|| unknown
 
|-
 
|-
| packetResourceCost ||   || 
+
| evaStrutPos ||
20, 10, 12.5
+
* (0.05, 0.059, -0.21)
 +
|| unknown
 
|-
 
|-
| requiredResource ||   ||  
+
| evaStrutRot ||
ElectricCharge
+
* (190.0, 0.0, 0.0)
 +
|| unknown
 
|-
 
|-
| DeployFxModules ||   ||  
+
| tubeTexPath ||
0
+
* KAS/Textures/pipe
 +
|| unknown
 
|-
 
|-
| ProgressFxModules ||   || 
+
|}
1
+
 
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleStrut
 +
nodeTransform = pipeNode
 +
type = PipeSize1
 +
maxLenght = 20
 +
maxAngle = 100
 +
breakForce = 10
 +
allowDock = true
 +
allowPumpFuel = true
 +
hasCollider = false
 +
tubeScale = 0.15
 +
jointScale = 0.15
 +
textureTiling = 1
 +
tubeSrcType = Joined
 +
tubeTgtType = Joined
 +
evaStrutPos = (0.05, 0.059, -0.21)
 +
evaStrutRot = (190.0, 0.0, 0.0)
 +
        tubeTexPath = KAS/Textures/pipe
 +
}
  
|}
+
</pre>
=== FXModuleLockAtConstraint ===
 
{|class=“wikitable”
 
 
|-
 
|-
 +
|
 +
{|class="wikitable"
 +
 +
==== KASModuleGrapplingHook ====
 +
This module will make the part acting like a grappling-hook, any collided part in front of the grapple will be automatically attached if the inpact is strong enough. Only work when attached on a winch.
 
! variable !! example !! definition
 
! variable !! example !! definition
 
|-
 
|-
|=== FlagDecal ===
+
| partBreakForce ||
 +
* 6
 +
|| The force that needs to be applied on the grapple/part joint to break.
 
|-
 
|-
| textureQuadName ||   || 
+
| staticBreakForce ||
* flagTransform
+
* 15
 
+
|| The force that needs to be applied on the grapple/static joint to break.
|}
 
=== ModuleAsteroid ===
 
{|class=“wikitable”
 
 
|-
 
|-
! variable !! example !! definition
+
| aboveDist ||
 +
* 0.05
 +
|| Distance from the attach point to the center of the part
 
|-
 
|-
|no procedures or calls
+
| forceNeeded ||
 
+
* 4
 
+
|| Collision force needed to attach the grapple.
|}
 
=== ModuleDeployableSolarPanel ===
 
 
|-
 
|-
| animationName ||   || 
+
| attachToPart ||
unknown for sure.  Assumed to refer to an animation describing part transformation from its closed state to its open state.  known parameters are:
+
* true
* solarpanels
+
* false
* solarpanels2
+
|| Disable/enable attachment on parts.
* solarpanels4
 
* altsolarpanelbase
 
* bigsolarpanel
 
 
 
 
|-
 
|-
| sunTracking ||   ||  
+
| rayDir  ||
Boolean argument. unknown purpose.  Assumed to indicate whether the animation will turn the panel towards the sun.
+
* (0,-1,0)
 +
|| Direction of the attach raycast. Attachment will be done only with objects in that direction.
 
|-
 
|-
| raycastTransformName ||   ||  
+
| rayLenght ||
optional. unknown.  Known arguments:
+
* 0.8
* suncatcher
+
|| Attach ray lenght.
 
 
 
|-
 
|-
| pivotName ||  || 
+
|}
optional.  unknown.  Known arguments:
 
* suncatcher
 
  
|-
+
||
| isBreakable ||  || 
+
<pre>
optionalunknown purpose, assumed to indicate whether the part will break on high-dynamic stress. true or false
+
MODULE
 +
{
 +
name = KASModuleGrapplingHook
 +
partBreakForce = 6
 +
staticBreakForce = 15
 +
aboveDist = 0.05
 +
forceNeeded = 4
 +
attachToPart = true
 +
  rayDir = (0,-1,0)
 +
rayLenght = 0.8
 +
}
  
 +
</pre>
 
|-
 
|-
| resourceName ||  || 
+
|
the resource provided by this module.  Any resource may be used, including resources not defined. 
+
{|class="wikitable"
  
 +
==== KASModuleWinch ====
 +
! variable !! example !! definition
 
|-
 
|-
| chargeRate ||   ||  
+
| maxLenght ||
Amount of resource provided per second at 100% output.  Positive values only, please.
+
* 50
 
+
* 80
 +
|| unknown
 
|-
 
|-
| powerCurve ||   || 
+
| cableSpring ||
powerCurve is a special call consisting of subtypes called [key].  Each [key] uses four numbers to define what it will do at a specific distance from a source.  In the case of solar panels, where powerCurve is typically used, there are typically 4 [key]s.  [powerCurve] defines the rate at which resources are provided relative to the [chargeRate] and distance from the specified source (ie. Kerbol)
+
* 1000
* 206000000000 0.00 0 0
+
||
* 013599840256 1.00 0 0
 
* 068773560320 0.50 0 0
 
* 000000000000 10.0 0 0|}
 
=== ModuleWheel ===
 
 
|-
 
|-
| hasMotor ||   ||  
+
| cableDamper ||
true or false
+
* 0.1
 +
||  
 
|-
 
|-
| resourceName ||   ||  
+
| cableWidth ||
ElectricCharge
+
* 0.04
 +
||  
 
|-
 
|-
| resourceConsumptionRate ||   ||  
+
| motorMaxSpeed ||
1.0
+
* 2
 +
||  
 
|-
 
|-
| canSteer ||   ||  
+
| motorAcceleration ||
true
+
* 0.05
 +
||  
 
|-
 
|-
| controlAxisType ||   ||  
+
| powerDrain ||
Forward
+
* 0.5
 +
* 0.3
 +
||  
 
|-
 
|-
| steeringModeType ||   ||  
+
| headTransformName ||
AutomaticSteer
+
* head
TankSteer
+
||  
 
|-
 
|-
| brakeTorque ||   ||  
+
| headPortNodeName ||
300
+
* portNode
 +
||  
 
|-
 
|-
| brakeSpeed ||   ||  
+
| connectedPortNodeName ||
1.2
+
* bottom
 +
* front
 +
||  
 
|-
 
|-
| impactTolerance ||   ||  
+
| anchorNodeName ||
2000
+
* anchorNode
 +
||  
 
|-
 
|-
| overSpeedDamage ||   ||  
+
| evaGrabHeadPos ||
60
+
* (0.05, 0.01, -0.11)
 +
||  
 
|-
 
|-
| WHEEL ||   ||  
+
| evaGrabHeadDir ||
 +
* (0,0,1)
 +
||  
 
|-
 
|-
| wheelName || ||  
+
| evaDropHeadPos ||
wheel
+
* (0.05, 0.01, -0.16)
 +
||  
 
|-
 
|-
| wheelColliderName || ||  
+
| evaDropHeadRot ||
wheelCollider
+
* (180.0, 0.0, 0.0)
 +
||  
 
|-
 
|-
| suspensionTransformName || ||  
+
| ejectEnabled ||
suspensionTraverse
+
* true
 +
* false
 +
||  
 
|-
 
|-
| suspensionNeutralPointName || ||  
+
| ejectForce ||
suspensionNeutralPoint
+
* 20
 +
||  
 
|-
 
|-
| damagedObjectName || ||  
+
| lockMinDist ||
bustedwheel
+
* 0.12
 +
||  
 
|-
 
|-
| rotateX || ||  
+
| lockMinFwdDot ||
0
+
* 0.90
 +
||  
 
|-
 
|-
| rotateY || ||
 
1
 
|-
 
| rotateZ || ||
 
0
 
|-
 
| steeringCurve ||  || 
 
keys, 0 16
 
10 9
 
30 2
 
|-
 
| torqueCurve ||  || 
 
keys
 
0 250 0 0
 
20 100 0 0
 
30 14 0 0
 
34 0 0 0
 
 
 
|}
 
|}
=== FXModuleLookAtConstraint ===
 
|-
 
| CONSTRAINLOOKFX ||  || 
 
|-
 
| targetName || ||
 
|-
 
| rotatorsName || ||
 
 
|}
 
=== FXModuleConstrainPosition ===
 
|-
 
| matchRotation ||  || 
 
true or false
 
|-
 
| matchPosition ||  || 
 
true or false
 
|-
 
| CONSTRAINFX ||  || 
 
|-
 
| targetName || ||
 
steering
 
|-
 
| moversName || ||
 
lateral
 
  
 +
||
 +
<pre>
 +
MODULE
 +
{
 +
name = KASModuleWinch
 +
maxLenght = 50
 +
cableSpring = 1000
 +
cableDamper = 0.1
 +
cableWidth = 0.04
 +
motorMaxSpeed = 2
 +
motorAcceleration = 0.05
 +
powerDrain = 0.5
 +
headTransformName = head
 +
headPortNodeName = portNode
 +
connectedPortNodeName = bottom
 +
anchorNodeName = anchorNode
 +
evaGrabHeadPos = (0.05, 0.01, -0.11)
 +
evaGrabHeadDir = (0,0,1)
 +
evaDropHeadPos = (0.05, 0.01, -0.16)
 +
evaDropHeadRot = (180.0, 0.0, 0.0)
 +
ejectEnabled = true
 +
ejectForce = 20
 +
lockMinDist = 0.12
 +
lockMinFwdDot = 0.90
 +
}
  
|}
+
</pre>
=== ModuleAnchoredDecoupler ===
 
|-
 
| anchorName ||  || 
 
anchor
 
|-
 
| ejectionForce ||  || 
 
450
 
|-
 
| explosiveNodeID ||  || 
 
specifies the location of the explosion.
 
 
|-
 
|-
| srf ||  || 
 
surface of the attachment
 
|}
 
=== ModuleDecouple ===
 
{|class="wikitable"
 
! variable !! sample !! definition
 
|-
 
| isOmniDecoupler ||
 
* true
 
* '''false''' 
 
|| Specifies whether this decoupler separates on both ends or not.  Defaults to false.
 
|-
 
| ejectionForce ||  100 || specifies the DeltaV with which the part separates
 
|-
 
| explosiveNodeID ||
 
* top
 
* srf 
 
|| for non-OmniDecouplers, specifics the Node of separation
 
 
|}
 
|}
 
== MODULES POSSIBLY FROM MODS ==
 
defining a module has it's own problems, of course, and I'm no expert, but I did find this along the way:
 
 
 
 
MODULE:NEEDS[KAS]
 
for the module|}
 
=== KASModuleContainer ===
 
|-
 
| maxSize ||  || 
 
specifies the size of the container relative to Kerbal Attachment System parts.
 
|-
 
| maxOpenDistance ||  || 
 
|-
 
| sndStorePath ||  || 
 
KAS/Sounds/hookBayStore
 
|-
 
| sndOpenPath ||  || 
 
KAS/Sounds/containerOpen
 
|-
 
| sndClosePath ||  || 
 
KAS/Sounds/containerClose
 
|-
 
| bipWrongSndPath ||  || 
 
KAS/Sounds/bipwrong
 

Latest revision as of 23:44, 28 December 2014

MODULES FROM MODS

Defining a module is a task in and of itself and one that I'm sure has already been covered in other places. Many modules defined by mods are duplicating effects that could be created with stock modules, but for one reason or another, the mod owner has decided to create their own modules (possibly for degree of control, possibly because the stock module didn't quite do everything they needed). In any event, I've looked at some of the Mod modules, and detailed them below. By mod, they are:

Kerbal Assembly System

Kerbal Assembly System is most noted for adding the option to grab and move parts using Kerbals. It also allows for storage of certain parts in containers.

MODULE:NEEDS[KAS] for the module

KASModuleContainer

Specifies that this part can serve as a container for other parts, and how much storage space the part has. Also included is an interaction distance. Kerbals must be this close or closer to open the container. Lots of sounds.

variable example definition
maxSize
  • 5
  • 20
  • 80
specifies the size of the container relative to Kerbal Attachment System parts.
maxOpenDistance
  • 1
  • 5
Kerbals must be at least this close (in meters) in order to open the container
sndStorePath
  • KAS/Sounds/hookBayStore
sound stuff
sndOpenPath
  • KAS/Sounds/containerOpen
sound stuff for opening the container
sndClosePath
  • KAS/Sounds/containerClose
sound stuff for closing the container
bipWrongSndPath
  • KAS/Sounds/bipwrong
sound stuff
MODULE
{
 name = KASModuleContainer
 maxSize = 80
}

ModuleConnectedLivingSpace

variable example definition
passable
  • true
  • false
specifies whether Kerbals can commute to parts connected to this part
passableWhenSurfaceAttached
  • true
  • false
can be passed through even when connected to the ground?
MODULE
{
 name = ModuleConnectedLivingSpace
 passable = true
 passableWhenSurfaceAttached = true 
}

KASModuleGrab

variable example definition
evaPartPos
  • (0.0, 0.40, -0.40)
  • (0.0, 0.0, -0.15)
three dimensional array, offset for carrying
evaPartDir
  • (0,0,-1)
three dimensional array for orientation
storable
  • true
  • false
specifies whether the part can be stored
storedSize
  • 20
  • 14
specifies whether the part can be stored
attachOnPart
  • true
  • false
uncertain
attachOnEva
  • true
  • false
unsure
attachOnStatic
  • True
  • False
unsure
customGroundPos
  • True
  • False
unsure
attachNodeName
  • bottom
unsure
dropPartPos
  • (0.0, -0.2, -0.7)
unsure
dropPartRot
  • (-10.0, 0.0, 0.0)
unsure
bayType
  • hookbay
unsure
bayNode
  • top
unsure
bayRot
  • (0.0., 0.0, 0.0)
something to do with rotation
attachSendMsgOnly
  • true
  • false
unknown
MODULE
{
name = KASModuleGrab            
evaPartPos = (0.0, 0.40, -0.40)        
evaPartDir = (0,0,-1)
storable = true
storedSize  = 20
attachOnPart = true
attachOnEva = true
bayType = hookBay
bayNode = top
bayRot = (0.0, 0.0, 0.0)
}

KASModulePartBay

variable example definition
BAY {}
attachNode
  • top
  • bottom
attachment placement
type
  • containerA
  • container
  • hookBay
MODULE
{
 name = KASModulePartBay
 BAY
 {
  attachNode = top
  type = containerA
  type = containerB
 }
}

KASModulePort

variable example definition
attachNode
  • top
unsure
nodeType
  • kasplug
unknown
breakForce
  • 30
unknown
nodeTransformName
  • plugNode
unknown
MODULE
{
 name = KASModulePort
 attachNode = top
 nodeType = kasplug
 breakForce = 30
 nodeTransformName = plugNode
}

KASModuleAnchor

variable example definition

This module will set a custom drag value when the part touch the ground.

groundDrag
  • 500
Drag value of the anchor when it touch the ground
bounciness
  • 0
Bounciness of the anchor
dynamicFriction
  • 0.8
Dynamic friction of the anchor when it touch the ground
staticFriction
  • 0.8
Static friction of the anchor when it touch the ground
MODULE
{
 name = KASModuleAnchor
 groundDrag = 500
 bounciness = 0
 dynamicFriction = 0.8 
 staticFriction = 0.8
}

KASModuleMagnet

This module will make the part acting like a magnet, collided part will be automatically attached. Only work when attached on a winch.

variable example definition
breakForce
  • 10
The force that needs to be applied on the magnet joint to break.
attachToEva
  • true
  • false
Disable/enable attraction of eva
minFwdDot
  • 0.998
Minimum magnet alignement needed to attach (1 is perfectly aligned)
powerDrain
  • 4
Power consumption when the magnet is used
MODULE
{
 name = KASModuleMagnet
 breakForce = 10
 attachToEva = False
 minFwdDot = 0.998
 powerDrain = 4
}

KASModuleStrut

variable example definition
nodeTransform
  • pipeNode
  • strutNode
unknown
type
  • PipeSize1
  • StrutSize1
Unkown
maxLength
  • 20
  • 8
unknown
maxAngle
  • 100
unknown
breakForce
  • 10
unknown
allowDock
  • true
  • false
unknown
allowPumpFuel
  • true
  • false
unknown
hasCollider
  • true
  • false
unknown
tubeScale
  • 0.15
unknown
jointScale
  • 0.15
unknown
textureTiling
  • 1
  • 4
unknown
tubeSrcType
  • Joined
  • Rounded
Unknown
tubeTgtType
  • Joined
  • Rounded
unknown
evaStrutPos
  • (0.05, 0.059, -0.21)
unknown
evaStrutRot
  • (190.0, 0.0, 0.0)
unknown
tubeTexPath
  • KAS/Textures/pipe
unknown
MODULE
{
 name = KASModuleStrut 
 nodeTransform = pipeNode
 type = PipeSize1 
 maxLenght = 20
 maxAngle = 100
 breakForce = 10
 allowDock = true
 allowPumpFuel = true
 hasCollider = false
 tubeScale = 0.15
 jointScale = 0.15
 textureTiling = 1
 tubeSrcType = Joined
 tubeTgtType = Joined
 evaStrutPos = (0.05, 0.059, -0.21)
 evaStrutRot = (190.0, 0.0, 0.0)
        tubeTexPath = KAS/Textures/pipe
}

KASModuleGrapplingHook

This module will make the part acting like a grappling-hook, any collided part in front of the grapple will be automatically attached if the inpact is strong enough. Only work when attached on a winch.

variable example definition
partBreakForce
  • 6
The force that needs to be applied on the grapple/part joint to break.
staticBreakForce
  • 15
The force that needs to be applied on the grapple/static joint to break.
aboveDist
  • 0.05
Distance from the attach point to the center of the part
forceNeeded
  • 4
Collision force needed to attach the grapple.
attachToPart
  • true
  • false
Disable/enable attachment on parts.
rayDir
  • (0,-1,0)
Direction of the attach raycast. Attachment will be done only with objects in that direction.
rayLenght
  • 0.8
Attach ray lenght.
MODULE
{
 name = KASModuleGrapplingHook
 partBreakForce = 6
 staticBreakForce = 15
 aboveDist = 0.05
 forceNeeded = 4
 attachToPart = true
 rayDir = (0,-1,0) 
 rayLenght = 0.8
}

KASModuleWinch

variable example definition
maxLenght
  • 50
  • 80
unknown
cableSpring
  • 1000
cableDamper
  • 0.1
cableWidth
  • 0.04
motorMaxSpeed
  • 2
motorAcceleration
  • 0.05
powerDrain
  • 0.5
  • 0.3
headTransformName
  • head
headPortNodeName
  • portNode
connectedPortNodeName
  • bottom
  • front
anchorNodeName
  • anchorNode
evaGrabHeadPos
  • (0.05, 0.01, -0.11)
evaGrabHeadDir
  • (0,0,1)
evaDropHeadPos
  • (0.05, 0.01, -0.16)
evaDropHeadRot
  • (180.0, 0.0, 0.0)
ejectEnabled
  • true
  • false
ejectForce
  • 20
lockMinDist
  • 0.12
lockMinFwdDot
  • 0.90
MODULE
{
 name = KASModuleWinch
 maxLenght = 50
 cableSpring = 1000
 cableDamper = 0.1
 cableWidth = 0.04
 motorMaxSpeed = 2
 motorAcceleration = 0.05
 powerDrain = 0.5
 headTransformName = head
 headPortNodeName = portNode
 connectedPortNodeName = bottom
 anchorNodeName = anchorNode
 evaGrabHeadPos = (0.05, 0.01, -0.11)
 evaGrabHeadDir = (0,0,1)
 evaDropHeadPos = (0.05, 0.01, -0.16)
 evaDropHeadRot = (180.0, 0.0, 0.0)
 ejectEnabled = true
 ejectForce = 20
 lockMinDist = 0.12
 lockMinFwdDot = 0.90
}


Universal Storage

Universal Storage. By the by: Excellently documented!

ModuleAnimator

Animation module.

variable example definition
animationName
  • Take 001
Name of the animation from the model.
guiEnableName
  • Wedge Locks Off
Part tooltip name to display for deployment
guiDisableName
  • Wedge Locks Off
Part tooltip name to display for retraction
actionEnableName
  • Wedge Locks Off
Action group name for deployment
actionDisableName
  • Wedge Locks On
Action group name for retraction
animationSpeed
  • 100000
Speed of the animation
oneShot
  • true
  • false
If the animation can only be played once
activeEditor
  • true
  • false
If the part toolitp is visible in the editor
activeFlight
  • true
  • false
If the part tooltip is visible in flight
activeUnfocused
  • true
  • false
If the part tooltip is visible from EVA
unfocusedRange
  • 5
EVA visible range
 MODULE
 {
  name = ModuleAnimator
  animationName = Take 001
  guiEnableName = Wedge Locks Off
  guiDisableName = Wedge Locks On
  actionEnableName = Wedge Locks Off 
  actionDisableName = Wedge Locks On 
  
  animationSpeed = 100000
  oneShot = false
  activeEditor = true
  activeFlight = false
  activeUnfocused = false
  unfocusedRange = 5
 }

REGO_ModuleResourceConverter

variable example definition
ConverterName
  • Water Electrolizer
Flavor Text
StartActioName
  • Start Water Electrolizer
Flavor Text
StopActioName
  • Stop Water Electrolizer
Flavor Text
RecipeInputs
  • ElectricCharge, 14, Water, 0.0000176697
RecipeOutputs
  • Hydrogen, 0.0219907427, True, Oxygen, 0.0109953713, False
MODULE
{
  name = REGO_ModuleResourceConverter
  ConverterName = Water Electrolizer
  StartActionName = Start Water Electrolizer
  StopActionName = Stop Water Electrolizer
  RecipeInputs = ElectricCharge, 14, Water, 0.0000176697
  RecipeOutputs = Hydrogen, 0.0219907427, True, Oxygen, 0.0109953713, False
}

Umbra Space Industries: ExpPack

USI is widely known for building an entire add-on family of interconnected and cross-supported parts and extensions. Here we detail mods added by the ExpPack.

USI_ClearIVA

No calls.

MODULE
{
 name = USI_ClearIVA
}

ModuleConnectedLivingSpace

variable example definition
passable
  • true
  • false
specifies whether Kerbals can commute to parts connected to this part
passableWhenSurfaceAttached
  • true
  • false
can be passed through even when connected to the ground?
MODULE
{
 name = ModuleConnectedLivingSpace
 passable = true
 passableWhenSurfaceAttached = true 
}

KASModuleGrab

variable example definition
evaPartPos
  • (0.0, 0.40, -0.40)
  • (0.0, 0.0, -0.15)
three dimensional array, offset for carrying
evaPartDir
  • (0,0,-1)
three dimensional array for orientation
storable
  • true
  • false
specifies whether the part can be stored
storedSize
  • 20
  • 14
specifies whether the part can be stored
attachOnPart
  • true
  • false
uncertain
attachOnEva
  • true
  • false
unsure
attachOnStatic
  • True
  • False
unsure
customGroundPos
  • True
  • False
unsure
attachNodeName
  • bottom
unsure
dropPartPos
  • (0.0, -0.2, -0.7)
unsure
dropPartRot
  • (-10.0, 0.0, 0.0)
unsure
bayType
  • hookbay
unsure
bayNode
  • top
unsure
bayRot
  • (0.0., 0.0, 0.0)
something to do with rotation
attachSendMsgOnly
  • true
  • false
unknown
MODULE
{
name = KASModuleGrab            
evaPartPos = (0.0, 0.40, -0.40)        
evaPartDir = (0,0,-1)
storable = true
storedSize  = 20
attachOnPart = true
attachOnEva = true
bayType = hookBay
bayNode = top
bayRot = (0.0, 0.0, 0.0)
}

KASModulePartBay

variable example definition
BAY {}
attachNode
  • top
  • bottom
attachment placement
type
  • containerA
  • container
  • hookBay
MODULE
{
 name = KASModulePartBay
 BAY
 {
  attachNode = top
  type = containerA
  type = containerB
 }
}

KASModulePort

variable example definition
attachNode
  • top
unsure
nodeType
  • kasplug
unknown
breakForce
  • 30
unknown
nodeTransformName
  • plugNode
unknown
MODULE
{
 name = KASModulePort
 attachNode = top
 nodeType = kasplug
 breakForce = 30
 nodeTransformName = plugNode
}

KASModuleAnchor

variable example definition

This module will set a custom drag value when the part touch the ground.

groundDrag
  • 500
Drag value of the anchor when it touch the ground
bounciness
  • 0
Bounciness of the anchor
dynamicFriction
  • 0.8
Dynamic friction of the anchor when it touch the ground
staticFriction
  • 0.8
Static friction of the anchor when it touch the ground
MODULE
{
 name = KASModuleAnchor
 groundDrag = 500
 bounciness = 0
 dynamicFriction = 0.8 
 staticFriction = 0.8
}

KASModuleMagnet

This module will make the part acting like a magnet, collided part will be automatically attached. Only work when attached on a winch.

variable example definition
breakForce
  • 10
The force that needs to be applied on the magnet joint to break.
attachToEva
  • true
  • false
Disable/enable attraction of eva
minFwdDot
  • 0.998
Minimum magnet alignement needed to attach (1 is perfectly aligned)
powerDrain
  • 4
Power consumption when the magnet is used
MODULE
{
 name = KASModuleMagnet
 breakForce = 10
 attachToEva = False
 minFwdDot = 0.998
 powerDrain = 4
}

KASModuleStrut

variable example definition
nodeTransform
  • pipeNode
  • strutNode
unknown
type
  • PipeSize1
  • StrutSize1
Unkown
maxLength
  • 20
  • 8
unknown
maxAngle
  • 100
unknown
breakForce
  • 10
unknown
allowDock
  • true
  • false
unknown
allowPumpFuel
  • true
  • false
unknown
hasCollider
  • true
  • false
unknown
tubeScale
  • 0.15
unknown
jointScale
  • 0.15
unknown
textureTiling
  • 1
  • 4
unknown
tubeSrcType
  • Joined
  • Rounded
Unknown
tubeTgtType
  • Joined
  • Rounded
unknown
evaStrutPos
  • (0.05, 0.059, -0.21)
unknown
evaStrutRot
  • (190.0, 0.0, 0.0)
unknown
tubeTexPath
  • KAS/Textures/pipe
unknown
MODULE
{
 name = KASModuleStrut 
 nodeTransform = pipeNode
 type = PipeSize1 
 maxLenght = 20
 maxAngle = 100
 breakForce = 10
 allowDock = true
 allowPumpFuel = true
 hasCollider = false
 tubeScale = 0.15
 jointScale = 0.15
 textureTiling = 1
 tubeSrcType = Joined
 tubeTgtType = Joined
 evaStrutPos = (0.05, 0.059, -0.21)
 evaStrutRot = (190.0, 0.0, 0.0)
        tubeTexPath = KAS/Textures/pipe
}

KASModuleGrapplingHook

This module will make the part acting like a grappling-hook, any collided part in front of the grapple will be automatically attached if the inpact is strong enough. Only work when attached on a winch.

variable example definition
partBreakForce
  • 6
The force that needs to be applied on the grapple/part joint to break.
staticBreakForce
  • 15
The force that needs to be applied on the grapple/static joint to break.
aboveDist
  • 0.05
Distance from the attach point to the center of the part
forceNeeded
  • 4
Collision force needed to attach the grapple.
attachToPart
  • true
  • false
Disable/enable attachment on parts.
rayDir
  • (0,-1,0)
Direction of the attach raycast. Attachment will be done only with objects in that direction.
rayLenght
  • 0.8
Attach ray lenght.
MODULE
{
 name = KASModuleGrapplingHook
 partBreakForce = 6
 staticBreakForce = 15
 aboveDist = 0.05
 forceNeeded = 4
 attachToPart = true
 rayDir = (0,-1,0) 
 rayLenght = 0.8
}

KASModuleWinch

variable example definition
maxLenght
  • 50
  • 80
unknown
cableSpring
  • 1000
cableDamper
  • 0.1
cableWidth
  • 0.04
motorMaxSpeed
  • 2
motorAcceleration
  • 0.05
powerDrain
  • 0.5
  • 0.3
headTransformName
  • head
headPortNodeName
  • portNode
connectedPortNodeName
  • bottom
  • front
anchorNodeName
  • anchorNode
evaGrabHeadPos
  • (0.05, 0.01, -0.11)
evaGrabHeadDir
  • (0,0,1)
evaDropHeadPos
  • (0.05, 0.01, -0.16)
evaDropHeadRot
  • (180.0, 0.0, 0.0)
ejectEnabled
  • true
  • false
ejectForce
  • 20
lockMinDist
  • 0.12
lockMinFwdDot
  • 0.90
MODULE
{
 name = KASModuleWinch
 maxLenght = 50
 cableSpring = 1000
 cableDamper = 0.1
 cableWidth = 0.04
 motorMaxSpeed = 2
 motorAcceleration = 0.05
 powerDrain = 0.5
 headTransformName = head
 headPortNodeName = portNode
 connectedPortNodeName = bottom
 anchorNodeName = anchorNode
 evaGrabHeadPos = (0.05, 0.01, -0.11)
 evaGrabHeadDir = (0,0,1)
 evaDropHeadPos = (0.05, 0.01, -0.16)
 evaDropHeadRot = (180.0, 0.0, 0.0)
 ejectEnabled = true
 ejectForce = 20
 lockMinDist = 0.12
 lockMinFwdDot = 0.90
}