Difference between revisions of "User:Joshuadery"
Joshuadery (talk | contribs) (→ModuleConnectedLivingSpace) |
Joshuadery (talk | contribs) (→ModuleConnectedLivingSpace) |
||
Line 488: | Line 488: | ||
{|class="wikitable" | {|class="wikitable" | ||
− | ==== | + | ==== KASModuleWinch ==== |
! variable !! example !! definition | ! 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 | * true | ||
* false | * false | ||
− | || | + | || |
+ | |- | ||
+ | | ejectForce || | ||
+ | * 20 | ||
+ | || | ||
+ | |- | ||
+ | | lockMinDist || | ||
+ | * 0.12 | ||
+ | || | ||
|- | |- | ||
− | | | + | | lockMinFwdDot || |
− | * | + | * 0.90 |
− | + | || | |
− | || | ||
|- | |- | ||
|} | |} | ||
Line 507: | Line 577: | ||
MODULE | MODULE | ||
{ | { | ||
− | name = | + | 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> | </pre> | ||
|- | |- | ||
| | | | ||
{|class="wikitable" | {|class="wikitable" | ||
+ | |||
==== ModuleConnectedLivingSpace ==== | ==== ModuleConnectedLivingSpace ==== | ||
! variable !! example !! definition | ! variable !! example !! definition |
Revision as of 13:35, 26 December 2014
Contents
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
|
MODULE { name = KASModuleContainer maxSize = 80 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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) } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = KASModulePartBay BAY { attachNode = top type = containerA type = containerB } } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = KASModulePort attachNode = top nodeType = kasplug breakForce = 30 nodeTransformName = plugNode } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = KASModuleAnchor groundDrag = 500 bounciness = 0 dynamicFriction = 0.8 staticFriction = 0.8 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = KASModuleMagnet breakForce = 10 attachToEva = False minFwdDot = 0.998 powerDrain = 4 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = KASModuleGrapplingHook partBreakForce = 6 staticBreakForce = 15 aboveDist = 0.05 forceNeeded = 4 attachToPart = true rayDir = (0,-1,0) rayLenght = 0.8 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } |