Jump to content

Is there a way to disable the magnets in docking?


Recommended Posts

The magnets are actually hindering the ability to dock. I have a space station tug thats trying to dock a module and when it gets to the docking port it rolls around for no reason. SAS is turned off on all crafts.

Edited by lextacy
Link to comment
Share on other sites

Yes. They are KSPFields, just like, say, maxThrust is in ModuleEngines. That means you can specify values for them in the part cfg.

Here's some of the fields.

that was promising , but none of the docking ports remotley have those settings, here is an example...........

this is KSO's standard docking port .cfg

PART

{

// Kerbal Space Program - Part Config

// Generated By KSP_Config Create (Script)

// --- general parameters ---

name = ssport1kso

module = Part

author = helldiver

// --- asset parameters ---

MODEL

{

model = KSO/Parts/ssport1kso

}

scale = 1

rescaleFactor = 1

// --- node definitions ---

// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z, Node Size

node_stack_top = 0, 0.1466, 0, 0, 1, 0, 1

node_stack_bottom = 0, 0, 0, 0, -1, 0, 1

//node_attach = 0, 0, 0, 0, -1, 0, 1

// --- editor parameters ---

TechRequired = specializedConstruction

entryCost = 2400

cost = 1200

category = Utility

subcategory = 0

title = Docking Port, Standard

manufacturer = Orbitz Aerospace

description = Orbitz offering of the standard docking port. Robust and compact this docking port is compatible with all standard sized docking ports but is fitted to Orbitz line of spacecraft accessories and fittings.

// --- attach parameters ---

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,0,1,0,0,

// --- standard part parameters ---

mass = 0.05

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 2

crashTolerance = 25

breakingForce = 80

breakingTorque = 80

maxTemp = 2900

// --- Custom parameters ---

MODULE

{

name = ModuleDockingNode

referenceAttachNode = top

nodeType = size1

}

}

Link to comment
Share on other sites

You can add them. Most part modules actually have a list of default settings, and parts that don't need to change the defaults can leave them out of the .cfg. Adding the option and setting it to zero will do what you need it to. :)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...