Difference between revisions of "User:Joshuadery"
Joshuadery (talk | contribs) (→KASModuleStrut) |
Joshuadery (talk | contribs) (→ModuleConnectedLivingSpace) |
||
Line 418: | Line 418: | ||
==== ModuleConnectedLivingSpace ==== | ==== ModuleConnectedLivingSpace ==== | ||
+ | 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 | ||
|- | |- | ||
− | | | + | | 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 | * true | ||
* false | * 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. | ||
|- | |- | ||
|} | |} | ||
Line 436: | Line 456: | ||
MODULE | MODULE | ||
{ | { | ||
− | name = | + | name = KASModuleGrapplingHook |
− | + | partBreakForce = 6 | |
− | + | staticBreakForce = 15 | |
+ | aboveDist = 0.05 | ||
+ | forceNeeded = 4 | ||
+ | attachToPart = true | ||
+ | rayDir = (0,-1,0) | ||
+ | rayLenght = 0.8 | ||
} | } | ||
+ | |||
</pre> | </pre> | ||
|- | |- | ||
| | | | ||
{|class="wikitable" | {|class="wikitable" | ||
+ | |||
==== ModuleConnectedLivingSpace ==== | ==== ModuleConnectedLivingSpace ==== | ||
! variable !! example !! definition | ! variable !! example !! definition |
Revision as of 13:22, 26 December 2014
Contents
- 1 MODULES FROM MODS
- 1.1 Kerbal Assembly System
- 1.1.1 KASModuleContainer
- 1.1.2 ModuleConnectedLivingSpace
- 1.1.3 KASModuleGrab
- 1.1.4 KASModulePartBay
- 1.1.5 KASModulePort
- 1.1.6 KASModuleAnchor
- 1.1.7 KASModuleMagnet
- 1.1.8 KASModuleStrut
- 1.1.9 ModuleConnectedLivingSpace
- 1.1.10 ModuleConnectedLivingSpace
- 1.1.11 ModuleConnectedLivingSpace
- 1.1.12 ModuleConnectedLivingSpace
- 1.1.13 ModuleConnectedLivingSpace
- 1.1.14 ModuleConnectedLivingSpace
- 1.1.15 ModuleConnectedLivingSpace
- 1.1.16 ModuleConnectedLivingSpace
- 1.1.17 ModuleConnectedLivingSpace
- 1.1.18 ModuleConnectedLivingSpace
- 1.1.19 ModuleConnectedLivingSpace
- 1.1.20 ModuleConnectedLivingSpace
- 1.1.21 ModuleConnectedLivingSpace
- 1.1 Kerbal Assembly System
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 = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MODULE { name = ModuleConnectedLivingSpace passable = true passableWhenSurfaceAttached = true } |