Page 1 of 2

More Adder cargospace?

Posted: Sun Oct 26, 2014 10:22 pm
by fluxxx
I can't find it now, but I thought there was an expansion to add more cargo space to the Adder. Can someone remember it?

Re: More Adder cargospace?

Posted: Mon Oct 27, 2014 2:54 am
by Diziet Sma
Start Choices is the only one that comes to mind..

Re: More Adder cargospace?

Posted: Tue Oct 28, 2014 6:55 am
by Switeck
Switeck's Shipping OXP does that, but it's not been updated for use with Oolite v1.80 so you'd need to edit it if you only wanted that feature.

Re: More Adder cargospace?

Posted: Tue Oct 28, 2014 5:12 pm
by spara
Start Choices is deliberately very feature limited and free of dependencies. It adds some start choices that affect the game only if selected. The only change that affects the whole game is the Adder cargo tweak.

Many of the start settings originate and the cargo tweak is directly borrowed from Switeck's oxp :mrgreen: .

Re: More Adder cargospace?

Posted: Wed Oct 29, 2014 2:56 am
by fluxxx
Thanks all. Unless I do START CHOICES,I guess I am stuck with the adder I already have. No big deal, I have five other commanders.

Re: More Adder cargospace?

Posted: Wed Oct 29, 2014 4:34 am
by Diziet Sma
fluxxx wrote:
Thanks all. Unless I do START CHOICES,I guess I am stuck with the adder I already have.
You could always tweak your shipdata.plist.. make a copy of it, placed in AddOns/Config, and edit the Adder's max_cargo entry to something more to your taste.. :wink:

Just be sure not to do the editing with Notepad, if you're using Windows. (Wordpad is ok, and Notepad++ is even better) After you've saved the change, hold down the shift key when you first start Oolite up again, until you see the spinning Cobra MkIII.

Re: More Adder cargospace?

Posted: Wed Oct 29, 2014 4:56 am
by CheeseRedux
Cheers, Dizzy, that saved me a bit of typing…

Simple, no-frills method:

Code: Select all

{
"adder-player" = {
max_cargo = 5;
};
}
Copy and paste the above into a text file named "shipdata-overrides.plist". Place file in AddOns folder. Your Adder now has enough cargo space for a Passenger Cabin, and it will work on your current save.

Re: More Adder cargospace?

Posted: Wed Oct 29, 2014 6:01 am
by spara
Because of the currect structure of the shipdata, in this case, you'll want to modify the "oolite_template_adder-player" rather than "adder-player". That way adder adding oxps that follow the current preferred way of adding variants work too.

So the code would be:

Code: Select all

{
"oolite_template_adder-player" = {
max_cargo = 5;
};
}

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 4:23 pm
by fluxxx
I am using Notepad++. I copied and pasted the code into ship-data overides.plist and moved it to Addons/Config. No change, i am afraid.

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 4:26 pm
by Cody
Did you shift/start after doing that?

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 4:40 pm
by Amah
Try to edit your save file in oolite-saves to upgrade your current ship. search for:"max_cargo"

Code: Select all

...
    <key>max_cargo</key>
    <integer>5</integer>
...
(on Linux e.g.: ~/oolite-saves/Jameson.oolite-save)


/e: changed to 5tons for the adder

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 5:02 pm
by fluxxx
Yes, I pressed shift and the only thing in my oolite saves file is a screenshot I took. I will look for the Jameson file. This is Windows 7.

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 5:08 pm
by Amah
keep my fingers crossed. Btw. the 35 were from my Cobra Mk3. 5tons should be enough for the adder.

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 5:09 pm
by CheeseRedux
fluxxx wrote:
I am using Notepad++. I copied and pasted the code into ship-data overides.plist and moved it to Addons/Config. No change, i am afraid.
Just to make sure: The correct file name is "shipdata-overrides.plist".
If it doesn't work in AddOns/Config, try dropping it straight in AddOns. That's where I put mine when testing, and both my code and spara's improved one increase the Adder cargo as intended.

Re: More Adder cargospace?

Posted: Fri Oct 31, 2014 6:18 pm
by fluxxx
Thanks. I have the 5 tons now. :)