viper1209
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Bug Reports
Posts posted by viper1209
-
-
I need some config help.
I'm trying to use bay modules to attach a tantares mod "kompact" docking part to the bottom of various parts including a rockmax short 1.25-2.5 adapter, a 1.25 rcs tank, and a stayputnik probe all of which are debris I want to salvage and repurpose. the problem I'm having is the bay module clips the docking port into the part. Initially I thought I just had the bayRot field pointing the part the wrong way but when I had it flip a 180 the part rotated on its center of mass and not its bayNode(the bottom) is there some way to offset the position of a part stored in a part bay along its xyz axis, or tell it to rotate around the reference nodes axis? Otherwise there doesn't seem to be a way to use a part bay on the bottom node of a part unless the part you're attaching was specifically modelled in a certain way.
here are my present configs
@PART[probeCoreSphere]
{
MODULE
{
name = KASModulePartBay
BAY
{
attachNode = bottom
type = salvage
}
}
}
@PART[Agena_Port_A]:FOR[KAS]
{
MODULE
{
name = KASModuleGrab
evaPartPos = (0.0, 0.00, -0.15)
evaPartDir = (0,0,-1)
storable = true
stateless = true
storedSize = 10
bayType = salvage
bayNode = bottom
bayRot = (0,0,180)
attachNodeName = bottom
attachOnPart = False
attachOnEva = False
attachOnStatic = False
attachSendMsgOnly = False
}
}I have the same problem with placing docking ports. Would appreciate some help too. (asked for this already some days ago you. Description of my problem can be found here http://forum.kerbalspaceprogram.com/threads/92514-0-25-Kerbal-Attachment-System-%28KAS%29-0-4-9-Part-cost-and-science-recovery?p=1539985&viewfull=1#post1539985 )
-
Hi
I tried to add the grab-function to the docking ports from NearFutureConstruction and the stock docking ports.
Works well for normal sized docking port and Jr. docking port.
The senior docking port and those from NFC attache in the wrong way with the docking node pointing to the surface I try to attach them to.
This is not a big deal for the senior docking port because rotating it using Alt+b/n works fine.
The ports from NFC rotate too but they rotate around the docking node causing them to get attached from the inside making them useless (or at least lock very crappy)
I already tried to add
attachNodeName = bottom
(found this anywhere on the internet) but this did not change anything.
Did I missunderstood the use of "attachNodeName"? If so how to use it properly? Do I have to know the exact name of the node? If so how to get them for stock parts or parts from other mods?
Whats the right way to set the attachment direction?
-
how can i make a part a container? whats the code? How can I also make a custom part attatchable ?
Have a look here:
https://github.com/KospY/KAS/wiki (section Modding)
[1.1.2] Kerbal Attachment System (KAS) 0.5.8
in KSP1 Mod Releases
Posted
You are right. I added the node_attach definition and now the get attached in the right direction. Thank you very much.
However the y-value for the node_attach has to be lower than the one in node_stack_bottom. For the stock docking port Sr. it seems substracting 0.05 works pretty well but for the ports from NearFutureConstruction this is too much difference. I have to figure out what the right value for them would be.
You could try to make the parts you want to attach the ports to container bays and the ports containers. This way they will get forced to attach in a specific direction if you "store" them. Not the best way and you will have to modify some parts but I think this could work. Did this with the girder segments to be able to build larger structures in space.