Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add crew selection capability #17

Closed
TheDestroyer111 opened this issue Oct 2, 2016 · 4 comments
Closed

Add crew selection capability #17

TheDestroyer111 opened this issue Oct 2, 2016 · 4 comments
Assignees

Comments

@TheDestroyer111
Copy link

Right now the mod assigns one totally new crew member that didn't even appear in the astronaut complex to a spawned vessel. I think it should assign availible astronauts from the astronaut complex for default and hire new ones if nobody is availible, but allow the player to select astronauts like in SPH/VAB too.

@gomker
Copy link
Collaborator

gomker commented Oct 2, 2016

When spawning from a Vessel from protoVessel you can add a crew member but it is done programatically - see here

The ability to pick crew and assign to vessel are part of different Scenes of KSP and I do not think that it would be feasible to integrate in a seamless way. The Astronaut complex is a complete scene itself and I do not see a way to call a "kerbal" browser the way we call "CraftBrowser"

@Nerfclasher
Copy link

I did find something that could let you chose your crew if someone could make a pull request that would help the team save time so look at this and the requirements are it must be compiled against KSP 1.2 and it must use this code reference https://kerbalspaceprogram.com/api/_crew_assignment_dialog_8cs.html

@PapaJoesSoup
Copy link
Owner

I researched the suggestion that Nerfclasher provided, and determined that the necessary hooks are not publicly available. I will have to create a selection list via script. In work.

@PapaJoesSoup
Copy link
Owner

PapaJoesSoup commented May 10, 2018

Added feature to select one crew member from a list of available crew during spawn Will be included in v1.7.3

PapaJoesSoup pushed a commit that referenced this issue May 14, 2018
 - Add Crew selection screen to spawn feature.  You can now (optionally) select one crewmember from a list of available crew. Git Issue #17
 - Fixed Tab key movement mode changes to prevent positioning craft underground. Git Issue #29
 - Clean up tool tips to display above window and not beyond edge of screen.
 - Improved control of altitude during movement mode changes. Now when changing altitudes, changes to movement mode will not alter current altitude.
 - Added new Movement Mode altitude reset key Throttle Cuttoff (Default is X) to allow for flexible altitude positioning.
 - Revised help and readme to reflect changes to hot keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants