Page 97 of 135

Re: Progress

Posted: Mon Feb 17, 2014 2:27 pm
by Cody
The new sun-stare glare has a nice effect up close - I like it:

Image

Re: Progress

Posted: Tue Feb 18, 2014 5:37 pm
by kanthoney
In tonight's build...

Tired of being jumped by pirates because your scanner was zoomed in and you didn't see them? Want to zoom in on a close adversary in a dogfight without losing track of more distant ships? Then you need the new nonlinear scanner!

Based on captured Thargon technology, and extensively re-engineered by Faulcon de Lacy skunkworks division so you don't need compound eyes to use it, the nonlinear scanner is the answer to every pilot's scanning problems.

Here's how it works. In the below screenshot I've just zapped an asteroid, and want to zoom in on the splinters to scoop them up.

Image

Normally, I'd lose track of the ship lurking in the corner of my scanner. Not with the nonlinear scanner:

Image

The ship is pushed towards the edge of the scanner, but is still visible on it.

I've also added an option to change the zoom levels from a boring 1-5:1 to a choice of 1:1, 2:1, 4:1, 8:1 or a massive 16:1.

These options are disabled by default, and I don't actually know how to enable them as another_commander has changed that bit since I wrote this. :( He should be along later to explain how. Something to do with scripting.

I'd like to point out I wrote this before I saw the one in Elite: Dangerous. I think that Braben guy should use his own ideas instead of nicking everyone else's :lol:

Re: Progress

Posted: Tue Feb 18, 2014 5:51 pm
by another_commander
Regarding enabling the non-linear scanner: We now have two new Javascript player ship properties, which are boolean and read/write: player.ship.scannerNonLinear and player.ship.scannerUltraZoom. The first sets or unsets the linearity of the scanner, while the other chooses between standard 1:1, 2:1, 3:1, 4:1, 5:1 and enhanced 1:1, 2:1, 4:1, 8:1, 16:1 zoom sets. Use in the standard way in scripts:

Code: Select all

player.ship.scannerNonLinear = true/false;
player.ship.scannerUltraZoom = true/false;
In addition to this, the scanner non-linearity and zoomability can take default values from the hud.plist settings scanner_non_linear and scanner_ultra_zoom. In the standard game we have them both set as false to have an initial unchanged scanner behaviour, but you can adjust this as you see fit. Any combination of the two settings is possible, although I personally quite like the result when both are set to true.

Re: Progress

Posted: Tue Feb 18, 2014 6:14 pm
by kanthoney
I like the effect of torus driving through an asteroid field with this on. The asteroids look as though they're taking evasive action around your ship, which is quite cool. But then I'm easily pleased!

Re: Progress

Posted: Tue Feb 18, 2014 6:24 pm
by Astrobe
another_commander wrote:Regarding enabling the non-linear scanner: We now have two new Javascript player ship properties, which are boolean and read/write: player.ship.scannerNonLinear and player.ship.scannerUltraZoom. The first sets or unsets the linearity of the scanner, while the other chooses between standard 1:1, 2:1, 3:1, 4:1, 5:1 and enhanced 1:1, 2:1, 4:1, 8:1, 16:1 zoom sets. Use in the standard way in scripts:

Code: Select all

player.ship.scannerNonLinear = true/false;
player.ship.scannerUltraZoom = true/false;
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.

Also, I don't see the sun glare effect (oolite-trunk-1.79.0.cdb9004-dev.x64).

Re: Progress

Posted: Tue Feb 18, 2014 7:13 pm
by Cody
The sun-glare is fine here. <dons sunglasses>

Re: Progress

Posted: Tue Feb 18, 2014 8:00 pm
by another_commander
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.
Also, I don't see the sun glare effect (oolite-trunk-1.79.0.cdb9004-dev.x64).
Please try without any OXPs and, if it still doesn't work, post a topic in Testing and Bug Reports with the following information:
- Latest.log from start till the point of listing OpenGL supported extensions.
- Location in the game (galaxy and planet).
- Screenshot showing the sun directly (or almost directly) ahead of you.

The sun glare decreases with distance (slowly, but steadily). If you use OXPs that put the suns really far away, it is possible that you may not be able to see the glare. The effect is also set to become almost insignificant the deeper you go into the atmosphere. So make sure that you are close enough to the sun and not close enough to the planet to be sure to witness the effect when turning to face the sun. Also note that external views don't show glare at this time, you have to be in one of the internal views to see it.

Re: Progress

Posted: Tue Feb 18, 2014 8:18 pm
by Cody
another_commander wrote:If you use OXPs that put the suns really far away, it is possible that you may not be able to see the glare.
I'm using a tweaked version of Kaks' old Far Sun OXP, and the glare is detectable from within the aegis.

Re: Progress

Posted: Wed Feb 19, 2014 3:49 am
by Diziet Sma
Cody wrote:I'm using a tweaked version of Kak's old Far Sun OXP
<ears prick up>
Tweaked? Please add it to this thread.. :wink: :mrgreen:

Re: Progress

Posted: Wed Feb 19, 2014 4:02 am
by Diziet Sma
Astrobe wrote: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.
This would be a better solution for that..

Using SymLinks under Windows

Re: Progress

Posted: Wed Feb 19, 2014 10:26 am
by Zireael
Updated Oolite and I'm loving it. The new planets look spiffy and so does the sun glare!

EDIT: Let's not forget the manage expansions thingy!

Re: Progress

Posted: Wed Feb 19, 2014 12:36 pm
by Cody
The non-linear, ultra-zoom, scanner thingy is cool - I like!

Re: Progress

Posted: Wed Feb 19, 2014 1:15 pm
by Pleb
Cody wrote:The non-linear, ultra-zoom, scanner thingy
That's very technical of you, Cody! :P :lol:

Re: Progress

Posted: Wed Feb 19, 2014 8:49 pm
by Cody
Pleb wrote:That's very technical of you, Cody!
Thank you kindly, sir! A long time ago, in a galaxy far, far away... I had a fully-functional, technical-type brain. Alas, 'tis no more!

Re: Progress

Posted: Sat Feb 22, 2014 10:11 am
by Astrobe
another_commander wrote:
Also, I don't see the sun glare effect (oolite-trunk-1.79.0.cdb9004-dev.x64).
Please try without any OXPs and, if it still doesn't work, post a topic in Testing and Bug Reports with the following information:
- Latest.log from start till the point of listing OpenGL supported extensions.
- Location in the game (galaxy and planet).
- Screenshot showing the sun directly (or almost directly) ahead of you.

The sun glare decreases with distance (slowly, but steadily). If you use OXPs that put the suns really far away, it is possible that you may not be able to see the glare. The effect is also set to become almost insignificant the deeper you go into the atmosphere. So make sure that you are close enough to the sun and not close enough to the planet to be sure to witness the effect when turning to face the sun. Also note that external views don't show glare at this time, you have to be in one of the internal views to see it.
Oh, I missed the Test and Bug Reports board. Sorry about that.

I retried with a fresh and clean trunk today. I can indeed see the sun glare. Next I tried with distant suns OXP, which I thought was the most likely culprit, but it still works with it.