Greetings all.
I already posted this in Orbiter-Forum but I figure it was worth a shot asking the question here as well.
I'm working on incorperating UMMU support into my Lunar Lander. I followed DanSteph's tutorial on how to do so and copy/pasted the pertinent lines from his example. Despite this UMMU crew members are not loading with the scenario file.
I've checked the scn files and have confirmed the they are being recorded, as such I am at a loss .
This is my clbkLoadStateEx
// Read vessel status from scenario file
void Spider::clbkLoadStateEx (FILEHANDLE scn, void *status)
{
char *line;
while (oapiReadScenario_nextline (scn, line))
{
if(Crew.LoadAllMembersFromOrbiterScenario(line)==TRUE) continue; // Load UMMUs from scenario
else if(!strnicmp(line, "CONFIGURATION",13)) sscanf(line+13, "%i", &STATUS); // load vessel state
else if(!strnicmp(line, "AUTOPILOT",9)) sscanf(line+9, "%i", &AUTOPILOT); // load autopilot status
else ParseScenarioLineEx (line, status);
}
}
It should also be noted that my "default crew" described in ClbkSetClassCaps are not loading either.
Any assistance would be greatly appreciated.