Jump to content

[Mod Request] Contract pack for debris


Recommended Posts

Would it be possible to have a recover existing debris contract pack, it picks parts that are marked as debris.

Examples:

  • Recover  launcher 1 debris to kerbins surface  (low / high orbit)  (low cash)
  • Recover landed debris on Mun/Minmus to Kerbins surface  (medium cash)
  • Recover  debris in orbit around xxxxx (high cash)

Rules:

  •      Debris must not have a command pod / probe core
  •      Debris must not have a docking port

 

What do you guys think?

Ge

Link to comment
Share on other sites

It's possible. Relatively easy actually.

Regarding low/medium/high cash don't worry about that. KSP automatically scales rewards by body anyway. If you are comfortable with using expressions (basically watered down C#) you can do it in one contract.

No, you don't need Unity. Just a text editor, and Contract Configurator

The only (practical) problem I can see is that recovering debris one at a time is going to get pretty tedious. For that matter, why do we need to recover it? Isn't it enough that it just isn't there any more?

Anyhoo, you've put this as a request, but your second post sounds like you'd like to make it. I could knock this out in about 30 seconds, so I don't mind doing it, but not sure if you are going to do it yourself.

Edited by severedsolo
Link to comment
Share on other sites

On 11/02/2016 at 5:03 PM, severedsolo said:

It's possible. Relatively easy actually.

Regarding low/medium/high cash don't worry about that. KSP automatically scales rewards by body anyway. If you are comfortable with using expressions (basically watered down C#) you can do it in one contract.

No, you don't need Unity. Just a text editor, and Contract Configurator

The only (practical) problem I can see is that recovering debris one at a time is going to get pretty tedious. For that matter, why do we need to recover it? Isn't it enough that it just isn't there any more?

Anyhoo, you've put this as a request, but your second post sounds like you'd like to make it. I could knock this out in about 30 seconds, so I don't mind doing it, but not sure if you are going to do it yourself.

I've had a go, but can't get it to target debris that is already in orbit.  If you can try that would be great :)

  As for recovering debris, I do it all the time I'm a bit of a neat freak. I have a ship with high isp engines that just sits in orbit grabbing stuff and moving the peri into the atmosphere. Resuply fuel and parachute missions come up with the crew rotation. 

Link to comment
Share on other sites

1 hour ago, genericeventhandler said:

I've had a go, but can't get it to target debris that is already in orbit.  If you can try that would be great :)

  As for recovering debris, I do it all the time I'm a bit of a neat freak. I have a ship with high isp engines that just sits in orbit grabbing stuff and moving the peri into the atmosphere. Resuply fuel and parachute missions come up with the crew rotation. 

Here you go: https://github.com/severedsolo/DebrisRecovery/releases/tag/1.0

License is public domain - basically it will find all debris and select some/all of it (it's random) - you'll be paid about 10k per item deposited. Obviously you need Contract Configurator, it's throwing an exception for me randomly, but I suspect that's because I'm running the dev version. If it happens on a release game report it to nightingale on the Contract Configurator thread.

Link to comment
Share on other sites

21 hours ago, severedsolo said:

Here you go: https://github.com/severedsolo/DebrisRecovery/releases/tag/1.0

License is public domain - basically it will find all debris and select some/all of it (it's random) - you'll be paid about 10k per item deposited. Obviously you need Contract Configurator, it's throwing an exception for me randomly, but I suspect that's because I'm running the dev version. If it happens on a release game report it to nightingale on the Contract Configurator thread.

That is awesome. Thank you!

 

it's probably a divide by zero in the .Random(1, @/debris.count())   if there is no debris.

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