Solar Object Child-to-Parent docking/undocking
-
I honestly had no clue which keywords should I use to search this topic, so I’m afraid I’ll have to make a post.
I’m looking for a way to make modular parts of a station (its ‘children’) dockable, as if you dock the station through a part that’s considered its ‘child’ rather than a separated station that actually leads to the same base when docked.
I know people did it in Discovery 4.87/6, then it got removed for some reason (or is it still there?) so it’s obviously possible. Is there a plugin/hack I’m missing, or is it possible with some line in the vanilla .ini coding format? I haven’t found anything in Discovery’s files that leads to it.
Thanks for the help.
-
Don´t know if this is what you are looking for but IIRC its only possible via Ini-codelines like:
dock_with = Li01_01_Base <-- nickname of the base in mbases.ini and other corresponding inis base = Li01_01_Base parent = Li01_01 <-- [object) nickname of the base in this .ini[/code] The child has to be a dockable object including docking-hps. Hope this helps Greetings J.R.
-
J.R. wrote:
The child has to be a dockable object including docking-hps.You mean it needs to be defined as ‘STATION’ is Solararch.ini? I remember trying something like that, but I’ll try again and edit if it worked.
-
Right.
The downside of the “parent =” codeline is that always the main base will be marked when you click on its children. So docking will be likely on the main base… but undocking has a random chance on the childs docking hps. Maybe you´ll fiddle around with this codelines…
We on ENIGMA V.4 ATG managed our destructible bases through this (via invisible dummy base close to the base) to avoid a CTD when you undock a already destructed base.
Greets
-
I tried it, it works only when the child is STATION. Anyways, seems like I’ll have to separate the docking components in order to allow the player to dock with any of them. I tried docking the main object with a transport, then when I undocked it used an object with large moors rather than the main object. Both are defined as the same base, so it doesn’t have to be a child for it to randomly happen.
Thanks, J.R.
-
U´re very welcome
I´m glad to help with my “very little/restricted” knowledge where ever I can… just to give some support in return.
´Cause this outstanding community and the local CODING-PRO´s provided me with A LOT during the last years !!!Cheers
J.R.