Skip to content

Possibly add support for DockingFunctions #481

@x170doom

Description

@x170doom

DockingFunctions/IRconnectionsystemNext are a replacement of the stock ModuleDockingNode that work significantly better for large space stations and robotic assembly. unfortunately freeiva currently won't work with any docking port that has had its docking module replaced as it looks specifically for the stock module, adding support for DockingFunctions would be a change in the main DLL, specifically the checks performed by the Freeiva hatch module as this is where the issue occurs (the mod can no longer find the docking node as the module doesn't exist). two solutions I can think of

1: if the hatch module cannot find ModuleDockingNode present when unpacking a vessel, check if "ModuleIRBM" or "ModuleDockingPortEx"(from another mod using same library called DockingPortNext) is present instead and use "refferenceAttachNode" instead of "DockingNodeName"

2: if ModuleDockingNode is not present, check if the node specified in DockingNodeName provided in the patch exists, if it does then continue using that node (ignoring the missing ModuleDockingNode) and leave it up to mods supporting DockingFunctions to include a patch that changes the DockingNodeName if both mods are present

Metadata

Metadata

Assignees

No one assigned

    Labels

    C#Requires codeMod SupportRelated to supporting parts/ivas from some other mod

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions