Jump to content

[WIP for .24] Ground Fleet Refuel (Alpha 1)


malkuth

Recommended Posts

So I started messing around with the idea for Mission Controller of using a ground based refueling option for Space Planes, or just plane old planes. The current working WIP version is part of .72 of MCE right now. But once .24 of Kerbal Space Program is released, the module will be removed from MCE and be its own little Module.

Right now I have a working Tank that Buys Fuels.

And A Working Tank that can sell fuels like Kethane.

Some pictures. Right now Im not too happy with the Parts, because to be frank I am no artist, or good with making Models. So these are just repainted Stock Parts. But some pictures.

Javascript is disabled. View full album

In action On Ground:

Javascript is disabled. View full album

If you want to try it out you will have to use MCE, since its the only thing right now that charges money in KSP.

Version 1 (Part Of Mission Controller)

All modules are set up to accept any resource that is defined in the MCSettings.cfg file. If you want to change or make other tanks just change the type of resource the tank holds in the part.cfg file. Only 2 resources per tank allowed.

The ground crew support is a Huge WIP. I can't stress this enough. I had to disable the Top Node for FuelTransfers would not happen. So both tanks can only be attached from the bottoms. For some reason fuelTransfer = false is not working for Tanks. But disabling a Node is.. So the bottom node is disabled, but can't disable more than one, so I decided to just kill the top node all together. You can use a Truss or other part to add a node to the top if you have too.

this had to be done to Fix a HUGE HUGE exploit with FuelTransfers.

MCE can be found in my Forum Sig.

The actual Modules themselves use the RESOURCE


RESOURCE
{
name = Oxidizer
amount = 1760
maxAmount = 1760
}

And can have up to 2 Different fuels that module will read.

Does not matter what fuel you use as long as the fuel it self has a defined amount in the MCSettings.cfg file.. Or in case of .24 defined by whatever the Devs choose to use to cost out resources.

The same goes for the SellModule.

These are the modules in action. Pretty simple most of code is done within game.


MODULE
{
name = RefuelModule
}


MODULE
{
name = ResourcePurchase
}

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