Page 1 of 1

Microupdates

Posted: Fri Aug 28, 2015 9:37 pm
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

Re: Microupdates

Posted: Sat Aug 29, 2015 6:27 am
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.

Re: Microupdates

Posted: Sat Aug 29, 2015 7:47 am
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.