Jump to content

[1.2.2] Contract Pack: Bases and Stations 3.6.1 (30/04/2017) (formerly Kerbin Space Station)


severedsolo

Recommended Posts

Contract Pack: Bases and Stations

B&S is now maintained by @LemonSkin - please see the new thread:

 

 

Introduction

A complete overhaul of the stock Space Station and Base missions. Featuring no fewer than 15(!) extra missions for your stations/bases when they are in orbit. Also stops continuous "build a new space station" or "build a new base" missions. You'll only be asked to build one if there isn't one already on that celestial body.

The Pack

This pack will completely disable the stock space station (and build a base) missions, and replace them with my own flavour of missions:

The Missions

 

  Reveal hidden contents

 

Additional Mods that are required or supported by Bases and Stations. (that isn't to say other mods won't work, but these are the ones that B&S is specifically aware of).

Contract Configurator by nightingale - available here - REQUIRED DEPENDENCY

Module Manager by sarbian (included in download, but also available here) - REQUIRED DEPENDENCY

StationScience by ethernet is highly recommended because it's one of my favourite mods and the pack is specifically written with it in mind. It is available here

NearFutureElectric  available here

TAC Life Support available here

USI Life Support available here

IFI Life Support available here

Contract Pack: Tourism Plus by nightingale is also recommended

The Legal Bit

This pack is licensed under CC BY-SA-NC 4.0

It also contains elements of CosmoBro's Base Construction pack (with permission) which is licensed under MIT License (see below). I have sublicensed this under CC-BY-SA-NC 4.0.

Contract Configurator is licensed under MIT License.

Mini-AVC is licensed under GNU General Public License v3

Thanks/Credits

Massive thanks to Nightingale for all your help, and Contract Configurator - without which this would not be possible.

Thanks to metl for your time, patience and massive amounts of code contributed to this project.

Thanks to CosmoBro for allowing me to take over Base Construction

Agent Flag by Dale Humphries on www.flaticon.com and is licensed under CC-BY 3.0

Known Issues

Possible problem with vessel definitions. More Data needed. Please see this post if you can help.

ScienceExperimentModule may require a scene change before it will complete once you recover the science at KSC. This is a minor enough issue that I let it through the net. I think it's a CC bug and nightingale is investigating.

Life Support checking is... sloppy to say the least. Don't rely on the pack telling you to send up a crew only when you have LS on board. Check first (working on this)

Planned Features

  Reveal hidden contents

 

.Changelog

  Reveal hidden contents

 

Installation

I highly recommend you download from CKAN - however, if you really insist on installing manually, see the link below, and grab Contract Configurator and Module Manager from the Dependencies section.

Download: https://github.com/severedsolo/KerbinSpaceStation/releases

Source: https://github.com/severedsolo/KerbinSpaceStation/releases

Edited by severedsolo
Link to comment
Share on other sites

Wait, if this will disable all orbital base missions, there will only ever be ONE station! Will it always be in orbit around Kerbin, or will it chose other host bodies too?

I would suggest replacing "Kerbal" with "Kerbin", and allowing one station for each body in the Kerbol system.

Link to comment
Share on other sites

  NBZ said:
Wait, if this will disable all orbital base missions, there will only ever be ONE station! Will it always be in orbit around Kerbin, or will it chose other host bodies too?

I would suggest replacing "Kerbal" with "Kerbin", and allowing one station for each body in the Kerbol system.

I'm not saying this isn't the case... but have I missed something? I think I have called it "Kerbin Space Station" everywhere? Did I miss one? You are right, it should be called Kerbin Space Station.

To answer your question: At this early point in time? It will just choose Kerbin, and yes there will only be one station. (although you can manipulate "the failsafe" to get around that...)

I absolutely agree about allowing one station per body, and that will be coming later, (as soon as I iron out the creases with the nice easy Kerbin missions.) Obviously crew rotations every 30-120 days (as it is now) would work fine for Mun, possibly even Minmus, but what about say, Duna?, I think it would be impractical, so I'm working out the easy stuff, and then I'll work on missions for other bodies.

To be honest, although at the moment the modules do require your station to remain in orbit around kerbin, I could easily take that out, and you could then dump your station wherever you felt like and it would work. In fact I may put that into the patch I'm working on at the moment.

I'm very close to finishing up the Kerbin missions though, then I will start work on other bodies.

Edit: never mind, I see what you mean, I've put it all over the first post. I plan to update that later, so I'll fix it then

  Quote
Planned Features

medium term

Missions for stations around other bodies

Edited by severedsolo
Link to comment
Share on other sites

  nightingale said:
Would you have any objections if I threw this up on CKAN for you?

None at all, I was looking into it myself to be honest, but I was struggling to figure out the github stuff, I'd be very grateful.

Edit: Having said that, it may be worth watching CKAN issue 860 - as I already raised an issue for this.

Edit2: Ok the next update may be slightly more delayed than I thought, so I've taken the time to clean up the original post, properly thank nightingale for all your help, and added some pics (thanks Shadow79473 for this one)

Edit3: change of plan, I've pushed a new release out to clean up the zip for ckan, no new functionality but a few tweaks, the extra features will make the next release

Version 0.1.1:

Changelog:

Tweaked rewards

Changed HabModule contract to better suit Nightingales Tourism Pack

Fixed an issue where a faulty power module could be fixed from the launchpad.

Engineers can no longer telecommute

Cleaned up package file for CKAN compatibility

Moved Contract_Group into it's own file for easier future compatibility

Edited by severedsolo
Link to comment
Share on other sites

  severedsolo said:
None at all, I was looking into it myself to be honest, but I was struggling to figure out the github stuff, I'd be very grateful.

Edit: Having said that, it may be worth watching CKAN issue 860 - as I already raised an issue for this.

Edit2: Ok the next update may be slightly more delayed than I thought, so I've taken the time to clean up the original post, properly thank nightingale for all your help, and added some pics (thanks Shadow79473 for this one)

Edit3: change of plan, I've pushed a new release out to clean up the zip for ckan, no new functionality but a few tweaks, the extra features will make the next release

Oh yeah, had a look at that issue, there's really nothing for me to do - you've done all that needs to be done except that last cleanup of your zip file for them. Good stuff. :)

Link to comment
Share on other sites

This is awesome!

Question regarding the Tier 2 missions, specifically the science module, does it need the actual stock part or does it just need to have the mobile processing lab part MODULE in it?

The reason I ask is I usually make my own custom welded parts for space station modules and add the various resources and part MODULEs so they fulfill the intended role.

For instance I'll make a lab module that has the stock mobile processing lab, and also functions as a station science lab and a MKS/OKS lab for recycling spent nuclear fuel.

If it requires the part itself that's fine I can always just "cheat" and complete the contract through the debug menu once the module is docked, but I figured I would ask.

Link to comment
Share on other sites

Thanks for the encouragement, it's appreciated, I would be very interested in seeing that part.... I tend to ditch the stock science module in favour of a station science lab instead.

At the moment, the tier 2 missions look for:

HabModule - doesn't care, just wants space for 5 kerbals.

ScienceModule - is looking specifically for the lab part, but I'll try and get it to look for the module instead (I'm not sure why I didn't do this in the first place.... I think I looked and just saw ScienceContainer, and forgot to scroll any further.) I also intend to have the Station Science Lab fufill this role at some point, as soon as I figure out module manager.

PowerModule - is looking for anything with "power" - this means panels or RTGs basically.. I wanted it to look for batteries too, but couldn't figure it out without specifying each part.

I've opened Issue 6 on Github to track the changes to the ScienceModule contract. I think it should be pretty simple to implement.

I'm sitting on 0.2 at the moment, which will finish up the Kerbin missions - I can then start to work on other bodies. (Mun in particular should be very quick to do)

Edited by severedsolo
Link to comment
Share on other sites

This is awesome! Finally an end to "launch yet another station with space for 5 kerbals".

Some more mission ideas for your mod:

* custom cores; forcing people to add 4 docking ports is a bit limited. As long as the core has a single free docking port that's enough (eg, Salyut, Spacelab)

* liveability enhancement missions - add cupola / hitchhiker modules

* add support for additional station science mods (DMagic's Orbital Science, ethernet's Station Science, N3h3mia's Orbital Science mods)

+ some of these could mean entire contract arcs - various supporting modules must be launched in order to then perform certain experiments.

* support for multiple stations around multiple planets/moons

+ idea might be that an agency may want their own station instead of collaborating with others (the player can always turn down contracts to build a new station if they already have an existing one around a particular body; should never generate a "new station" contract until a manned mission has been in orbit around a body though)

* change station orbit - may want to overfly different territory, or perform experiments at different altitudes.

* add specific science instruments to station

Link to comment
Share on other sites

Thanks for the feedback!

  micha said:

* custom cores; forcing people to add 4 docking ports is a bit limited. As long as the core has a single free docking port that's enough (eg, Salyut, Spacelab)

The problem with this is, once the contract has been accepted, I look for a vessel in orbit of kerbin with 4 docking ports. I chose 4 ports because I figured that the chances of having a vessel up there with that many ports accidentally, was pretty slim. 1 port could easily be done by accident (and once the station is defined, I can't undefine it). Don't forget I'm also working within the confines of Contract Configurator too. (unless someone can think of a way around this)

Not to mention, although the core needs 4 ports, by the time you add your Power Module, Hab Module(s), Science Module, your probably going to be down to 1 or less ports anyway (assuming you don't add any more).

  Quote
* liveability enhancement missions - add cupola / hitchhiker modules

I can't believe I didn't think of this... Issue 7 raised on Github to implement.

  Quote
* add support for additional station science mods (DMagic's Orbital Science, ethernet's Station Science, N3h3mia's Orbital Science mods)
I like this one too, I had similar thoughts myself, I'm already tracking this through Issue 2
  Quote
* support for multiple stations around multiple planets/moons

Multiple bodies is planned, and being tracked through Issue 10 - I'm not sure about multiple stations.

As I mentioned above, each station is defined, so I'd have to add new contracts for each station. I may consider adding 2/3 stations per body at a later date....

  Quote
* change station orbit - may want to overfly different territory, or perform experiments at different altitudes.
I like this alot, and have raised Issue 9 to look into... I'm a bit concerned about the inherent wobbliness of Docking ports, but I may just let the player worry about that. You don't have to accept the contract after all.
  Quote
* add specific science instruments to station
I had similar thoughts, and have raised Issue 8 to track.

So yeah 4 new issues from one post... thanks for the ideas!

Edit: Also, we are now on CKAN! Go download from there, it's much easier than maintaining it yourself.

Edited by severedsolo
Link to comment
Share on other sites

This is exactly what the stock station missions needed! I cannot give enough kuddos to this! I only have one idea. Instead of looking for four docking ports, maybe someone could make a small part defined as a "station core" identifier? Maybe a specific type of antenna or light? Or even a specific docking port? Maybe copy and just retexture the stock one so it stands out from the regular but still functions as a docking port, but with a "station core" module that your mod looks for?

Just an idea because I do know some people build craft in orbit using docking ports (not me, I lack that talent, LOL!)

Otherwise, well done sir!

So out of curiousity, I created a git fork and added a "Station Core Docking Port" and changed the Station Core cfg to look for that part. (No retexture, not sure how to do that.) I tried testing it to see if it is even a feasible idea, but I cannot get the contract to come up. Looks like I may have screwed something up somehow :(

Edited by metl
new info
Link to comment
Share on other sites

Thats a good idea... Tracking under Issue 11

Also I think your problem with your fork is that you are looking for the wrong part.

Your part cfg...

+PART
+{
+[B]name = StationPort[/B]
+module = Part
+author = metl

Wheras StationCore is looking for...


+ [B]part = StationCore[/b]
+ title = Station Core Docking Port

The two names in bold need to match up. If that still doesn't work, hit Alt-F10 - if the contract is red it's failed to load, then check the Debug log (Alt-F12) for the reason. The errors are usually pretty good.

Edited by severedsolo
Link to comment
Share on other sites

That did it. I can't tell you how many times I overlooked that, and kept making the same issue! I apparently forgot what I named the part! The changes have been uploaded. :)

Link to comment
Share on other sites

  metl said:
I only have one idea. Instead of looking for four docking ports, maybe someone could make a small part defined as a "station core" identifier?

That's a nifty solution! I hadn't looked into the code so wasn't sure how it could be solved; I had simply assumed that it might be possible for the mod to track stations by name, which would probably also be necessary if multiple stations are to be tracked around a single body.

@severedsolo: thanks so much for considering my suggestions :)

Link to comment
Share on other sites

It kind of does track by name, in that the station is internally defined as "LKOstation", although you should never see it called that, nightingale mentioned that there were a few issues with making defined vessels persist (in layman's terms, CC forgets what the station is called). With the way it is now, you have the potential to define the wrong vessel accidentally, which is what the failsafe is meant to fix, but metls changes should help with that, currently penned in for 0.2

Link to comment
Share on other sites

I believe that should be solved with the upcoming change to the way it looks for the science module as opposed to the lab specifically. It just depends on how Station Science has the parts set up.

Link to comment
Share on other sites

Unfortunately station science specifies it's own module, but I have an idea of how to get around that.

For now station science should still work if you use it on your KSS, but obviously you won't see any contracts from this pack geared towards it.

0.2 is now feature complete, check out the github repo if you want a preview, I'm only aware of one minor bug which I'll be fixing later. I plan to focus exclusively on mod compatibility in 0.3, which means that multiple bodies is now scheduled for a 0.4 release

Link to comment
Share on other sites

Kerbin Space Station 0.2 Released!

New Features:

Evacuate the space station missions (very rarely)

Add a Hab Module with a Cupola mission (thanks micha for the idea)

New part added - Station Core Docking Port (exactly the same as a Clamp-O-Tron, but only used on KSS) - credit goes to metl - completely his/her idea.

Tweaks:

ScienceModule no longer requires the part, just the module. - Essentially this makes it mod friendly. (Idea provided by Akira_R)

StationCore Mission now requires 1 Station Core Docking Port, rather than 4 Clamp-O-Tron. (old stations should be unaffected).

Dependencies:

Due to the changes to StationCore this pack now requires Module Manager. (even more reason to download through CKAN)

The pack now requires Contract Configurator 0.7.4

Fixes:

Fixed an issue that would stop HabModule from showing up more than once.

HabModule reverted to old version of requirement checking due to a small bug.

Edited by severedsolo
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...