Shield Cycler NEXT 1.12.2

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.30.2 - last before V1.0 ?

Post by Lone_Wolf »

Commander McLane wrote:
While you're at it, you should also look into applying the same changes to shieldcycler that have been applied to CCL (namely moving out of the "global" namespace).
I've replaced Cabal_Common references with worldScripts.Cabal_Common_Functions.Cabal_Common so it works with CCL 1.6 and uploaded version 0.30.3 .

Using

Code: Select all

:d global
in the debug console gives no shieldcycler objects in global namespace.
Maybe the references you saw were the Cabal_Common object used by shieldcycler to interact with OxpConfig / CCL ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.30.3 - now requires CCL 1.6

Post by Lone_Wolf »

After an absence I'll be playing oolite again, and intend to start working on version 1 of this oxp.

If there are problems with 0.30.3 , bugs or you have suggestions for improvement / additions, now is the time to mention them.

<goes to OXP list to update all installed oxps to latest versions)
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.30.3 - now requires CCL 1.6

Post by Lone_Wolf »

I'm working on shield cycler again, have a lot of oxp related stuff to catching up to.

I'll probably release an updated oxp first, then look into oxz'ing it.

I'm also considering incorporating CSOTB shield equalizer / capacitor functionality, see https://bb.oolite.space/viewtopic.php?f= ... 7&start=45 .
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.30.3 - now requires CCL 1.6

Post by Lone_Wolf »

Road map / Todo list, please comment on it

0.4. & later
  • use JSON for missionvar, include SC version
  • split off code for converting from older versions to a separate script
  • put checks for needed / conflicting oxps in separate script
  • switch from unbreakable equipment to loss of functionality when damaged
    suggested schema :
    every direct hit will reduce functionality by 20%
    since the presence / absence of shield booster and mil shields already influences SC performance, i don't see the need for functionality loss when they are damaged
    add repair option when docked, check with Thargoid if repairbots could handle partial repairs
  • add automatic shieldequalizer mode
  • add the capacitors from shieldequalizer, making sure they are compatible with other oxps
  • bigger capacitors, like in hardships oxp
  • relevant configure options for the new devices with oxpconfig
  • additonal start/stop function just for capacitors
release v1 ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.31 is out

Post by Lone_Wolf »

Version 0.31 released as OXP .
It needs some testing by players before i feel confident it can be released as OXZ.

changes :

- new function : b-key sets shieldcycler back to whatever the launch setting is
- optimizied & simplified code
- updated CCL / OxpConfig requirements
- added manifest.plist to oxp
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.31 is out

Post by Lone_Wolf »

While this thread is beginning to look as if i'm taking to myself :cry: , the 0.31 version has been downloaded 3 times since i put it on box.com yesterday.
So it does appear i have a few readers :) .
----------------------------------------------

I've been following / participating in the discussion about the OXZ format, and this has prompted me to think about switching to a new naming / versioning scheme for ShieldCycler.

My method is somewhat similar to that used by the linux kernel devs :
there will be a stable version that only gets bugfixes, and a development version (that in time will become the next stable version) .

My 0.30.3 version has been in use for a long time, got increased use when it was made into an oxz and there have been no bugreports.
The 0.31 version is a minor update, mainly a cleaned up version that takes advantage of Oolite 1.80 options.
Once it has had more playtesting & necessary bugfixes (if any) , 0.31.x will be re-released in OXZ-format with version number 1.0 .

Development will be done in a new oxp, called 'Shield Cycler Next' which will start at version 1.1 .
SC next will (atleast for the time being) only be available as oxp.
it will be savegame compatible with versions starting from 0.21.2 upto 1.0.x , but NOT with older versions.

Here's a new Todo list :

SC - Stable tree

playtesting of 0.31.x
re-release 0.31.x as Shield Cycler 1.0.0 in OXZ format

SC Next - Development tree

v1.10.0
  • use JSON for missionvar, include a new missonvar to keep track of missionvar setup changes
  • remove code for converting savegames pre-0.21.2
  • split off code for converting savegames to a separate script
  • split off checks for needed / conflicting oxps in a separate script
v1.11.0
  • switch from unbreakable equipment to loss of functionality when damaged
    suggested schema :
    every direct hit will reduce functionality by 20%
    since the presence / absence of shield booster and mil shields already influences SC performance, i don't see the need for functionality loss when they are damaged
  • add repair option when docked
v1.20.0
  • add automatic shieldequalizer mode
  • add capacitors from shieldequalizer, making sure they are compatible with other oxps
  • bigger capacitors, like in hardships oxp
  • additonal configure options (using OxpConfig) to work with the new devices
  • add start/stop functionality for capacitors
  • have SC next conflict with shieldequalizer+capicators oxp
v1.30.0
  • in-flight repair options
    Thargoid has told me he feels partial repairs don't fit in with the goal of repairbots. He has warned me about several potential problems, and urged me to keep them contained in my oxp at first due to these.
  • consider changing OxpConfig from optional dep to required dep
Edit :

numbering changed
Last edited by Lone_Wolf on Sun Aug 10, 2014 10:53 pm, edited 2 times in total.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Shield Cycler 0.31 is out

Post by Norby »

Very nice plan. :)
I think you should use 1.2, 1.3, etc. as version numbers of these new features due to the third number usually mean minor fixes only.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler 0.31 is out

Post by Lone_Wolf »

thanks, Norby.
You do make a valid point, but i don't want version numbers to climb up to fast.
(in my opinion Firefox made a bad choice increasing the version number every 6 weeks !)
Besides, these are intended as intermediary versions.
I'll switch to 2nd digit be incrementing in 10's.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: [RELEASE} Shield Cycler v1.0 is out

Post by Lone_Wolf »

Version 1.0 released in oxp & oxz format .

1.0
- added code to test for savegames created with 1.10+ (JSON)
- minor fix in equipment.plist
- license changed to CC-by-SA 4
- released as oxz & oxp

------------------------------------------------
SC next v1.10 is making good progress, i'm close to finishing the rewrite and start testing.

Lots of changes under the hood, and there is now a function that can be called by oxps that want npc ships to have a functional shieldcycler.
(the current implementation of shieldcycler in customshields.oxp uses a very simple model that shares little with the real shieldcycler).
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: [RELEASE] development version 1.10 is out

Post by Lone_Wolf »

development version 1.10 released

v1.10.
  • Major rewrite
  • code split over many (currently 9) script files instead of 2 to improve maintainability / flexibility.
  • objects are used to share information between scripts where possible
  • oxp disables itself if savegame to old or to new.
  • start/stop functionality changed
  • new option through oxpconfig to disable entire oxp
    (the options for pilots to disable Shield Cycler were limited and dependant on having certain equipment).
  • use JSON for missionvariables
  • add functionality for npc ships to use shield cycler
    (npc ships wanting to use this will need a custom ship script to give them shield functionality, an alternative would be to adjust customshields oxp to use this new functionality)
  • display device versions & damage level on F5+F5 screen
    (damage level won't change until 1.11.0 )
  • power loss for changing configuration was 2 * (nr_of_energybanks + 1) , this led to a ship with 8 banks loosing almost an entire bank of energy after just 3 changes.
    new formula : nr_of_energybanks + 5
  • added shipLaunchedEscapePod event
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: [RELEASE] development version 1.10 is out

Post by Diziet Sma »

The thread title needs fixing.. it no longer says what OXP the thread is about.. :wink:
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
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: [RELEASE] development version 1.10 is out

Post by Lone_Wolf »

Diziet Sma wrote:
The thread title needs fixing.. it no longer says what OXP the thread is about.. :wink:
Corrected, looks like i need to be more careful when posting just before heading to bed.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler new development version 1.10.1

Post by Lone_Wolf »

While playtesting with a brand new jameson, i found some small errors.

Shield cycler next 1.10.1 uploaded with those errors fixed.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler new development version 1.10.2

Post by Lone_Wolf »

found a few more bugs, uploaded new version 1.10.2 .
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Shield Cycler new development version 1.10.2

Post by Lone_Wolf »

Given the low amount of downloads of shield cycler next, i'm considering making it into an oxz and thus having 2 shieldcycler versions in the oxz manager.

I aslo realised that adding a shieldequalizer compatible mode will require me to combine timer & event methods, else it will not bear much resemblance to the original shieldequalizer.
I do have some ideas how to do that and intend to try it out with the in-flight repair functionality.

I also thought about the version numbering, and feel that it's best to link it to savegame format, below is my new plan.

SC Next - Development tree

v1.10.2

release as oxz

v1.11.x

switch from unbreakable equipment to loss of functionality when damaged
suggested schema :
every direct hit will reduce functionality by 20%
since the presence / absence of shield booster and mil shields already influences SC performance, i don't see the need for functionality loss when they are damaged
add repair option when docked
once stable, re-release as shieldcycler stable


v1.12.x

in-flight repair options
Thargoid has told me he feels partial repairs don't fit in with the goal of repairbots. He has warned me about several potential problems, and urged me to keep them contained in my oxp at first due to these.

v1.2x.y

update savegame format
add automatic shieldequalizer mode
add capacitors from shieldequalizer, making sure they are compatible with other oxps
bigger capacitors, like in hardships oxp
additonal configure options (using OxpConfig) to work with the new devices
add start/stop functionality for capacitors
have SC next conflict with shieldequalizer+capicators oxp
consider changing OxpConfig from optional dep to required dep
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
Post Reply