Page 5 of 7

Re: Target Autolock OXP

Posted: Tue Mar 27, 2012 11:43 am
by Lone_Wolf
While TAP+ is useful, at times it can be so annoying that i remove it (and re-add later).

The main problem i have with it is when i am fighting several ships at once, and the first one that attacks is not the target i want to focus on at that time.
To get the target i want, i often have to use the u-key repeatedly.

Since there are already many oxps that use Shift+n/n , maybe the u-key can be used as a switch to enable/disable TAP+ ?

-----------------------
In a previous post you mentioned it was your intention to make the scanner colors configurable through OxpConfig once this was possible.
I think it is now possible, do you still intend to change this ?

Re: Target Autolock OXP

Posted: Tue Mar 27, 2012 2:07 pm
by Cody
Lone_Wolf wrote:
a switch to enable/disable TAP+ ?
This would be very handy.

Re: Target Autolock OXP

Posted: Tue Mar 27, 2012 7:44 pm
by Thargoid
El Viejo wrote:
Lone_Wolf wrote:
a switch to enable/disable TAP+ ?
This would be very handy.
Indeed it would, but unfortunately not possible (aside from the n/shift-n as already noted, too overcrowded). Simpler is probably just to leave the lock in place until you get your sights on the target you actually want, and only then press u followed by t or r.

If the player ship already has a target then TAP+ won't do anything.

Re: Target Autolock OXP

Posted: Wed Mar 28, 2012 2:59 pm
by Svengali
Lone_Wolf wrote:
In a previous post you mentioned it was your intention to make the scanner colors configurable through OxpConfig once this was possible.
I think it is now possible, do you still intend to change this ?
I think it's not really easy to achieve this with the current version of OXPConfig, specially if you want to do this for more than a few colors. I could add some functionality to OXPConfig to adjust let's say 20 settings for scanner colors which are stored in an array (and maybe additional as mV). OXPs could pick up this array (or the mV) and users can adjust the colors if they want through the GUI in OXPConfig. This way different OXPs could use the same color schemes.

Re: Target Autolock OXP

Posted: Wed Mar 28, 2012 5:24 pm
by Thargoid
The script is configured so that you only need to change a couple of variables to change the colours (there are two variables, one for each colour). That's as close as I could come to this kind of configurability - as Svengali says doing it in any other more graphical way gets complex.

Re: Target Autolock OXP

Posted: Fri Mar 30, 2012 1:26 pm
by Lone_Wolf
Thargoid wrote:
The script is configured so that you only need to change a couple of variables to change the colours (there are two variables, one for each colour). That's as close as I could come to this kind of configurability - as Svengali says doing it in any other more graphical way gets complex.
Check latest OxpConfig version, svengali implemented a mechanism for color choosing.

Re: Target Autolock OXP

Posted: Fri Mar 30, 2012 3:33 pm
by Svengali
Lone_Wolf wrote:
Thargoid wrote:
The script is configured so that you only need to change a couple of variables to change the colours (there are two variables, one for each colour). That's as close as I could come to this kind of configurability - as Svengali says doing it in any other more graphical way gets complex.
Check latest OxpConfig version, svengali implemented a mechanism for color choosing.
Capt. Murphy just reminded me that it's a trunk only version as it uses a HUD to display additional infos (uses equipment_required in legends) on different screens... so v2.0.8 is online too.

Re: Target Autolock OXP

Posted: Fri Mar 30, 2012 5:43 pm
by Thargoid
Lone_Wolf wrote:
Check latest OxpConfig version, svengali implemented a mechanism for color choosing.
I know. Unfortunately life's busy at the moment, so this will at best be "soon".

Re: Target Autolock OXP

Posted: Fri May 16, 2014 8:33 am
by Digital86
I found a bug.
The equipment (Target Autolock Plus 1.12.oxp) is bought infinitely. And though actually it is bought, in the list of purchases it isn't visible.
My version 1.77.1
Well as a whole the device works.

Re: Target Autolock OXP

Posted: Fri May 16, 2014 9:56 am
by Thargoid
It is a software upgrade for the scanner targeting enhancement, so will not show on the equipment list separately (by design). When bought it sets a variable in your save file which should block its repurchase.

When first bought it should set a variable to prevent repurchase. I'll check later if that has somehow broken.

Also can you look in your save game file and search for <key>mission_targetAutolock</key>. If it is there, tell me whether below it the value between the <string></string> tags.

Re: Target Autolock OXP

Posted: Fri May 16, 2014 11:41 am
by Digital86
It is Sorry, unclear that it was.
Now everything is bought correctly. Repeated purchases aren't present more.

Re: Target Autolock OXP

Posted: Fri Dec 05, 2014 8:26 pm
by Lone_Wolf
During playing i noticed that when "Scanner Targeting Enhancement" is damaged, autolock is removed also.

There is no message this happens, you will only notice in your next fight the autolock functionality is no longer present.
When the STE is repaired / re-bought the autolock functionality doesn't come back.

You will need to visit a tech 14+ planet to buy it again.

some ways to deal with this :
A. keep current behaviour, but add a console & log message about the removal.
A1. same as A, but lower tech level (f.e. TL 12 like the STE) for autolock device so it's easier to get it back.
B. make autolock indestructible, but non-functional without STE.

All of those require code changes.
However, Thargoid has indicated he is no longer maintaining his oxps (https://bb.oolite.space/viewtopic.php?f=2&t=16957) , so someone else needs to step up.

I could takeover this oxp (it has never left my oolite installation since i found it), but would like to have opinions of others which path to take before i take over.

Re: Target Autolock OXP

Posted: Fri Dec 05, 2014 8:33 pm
by Cody
TAP has been in my AddOns folder for over five years - one of the first OXPs I installed...
Lone_Wolf wrote:
A. keep current behaviour, but add a console & log message about the removal.
... and I'd go with this (if it has to be changed at all, that is).

Re: Target Autolock OXP

Posted: Fri Dec 05, 2014 8:42 pm
by Fatleaf
I would also put a note in the description that warns the player that it can be destroyed so they know what's going on and that it's a feature and not a bug.

Re: Target Autolock OXP

Posted: Sat Dec 06, 2014 1:33 am
by Diziet Sma
I'd vote option B, I think.. I kind of see the TAP as a software upgrade for the STE.