Non-linear scanner

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Non-linear scanner

Post by spara »

Would it be possible to make the scanner reflect the scanner_non_linear setting in the hud.plist? So that the ticks would be denser when closer to the edge of the scanner and more apart in the center.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Non-linear scanner

Post by another_commander »

Isn't that already the case? I am seeing logarithmic scaling when the scanner is switched to non-linear.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Non-linear scanner

Post by spara »

Ah. Misunderstood, sorry. I thought it would make the 1:1 non-linear too. Zoom in and it works like a charm. Brilliant. Loving it.
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: Non-linear scanner

Post by Cody »

You had me scratching my head for a minute or two there, spara. You got the ultra zoom too, yes?
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
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Non-linear scanner

Post by spara »

Cody wrote:
You got the ultra zoom too, yes?
I sure do. I've always really only needed the 5:1 zoom and the 1:1 zoom. Ultra zoom takes care of that and goes even beyond. Combined these are invaluable when mining asteroids. Splinters are much easier to scoop with the ultra zoom and the non linear scanner helps to keep the bearing. These are such an improvement, that I'll probably be defaulting them in my Aad-hud.
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: Non-linear scanner

Post by Cody »

spara wrote:
These are such an improvement, that I'll probably be defaulting them in my Aad-hud.
Aye, they're built-in to my personal Fighter Hud now. I use x4 mostly, and kinda wish the setting would persist through jumps etc.
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
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: Non-linear scanner

Post by Diziet Sma »

Cody wrote:
spara wrote:
These are such an improvement, that I'll probably be defaulting them in my Aad-hud.
Aye, they're built-in to my personal Fighter Hud now. I use x4 mostly, and kinda wish the setting would persist through jumps etc.
This would be a nice feature for the next round of development..
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
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: Non-linear scanner

Post by Cody »

Diziet Sma wrote:
This would be a nice feature for the next round of development..
<nods> It would be handy - as would the compass target persisting through jumps too.
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
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: Non-linear scanner

Post by Diziet Sma »

another_commander wrote:
Astrobe wrote:
Where can I insert these lines? I'd like not to alter a script in AddOns, as I've moved oolite-trunk.app in my standard Oolite folder in order to benefit from the already-installed OXPs.
If you just want to activate the feature, the easiest way would probably be to use hud.plist. Inside your AddOns, make a folder named Config and paste your active HUD's plist there. Then add

Code: Select all

scanner_non_linear = yes;
scanner_ultra_zoom = yes;
at the bottom of the plist, then restart the game and you should be able to have the new scanner functionality.
I'm trying to get this working in the NumericHUD3 OXZ, and not having any luck. I've tried adding it to the hud.plist and numerichudv3.plist files, but no joy so far.. any suggestions? Am I missing something?
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
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: Non-linear scanner

Post by Norby »

Diziet Sma wrote:

Code: Select all

scanner_non_linear = yes;
scanner_ultra_zoom = yes;
at the bottom of the plist
But before the last } - working well for me in numerichudv3.plist.
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: Non-linear scanner

Post by Diziet Sma »

Thanks! That did the trick..

I'd suggest updating the OXZ, so that those entries are already in the plist, but set to "no", as is the case with the default HUDs.
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
Post Reply