Jump to content

Spawn a dead kerbal


Recommended Posts

I'm looking for a way to spawn a dead kerbal or kill an existing one.

The scenario is:

Frank is out on EVA, a trigger occurs and then

  1. The active vessel is snapped to another vessle
  2. it becomes impossible to make frank the active vessel, or Frank is replaced with something that looks like a kerbal in a space suit but doesn't behave like one.

Does anyone have ideas of how it could be done? I'm wondering if the same mechanism that makes rescue kerbals unfocusable before you get within physics distance of them could be used to make a kerbal uncontrolable until you get with say -1m of them.

Link to comment
Share on other sites

  • 1 month later...
On 4/19/2018 at 1:44 PM, tomf said:

I'm looking for a way to spawn a dead kerbal or kill an existing one.

The scenario is:

Frank is out on EVA, a trigger occurs and then

  1. The active vessel is snapped to another vessle
  2. it becomes impossible to make frank the active vessel, or Frank is replaced with something that looks like a kerbal in a space suit but doesn't behave like one.

Does anyone have ideas of how it could be done? I'm wondering if the same mechanism that makes rescue kerbals unfocusable before you get within physics distance of them could be used to make a kerbal uncontrolable until you get with say -1m of them.

Totally possible to do depending on your coding skills 

Easy solution is to allow a player to focus on the kerbal to be rescued but have a part module attached to the kerbal that forces it to stay in a ragdoll state until you accomplish whatever it is you want the player to accomplish

The more in depth approach would be to have a list of vessels that you create which excludes the kerbal you want to deny control of (doable), hijack the switch vessel function (doable) and then reassingning the switch vessel buttons to your list which essentially removes the kerbal from the players control

I'm already doing the more in depth approach in OrX ... if you have any questions feel free to ask :)

Edited by DoctorDavinci
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...