Page 1 of 7

Target Autolock OXP

Posted: Tue Apr 21, 2009 4:52 pm
by Thargoid
As I was bored, just thought it'd tinker with a little bit of code that people may find useful.

It's an add-on software upgrade to the scanner targeting enhancement equipment, and is designed to automatically lock onto any vessel attacking your ship if you don't already have a target lock on something. Useful for those of the bounty hunting profession who have racked up some enemies, or for the poor Commander in the anarchy system who is prone to ambush.

It requires the scanner targeting enhancement to be fitted of course, and is available for a mere 200Cr from all good tech level 13+ planets.

- - = Download Target Autolock here = - -

Posted: Tue Apr 21, 2009 4:59 pm
by pagroove
Always nice to see this kind of upgrades :)

Re: Target Autolock OXP v1.00 - New Release

Posted: Tue Apr 21, 2009 5:49 pm
by ClymAngus
That just made turrets a whole lot more useful :)
Thargoid wrote:
As I was bored, just thought it'd tinker with a little bit of code that people may find useful.

It's an add-on software upgrade to the scanner targeting enhancement equipment, and is designed to automatically lock onto any vessel attacking your ship if you don't already have a target lock on something. Useful for those of the bounty hunting profession who have racked up some enemies, or for the poor Commander in the anarchy system who is prone to ambush.

It requires the scanner targeting enhancement to be fitted of course, and is available for a mere 200Cr from all good tech level 13+ planets.

- - = Download Target Autolock v1.00 here = - -

Posted: Tue Apr 21, 2009 5:53 pm
by pleb87
Ah excelent, i will be downloading this at once :D 8)

Posted: Tue Apr 21, 2009 6:08 pm
by Thargoid
I just realised I uploaded a slightly old version :oops:. It still works, but it will try to lock onto cloaked ships and will make a scrolling mess of text on the screen.

I've now uploaded the correct version which deals with that. So if the 3 of you who have grabbed it so far can download again please (same URL).

Re: Target Autolock OXP v1.00 - New Release

Posted: Tue Apr 21, 2009 6:49 pm
by Screet
ClymAngus wrote:
That just made turrets a whole lot more useful :)
...and dangerous for the player! I once became fugitive because I had a target lock on the space bar and it became hostile for a brief amount of a second. The turrets returned fire and gone was my clean rating. I guess that would happen far easier with auto-lock!

Screet

Posted: Tue Apr 21, 2009 10:06 pm
by goran
Interesting thing happened after I killed all enemies in range:

Image

Happened only once, though.

Posted: Tue Apr 21, 2009 10:21 pm
by pleb87
gorans wrote:
Interesting thing happened after I killed all enemies in range:

Image

Happened only once, though.
Is that a . or a ,? If thats a , then thats some powerful scanners you've got there. "Divert power from the warp engines to the deflector!"

Posted: Wed Apr 22, 2009 4:05 am
by Screet
pleb87 wrote:
gorans wrote:
Interesting thing happened after I killed all enemies in range:
Happened only once, though.
Is that a . or a ,? If thats a , then thats some powerful scanners you've got there. "Divert power from the warp engines to the deflector!"
I've had such scanner readings with the trunk version, too and without that oxp installed. It seldom happens, just as the "locked on to: nil" thing right after launch ;)

Screet

..

Posted: Wed Apr 22, 2009 5:14 am
by Lestradae
A good one, Thargoid, again :D

Posted: Wed Apr 22, 2009 8:49 am
by Diziet Sma
Cool! I've been thinking of something similar to this myself, but don't yet have enough knowledge to try coding my own OXP. Many thanks, Thargoid!

What got me thinking was the description in Status Quo, how a number of times Rebecca locks the ident computer onto ships shown on the scanner, without any need to manoeuvre the Boa to pass the target through the laser sights.. as a few other posters have mentioned, Oolite is really crying out for something like this, and the Target Autolock is a step in the right direction. I'm looking forward to the Mk.II version already!

Posted: Wed Apr 22, 2009 9:34 am
by Micha
We had a discussion about an advanced targetting system which could just cycle through all objects within scanner range but I believe it was voted down due to fears it would make the game too easy.

Ideally if such a system were to exist, you should be able to lock it into different modes - combat (cycle through hostiles), Ships (cycle through ships), ID (cycle through everything), scavenge (cycle through scoopables), etc.

Posted: Wed Apr 22, 2009 9:46 am
by Screet
About the target locks - did you ever hit the key right from "0" on your keyboard? If I do that, it appears to switch/cycle through previous target locks, if those ships are still around! I did not notice that on any keyboard description...

Screet

Posted: Wed Apr 22, 2009 9:52 am
by another_commander
This has been almost forever in the game, and is mentioned in the wiki and the new Reference Sheet:
+ -:Cycle to next / previous target.

Posted: Wed Apr 22, 2009 10:20 am
by Micha
another_commander wrote:
This has been almost forever in the game, and is mentioned in the wiki and the new Reference Sheet:
+ -:Cycle to next / previous target.
Isn't that for the Target Memory? And if so, you have to have previously locked onto a target to put it into the TM..