Target Autolock OXP

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

Moderators: winston, another_commander

User avatar
Digital86
Competent
Competent
Posts: 34
Joined: Thu May 08, 2014 8:47 am

Re: Target Autolock OXP

Post 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.
My English is very poor.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Target Autolock OXP

Post 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.
User avatar
Digital86
Competent
Competent
Posts: 34
Joined: Thu May 08, 2014 8:47 am

Re: Target Autolock OXP

Post by Digital86 »

It is Sorry, unclear that it was.
Now everything is bought correctly. Repeated purchases aren't present more.
My English is very poor.
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: Target Autolock OXP

Post 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.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Target Autolock OXP

Post 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).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: Target Autolock OXP

Post 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.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
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: Target Autolock OXP

Post by Diziet Sma »

I'd vote option B, I think.. I kind of see the TAP as a software upgrade for the STE.
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: Target Autolock OXP

Post by Lone_Wolf »

Cody, i've had the sudden disappearance of TAP happen several times before, but never looked into it and just bought a new one asap.

The current removal of TAP when STE gets damaged is not mentioned anywhere in the oxp description / readme, so it's confusing and players will wonder why they suddenly have no more TAP functionality.

Also if you read the entire thread, Thargoid indicated there were 2 things he was considering to add to TAP :
- on/off switch
- allowing the user to choose which colors to use for the lollipop.

So i'd say there are good reasons for a new TAP version.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Target Autolock OXP

Post by Cody »

Yes, the on/off switch is something I wanted (but had forgotten) - it would be a handy addition.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
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: Target Autolock OXP

Post by Lone_Wolf »

Plans for next version

- make autolock indestructible, but non-functional without STE (option B in my earlier post).

- allowing user to choose display colors : postponed

- on/off switch
there are 2 places in game where this can be implemend :
Docked - can be done through oxpConfig

In Flight
can do this by making TAP primable, but there are many oxps using that already
an alternative would be to introduce a "missile" item that changes TAP status

The missile item could be one-shot, or take up a missile slot permanently.

Both inflight options have advantages & disadvantages, but i don't know other options to achieve this.

Thoughts ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Target Autolock OXP

Post by Cody »

I'd prefer TAP to be primable kit - quick and easy.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
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: Target Autolock OXP

Post by Lone_Wolf »

Primable on/off switch it is then, and it will be persistent between savegames.

While working on TAP i noticed that if a ship attacks player with missile, TAP does nothing.
Should it also autolock such an attacker ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Target Autolock OXP

Post by Cody »

Lone_Wolf wrote:
Should it also autolock such an attacker ?
My initial thinking is no, it shouldn't - but I'll have to ponder on that.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

[RELEASE]Target Autolock Plus OXP v1.13

Post by dybal »

[EliteWiki] Target Autolock OXP v1.13 is available on the Expansion Manager and here.

Changes
  • Updated license to remove the "Thargoid clauses" after Thargoid allowed modification when retired from maintaining his OXps (viewtopic.php?f=4&t=17085).
  • Discards the use of a mission variable to indicate the equipment installation in the player ship and keeps the purchased equipment.
  • Resets the highlighting of the target in the scanner if Scanner Target Enhancement is damaged.
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

[RELEASE]Target Autolock Plus OXP v1.13

Post by dybal »

[EliteWiki] Target Autolock OXP v1.14 is available on the Expansion Manager and here.

Changes
  • Fixes typo that prevented resetting scanner when target is lost
  • Some optimizations to avoid repeatedly setting up the target scanner display colours.
Thanks to Nite Owl for the heads up on the typo!
Post Reply