SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-03-13, 09:40 AM   #1
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,148
Downloads: 910
Uploads: 0
Default (REQ) for Cel Nav Scope

For the Cel Nav enthusiast, is there a way to Mod the MaGui F or any Obs scope to have a movable (rotatable with mouse wheel or up/down cursor keys) vertical 0 to 90° angle indicator installed alongside the viewer lens as I've drawn on this snap?


Uploaded with ImageShack.us

You Moders are extraordinary in your magic. My thinking was to be able to see the angles of elevation rotate as the player scans up or down. It's my belief, this addition would allow the Navigation enthusiast to read celestial bodies' Altitudes, allowing for enhanced realism.

Edit: This would be an addition to the horizon compass card above the lens.

Thank you for all your endeavors.
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell
don1reed is offline   Reply With Quote
Old 04-03-13, 10:05 AM   #2
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 5,991
Downloads: 109
Uploads: 2


Default

I can only think of two ways to do it:

The first one is unfortunately too complicated. It would involve editing the 3D model of the periscope head to put there a vertical degree scale, then edit the mask in the 2D view letting it show the scale on the side, as you proposed in your picture.

The second one is easier, but I can't tell for sure how it would work with celestial navigation. It would involve adding a 3rd zoom level to the scope with a very large aperture angle for the lense, and a 2D vertical degree scale (Draggable or that appears with a click). This would allow you to actually see at the same time horizon, sky and the degree scale to measure the angle subtended between horizon and stars. It would cause a sort of fish-eye view, but should work.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 04-03-13, 03:11 PM   #3
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,148
Downloads: 910
Uploads: 0
Default

I see your point, Hitman, but what I was thinking about is keeping it simpler with the current level of max zoom @ 6x as it currently is. Having the horizontal cross-hair at sea level at 0° then as the player rotates the view upward toward the celestial body, the degrees would increase until the lower-limb of sun/moon is reached, for example.
Another example for illustration, that comes readily to mind is: Observing the Sun at noon while on the Equator, the Sun should be at our Zenith and reading 90°.

If the zero line is slightly above or below the wet horizon, the player would figure in Index Correction (I.C.) error, as in real life.

IDK, I'm just spit-ballin' here.
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell

Last edited by don1reed; 04-03-13 at 03:32 PM.
don1reed is offline   Reply With Quote
Old 04-04-13, 07:07 PM   #4
LemonA
Lieutenant
 
Join Date: Jan 2012
Posts: 252
Downloads: 66
Uploads: 0
Default

Give us an example how you get a position fix (error +- 10nm) from the celestial SH3 bodies if you can measure the SH3 stars with good accuracy.
__________________
Robert Schmidt, LTJG
U-43
LemonA is offline   Reply With Quote
Old 04-04-13, 09:35 PM   #5
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,148
Downloads: 910
Uploads: 0
Default

At present, LemonA, I don't know of an accurate system of measuring the in-game celestial dome; however, the Phython/Stellarium stand-alone navigation programs is a very accurate method; however, tedious to use. The Player must save/exit the game in order to auto-update the Sub's position in the My Documents/SH3 or SH4 files.

My thought about using the Observation scope as a stand-in sextant, was to hopefully improve upon that accuracy. If the moders could design a rotatable, vertical altitude gauge, capable of displaying 10ths of a degree between 0° and 90°, experimentation could reveal how accurate the in-game celestial dome really is.

Edit: If the Game's celestial dome is an accurate rendition, then standard cel nav procedures could be implemented, i.e.,calibrate I.C., measure the altitude of three or more objects with ITC (GMT),, using 1939-1945 almanacs and either HO 211, HO 249, or HO 229 tables for sight reduction. Or, for the mathematically inclined: Hc = asin [(sin Lat sin Dec) + (cos Lat cos Dec cos LHA)]...Z = acos [(sin Dec - sin Lat sin Hc) / (cos Lat cos Hc)]. Accuracy to within 5 nm should be adequate at minimum.

Frankly, using Cel Nav with SH3 / SH4 almost dictates the player use Time x 1.

Any thoughts?
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell

Last edited by don1reed; 04-04-13 at 10:09 PM.
don1reed is offline   Reply With Quote
Old 04-08-13, 02:36 PM   #6
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,797
Downloads: 1214
Uploads: 4
Default

I made an obs-scope 'sextant' for SH4 some time ago - which you probably can convert to SH3. Have a look in the SH4 mods repository or in Maikes mod server. I've just been too lazy to convert this.. but maybe it's time!!
As far as I can see the Celestial dome is the same for SH3 and SH4. You'll just have to add another obs-scope zoom level in the Cameras.dat file and adjust this view scaling to match the 'sextant'.
The methods (and test missions) are all described in the SH4 RealNav mod.

Some guy has claimed a 100m accuracy using the 'sextant' and triangulation, but I'm not sure about this. I've managed to get approx 5nM at my best (after 1 week of shiet weather), but I was using non-stabilized scope option, so maybe with stabilized it might be achievable. Naturally with practise one's accuracy will improve - and also some people are 'naturals'.

Last edited by vanjast; 06-01-14 at 02:27 AM.
vanjast is offline   Reply With Quote
Old 07-21-13, 10:09 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by don1reed View Post
For the Cel Nav enthusiast, is there a way to Mod the MaGui F or any Obs scope to have a movable (rotatable with mouse wheel or up/down cursor keys) vertical 0 to 90° angle indicator installed alongside the viewer lens as I've drawn on this snap?
For SH3 no. For SH5 yes, I've already added it via a patch (you use it just like you use the stadimeter). Since you use it just like the stadimeter you first place the zero reference line of the scope on the horizon and then click the stadimeter icon (you have to click the enable sextant first). Then you place the green line (just like stadimeter) on the star of place of interest and read out the angle val returned (it's updated in real time so as you move the mouse up/down the angle val changes). I currently have one problem with it though: the angle val shown is the number of vertical graduation marks of the scope. I can give any degree of precision necessary for this angle value (currently have it limited to 2 decimal places). The great thing about this angle val is it is magnification power independent - meaning it's calibrated to the current zoom level. So no matter what zoom level you use it will return the correct number of vertical graduation marks where you have the second green line at on the scope display.

See here for screenshot: http://www.subsim.com/radioroom/show...postcount=2480

My question is how do you know what the degree spacing is between the vertical graduation marks? If I can figure out how to calculate the degree spacing between the vertical graduation marks then I can find where in the code it's doing this calculation and grab the number and multiply it by the angle val to get the true angle in degrees.

Last edited by TheDarkWraith; 07-21-13 at 10:44 AM.
TheDarkWraith is offline   Reply With Quote
Old 07-21-13, 01:47 PM   #8
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,148
Downloads: 910
Uploads: 0
Default

Hello, TDW.

Here is a FREE online Almanac: http://www.tecepe.com.br/scripts/AlmanacPagesISAPI.dll

At the bottom you can input any WWII date. It will give you The Greenwich Hour Angle for any navigational star, planet, moon or sun, as well as the Declination.

The same site offers all the visible celestial bodies for any Lat/Long.
It will give each body's REAL altitude (Hc) calculated. You could use this as a reference.

Your work is magnificent btw.

I have not been able to op SH5 since they removed online sign in.
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell
don1reed is offline   Reply With Quote
Old 07-21-13, 02:04 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

How does all this camera AngularAngle and ticker tape for the scopes go together? I know AngularAngle has something to do with FOV but what
TheDarkWraith is offline   Reply With Quote
Old 07-21-13, 02:26 PM   #10
don1reed
Ace of the Deep
 
Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,148
Downloads: 910
Uploads: 0
Default

For reference sake, if you know your exact Lat/Long, as in SH3/data/cfg/Careers/....map file

[Waypoint]
PointsNb=12
Pt0=-149885.14,7091927.38,-13.28

These numbers can be divided by 120000 to obtain Lat/Long as used by Python in conjunction with Stellarium for sh3.

I'm completely unfamiliar with the workings of SH5, but I'm positive You are and know where to get that info. The Almanac that I reference above will get you the true degrees of altitude of any celestial body from any location, so it may be possible to measure a body's altitude with your sh5 sextant and compare it with the (Hc) altitude of the almanac to adjust your sextant.
__________________
[SIGPIC][/SIGPIC]
During times of universal deceit, telling the truth becomes a revolutionary act.

~ George Orwell
don1reed is offline   Reply With Quote
Old 07-21-13, 02:34 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by don1reed View Post
For reference sake, if you know your exact Lat/Long, as in SH3/data/cfg/Careers/....map file

[Waypoint]
PointsNb=12
Pt0=-149885.14,7091927.38,-13.28

These numbers can be divided by 120000 to obtain Lat/Long as used by Python in conjunction with Stellarium for sh3.

I'm completely unfamiliar with the workings of SH5, but I'm positive You are and know where to get that info. The Almanac that I reference above will get you the true degrees of altitude of any celestial body from any location, so it may be possible to measure a body's altitude with your sh5 sextant and compare it with the (Hc) altitude of the almanac to adjust your sextant.
I can get my exact position in real time (SH5 makes this real easy with it's scripting abilities) so that's no problem. SH5 code is SH3/4 code enhanced. Makes it really easy to find things

Thanks for the info. Some people are testing your information and I hope they will report back their findings. Then I can take that data and write some calibration code to return the true angle.
TheDarkWraith is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.