My query is this: I would like to create a spacecraft which consists of, say, a command module, propulsion module, and a mission module. The CM and PM are already together as one vessel upon jettisoning from the launcher, but the MM sits below the vehicle and must dock on the CM's nose before orbital operations can continue.
However, I would like the MM to "join" the vessel upon docking. Id est, only one vessel is shown upon pressing F3. The module will, of course, be jettisoned later.
I would like to know how I could go about implementing this in the vessel's .dll. I'm assuming that I can do this through a function that looks something like this:
And then a little of this:
However, I would like the MM to "join" the vessel upon docking. Id est, only one vessel is shown upon pressing F3. The module will, of course, be jettisoned later.
I would like to know how I could go about implementing this in the vessel's .dll. I'm assuming that I can do this through a function that looks something like this:
Code:
void VESSEL::CoolFunction(void)
{
Blah Blah Blah;
}
Code:
//Undock vessels
case OAPI_KEY_J:
blah blah blah;