Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Cargo bay extension proportional to ship size

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 320
Joined: Sun Jun 20, 2010 6:00 pm

Cargo bay extension proportional to ship size

Post by mcarans »

I upgraded to a Porcupine (no sniggering at the back) and I bough a large cargo bay extension. My suggestions are:

1. Make the large cargo bay extension proportional in added tonnage to the original cargo bay size.
2. Increase the cost according to tonnage added
3. For modded versions of existing ships like the Supercobra, disallow (or greatly reduce) cargo bay extension on the grounds that the pimping involved with these better ships has used any available space for a larger cargo bay.

1 and 2 could be achieved simply by allowing the purchase of more than one large cargo bay, with the absolute limit that extension cannot increase cargo space by more than 75% and a reduced limit allowed for 3 above. So a Porcupine might take 2 extensions (30 tonnes).

Python might take 4 extensions (60 tonnes) (5 would be possible by the 75% rule but I think it seems a bit too much) while the Python ET Special might only be allowed 1 or 2. Basically the number allowed needs to be fixed by OXP authors.
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Post by Switeck »

The player-version Adder in my mod can have a 3 ton cargo bay extension, but it has the usual 400 Credits cost.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

You can already change the size of cargo bay extensions on a ship-by-ship basis. Since the porcupine is an oxp ship, there's nothing to stop the oxp maker from changing how much space the extension adds to the cargo bay.

See:

http://wiki.alioth.net/index.php/Shipda ... xtra_cargo

As it says there, it's all been perfectly feasible since 1.62.rc3, which, according to this,

http://developer.berlios.de/forum/forum ... m_id=17816

was released a 'little' while ago! :D

Strangely enough, this possibility has been more-or-less ignored ever since... :shock:
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 320
Joined: Sun Jun 20, 2010 6:00 pm

Post by mcarans »

That's cool. Can the amount it costs be customised too according to tonnage?
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Not directly.

You can however change the cost of the basic equipment for all ships, and you can use js to monitor that particular purchase.

If the right conditions are met, you can always add to the price charged & display a message for the player 'The cargo bay extension for this particular model needed major modifications, but we managed to squeeze another 10 tons out of it! You've been charged another 30000 credits for this extra service. Don't mention it!' :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 320
Joined: Sun Jun 20, 2010 6:00 pm

Post by mcarans »

Switeck wrote:
The player-version Adder in my mod can have a 3 ton cargo bay extension, but it has the usual 400 Credits cost.
Hopefully, more OXP authors will follow your lead.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5527
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

It's been in the player ships within Aquatics from its first version ;)
User avatar
Zieman
---- E L I T E ----
---- E L I T E ----
Posts: 680
Joined: Tue Sep 01, 2009 11:55 pm
Location: in maZe

Post by Zieman »

Large Cargo Bay for all my OXP ships is tailored for the ship in question. When I created it, I thought that + 15 TC would be right size for Porcupine's LCB, hence no need for setting a value for it in shipdata.
...and keep it under lightspeed!

Friendliest Meteor Police that side of Riedquat

[EliteWiki] Far Arm ships
[EliteWiki] Z-ships
[EliteWiki] Baakili Far Trader
[EliteWiki] Tin of SPAM
Post Reply