Microupdates

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
popsch
Above Average
Above Average
Posts: 27
Joined: Sun Jan 01, 2006 3:50 pm

Microupdates

Post by popsch »

Hi,

Motivated by all the talk about Elite Dangerous, I revisited oolite after (*gasp*) 10 years. It's great to still see the game around and I was able to get my 1980s space-game fix. Thanks for all the work and for keeping it alive!

To make the game progress in smaller steps, would it be possible through an OXP to create micro-upgrades for every piece of equipment (even equipment provided through other OXPs)? This means, for instance, the military laser would have five upgrades (20%, 40%, 60%, 80%, 100%, 120% efficiency) each with exponentially increasing cost.

I guess this post is more about the ability of OXPs to use reflection on other OXPs and modify them in a generic way.

Regardless, it's fun to play ... cheers
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Microupdates

Post by Diziet Sma »

popsch wrote:
To make the game progress in smaller steps, would it be possible through an OXP to create micro-upgrades for every piece of equipment (even equipment provided through other OXPs)? This means, for instance, the military laser would have five upgrades (20%, 40%, 60%, 80%, 100%, 120% efficiency) each with exponentially increasing cost.
Whilst I'm no expert on the subject, my understanding is that the recent changes made, regarding the extent to which OXPs can have control over lasers, would make this a viable proposition for core weapons. Making changes to equipment provided by other OXPs, however, is a somewhat thornier problem.
Last edited by Diziet Sma on Sat Aug 29, 2015 1:27 pm, edited 1 time in total.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Microupdates

Post by cim »

popsch wrote:
I guess this post is more about the ability of OXPs to use reflection on other OXPs and modify them in a generic way.
There's no enforced sandboxing between OXPs, so one OXP can in theory modify another. In practice, most OXPs are not written with that in mind - those that are will generally provide an actual API rather than requiring you to override bits of them - so it'd often be easier to just make your own OXP which did what you wanted.
Post Reply