Jump to content

Default Control Point


TheKurgan

Recommended Posts

I have been trying for the last little while to add a command module to my Rail gun turret in KTech.... problem is turrets are Z forward, so the default control direction/point is pointing up at the sky.

With my config shown below, I can manually set the control point to forward either in the SPH, or in the flight scene, but the default control direction for the part points upwards.

    MODULE
    {
        name = ModuleCommand
        minimumCrew = 0
        RESOURCE
        {
            name = ElectricCharge
            rate = 0.03
        }
        hasHibernation = True
        defaultControlPointDisplayName = Default
        CONTROLPOINT
        {
            name = forward
            displayName = Forward
            orientation = 90,0,0
        }
    }

 

My question is, is there a way to set the default control point for the part to what I have in there as "forward"?

Link to comment
Share on other sites

Skimming through ModuleCommand, there doesn't appear to be something.  In the persistent file, there's an 'activeControlPointName' to remember which control point is active, but that doesn't look like a KSPField, so I doubt you can add that to the config file to set it to a non-default.  My guess is that you would need to modify the model in Unity to rotate it, or you would need a plugin that can override the default when a craft loads.

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...