Sun gazing for EVERYONE! (not just the player)

Post » Thu Jun 04, 2015 5:22 pm

So at this point the only way to handle this is to put a marker in the sky at the sun's position and update this every hour using the sun position xyz functions.

see here: http://www.creationkit.com/GetSunPositionZ_-_Game

I would love to not do this however, is there a "SUN" reference that I can use instead of adding a marker? I mean there MUST be one if you can get the XYZ position right? If I could find the sun ref I could do a Line of Sight on the rare times I need this and not run the sun marker script every hour.

I looked thru the CK for all forms with the word sun and only found one for the black reach.

User avatar
Kelsey Anna Farley
 
Posts: 3433
Joined: Fri Jun 30, 2006 10:33 pm

Post » Thu Jun 04, 2015 4:17 pm

As far as I know, there isn't a reference for the Sun.

I was looking into this a while ago, and could not find anything--but then I could not even get the XYZ positions to work the way I wanted (for some reason, the marker was always registering as being in Cell Tamriel 0 0, and I couldn't get a Line of Sight on it... I'd be interested to know how you got that working?

My guess is that the Sun's position is somehow controlled through the Weather/Climate (the one that controls Sunrise/Sunset) and then extrapolated from there, rather than being a physical object which is moved; looking at the conditionals, that seems accurate--if memory serves the... Dawnguard Bow... checks for 'Is Sun Gazing' or similar, to determine whether to apply its effect, rather than the arrow hitting a physical object.

User avatar
Mizz.Jayy
 
Posts: 3483
Joined: Sat Mar 03, 2007 5:56 pm

Post » Fri Jun 05, 2015 12:06 am

oh...rats... I did not mean that I had already done this. I just thought it was so straight forward per the Wiki that it would work "no problem".

I guess I will be doing this then the same way I did it in oblivion. I put a marker in the sky and position it with "canned" coordinates depending on the time of day. I achieved the canned positions with dozens of hours of trial and error. I am not looking forward to doing that again.

mmm..I wonder how much of my oblivion work I could reuse?

Problem is I do not remember if the sun position changed per the time of year only the time of day (in Oblivion).

User avatar
des lynam
 
Posts: 3444
Joined: Thu Jul 19, 2007 4:07 pm


Return to V - Skyrim