Sun Gear

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

Moderators: winston, another_commander

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Mon Feb 04, 2019 10:53 pm

Sun Gear 3.9.0 - fixed error in name of variable, preventing display sun spectrum on F7 System info page.
Issue with DH ANC compatibility is not fixed yet, planned to next update.

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Tue Feb 05, 2019 1:03 pm

Replacing colors of all Zaonce neighbors in 7 LY radius to RGB values - no errors after ANC activation, sun color error after jump to Lave. It is logical: after jump new systems with problem HSB colors will enter 7 LY radius.
So the next logical step is complete refactoring of all 2048 entries in planetinfo.plist.
Seems we have solution.
Just for curiosity: what is reason to use color values of suns in 7 LY radius to initiate ship re-orientation before hyperjump?

User avatar
phkb
Commodore
Commodore
Posts: 2433
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Sun Gear

Post by phkb » Tue Feb 05, 2019 9:49 pm

stranger wrote: what is reason to use color values of suns in 7 LY radius to initiate ship re-orientation before hyperjump?
The color of the "star" visual effect displayed when the jump starts, at the centre of the target brackets, is toned to be correct for the actual destination sun color.

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Tue Feb 05, 2019 10:09 pm

The simplest answer is sometimes right answer :D
My assumes were - color numbers used as input values to generate pseudo-random vector direction for ship-reorientation or so.
Thanks!

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Wed Feb 06, 2019 11:19 pm

Sun Gear 4.0.0

Sun database rewritten. Sun colors declared in RGB color space.
Fixed issue with DH ANC.

User avatar
Damocles Edge
Deadly
Deadly
Posts: 221
Joined: Thu Mar 30, 2017 9:57 pm

Re: Sun Gear

Post by Damocles Edge » Fri Feb 08, 2019 8:19 pm

Not sure how others have fared with 4.0.0 but I have found that although it fixed the previous issue with Advanced Nav Comp, the new version plays a little sluggishly and I also found quite pronounced stuttering of the forward view when torus drive is engaged.
This also did some very strange things with the estimated travel time in my navigation MFD which continually fluctuates up and down :?
I have kept the Latest.log from this session in the hope that it may yield some clues as to what may be going on, I can upload this to my MEGA account and send a link if you are interested in looking at it?
O.C.T.D (Oolite Crash Test Dummy) Hmm Hmm Hmm Hmm......

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Fri Feb 08, 2019 10:25 pm

@Damocles Edge
Looking your latest.log would be interesting in any case. Maybe there are some OXPs potentially conflicting with Sun Gear in your game configuration. Not sure I'll find it, but without latest.log we have no any useful info.
Estimated time en-route (ETE) based on assumption of constant Torus velocity = 32 * player.ship.maxSpeed. AFAIK since Oolite 1.80 space is flat far beyond Sun Gear redefined scale, but maybe there are some non-linear effects in proximity of sun or planets. Hope another_commander will provide more detailed answer. I'm using Warp Drive, integrating onto Hard Way, to modify player.ship.maxSpeed during cruise on Torus. So recalculating ETE values are part of game for me. Think in terms of jet currents, influencing ETE of air liners on trans-oceanic lanes.
Hmm... are you using Norby's Torus to Sun? It will give described picture - "framed" flight on Torus and ETE floating readings.

@another_commander
Reading in EliteWiki, Planetinfo.plist
Sun radius - a number between 1000 and 1000000.
Remembering it was the same for Oolite 1.77.
Is upper limit is actual yet? My largest suns in Sun Gear are up to 1 060 000. Is it technically safe?

User avatar
Damocles Edge
Deadly
Deadly
Posts: 221
Joined: Thu Mar 30, 2017 9:57 pm

Re: Sun Gear

Post by Damocles Edge » Sat Feb 09, 2019 12:23 am

stranger wrote:
Fri Feb 08, 2019 10:25 pm

Hmm... are you using Norby's Torus to Sun? It will give described picture - "framed" flight on Torus and ETE floating readings.
Yes I am.


I have also sent you a pm containing a link to the Latest.log file.

Cheers
O.C.T.D (Oolite Crash Test Dummy) Hmm Hmm Hmm Hmm......

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Sat Feb 09, 2019 12:38 am

Damocles Edge wrote:
Sat Feb 09, 2019 12:23 am
stranger wrote:
Fri Feb 08, 2019 10:25 pm

Hmm... are you using Norby's Torus to Sun? It will give described picture - "framed" flight on Torus and ETE floating readings.
Yes I am.
Bingo!
In vanilla systems distance between main planet and sun can be too low to notice "framed" motion. Torus to Sun intended to explore vast solar systems.

Hard Way is a bit too radical for casual gamer, but it has Warp Drive with smooth Torus flight.
Plan to convert it onto OXZ later.

Thanks for feedback!

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5397
Joined: Wed Feb 28, 2007 7:54 am

Re: Sun Gear

Post by another_commander » Sat Feb 09, 2019 9:41 am

stranger wrote:
Fri Feb 08, 2019 10:25 pm
@another_commander
Reading in EliteWiki, Planetinfo.plist
Sun radius - a number between 1000 and 1000000.
Remembering it was the same for Oolite 1.77.
Is upper limit is actual yet? My largest suns in Sun Gear are up to 1 060 000. Is it technically safe?
The system setup code contains this:

Code: Select all

// clamp the sun radius
if ((sun_radius < 1000.0) || (sun_radius > sun_distance / 2  && !sunGoneNova))
{
	OOLogWARN(@"universe.setup.badSun",@"Sun radius of %f is not valid for this system",sun_radius);
	sun_radius = sun_radius < 1000.0 ? 1000.0 : (sun_distance / 2);
}
So it is basically bigger than 1000 but how big depends on the planet-sun distance and it can't be more than half of it. In any case you get a log warning if you try to exceed any limits and the game will clamp the value after warning you anyway. Technically you should be safe.

As for the other question about torus speed, it is a variable one. Once the nearest object to player goes beyond 4 x scanner range, torus speed factor starts increasing from its standard value of 32. The increase is given by the formula hyperspeedFactor = 32 * sqrt(distanceOfNearestObject/(4*ScannerRange)) and has a cap of 1024.

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Sat Feb 09, 2019 10:10 am

@another_commander

Thank you for explanation! This is valuable info.
I has observations that travel time on Torus is less than calculated from 32 * player.ship.maxSpeed. Now I have confirmation.

User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 926
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Re: Sun Gear

Post by Cmd. Cheyd » Sun Mar 03, 2019 8:54 am

Sounds like a fun OXZ. Interesting to see folks still use ANC. :)

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Wed Apr 17, 2019 10:06 am

Sun Gear 4.1.0

Improved function of rough calculation of main planet temperature (still have some discrepancy with more complex calculation of planet temperature by Planet Engine).
Really not critical improvement - rough formula is used only to select main planet texture in my OXP not presented yet.

User avatar
stranger
Deadly
Deadly
Posts: 147
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Sun Gear

Post by stranger » Tue Apr 23, 2019 8:21 am

Sun Gear 4.2.0

Tweaking runaway greenhouse trigger in PlanetEngine - effect leading to transition Earth-like planets onto hellish Venus like planets with superdense overheated atmospheres.
Runaway greenhouse effect is never realized for main planet, but it has influence on appearance and properties of Terra class planets in Planetary Systems.

Post Reply