SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Multiple UIs for SH5 with TDC (https://www.subsim.com/radioroom/showthread.php?t=166093)

Sjizzle 07-23-13 04:21 PM

:up:

i will report back soon

Fifi 07-23-13 04:26 PM

Thanks for new test version :up:

A stupid question concerning the file viewer option though, because i'm tired of always re-enable from start my options...
Is there a quick way to save/reload previous options chosen in the fileviewer? (like the snapshot option of generic patcher)
Can i save my useroption.py somewhere, and copy/paste for the new version?

volodya61 07-23-13 04:34 PM

Quote:

Originally Posted by Fifi (Post 2089050)
Thanks for new test version :up:

A stupid question concerning the file viewer option though, because i'm tired of always re-enable from start my options...
Is there a quick way to save/reload previous options chosen in the fileviewer? (like the snapshot option of generic patcher)
Can i save my useroption.py somewhere, and copy/paste for the new version?

Just an example from my own experience - I have several saved TheDarkWraithUserOptions.py files and when I want to change options I just use Options Migrater.. right in the game's data folder.. thats all..

Fifi 07-23-13 04:48 PM

Thanks, i'll try it.

EDIT: cool, works fine!

gap 07-23-13 05:11 PM

Quote:

Originally Posted by TheDarkWraith (Post 2088939)
Coded in all the new changes for the Sextant (except for converting to degrees/minutes/seconds)

...

The set reference azimuth allows you to place the sextant on one object, click set reference azimuth (will be placed in the Ref azimuth), place sextant on another object and read out the azimuth difference (Ref azimuth diff). Ref azimuths are in relation to the sextant only (meaning in relation to the sub - if you change course they do not get updated with your new course).

So, if I got it correctly:

Azimuth: azimuth of our star relative to sub course
True Azimuth: azimuth of our star relative to the true North
Ref Azimuth: azimuth of the reference point relative to the true North
Ref Azimuth Diff: azimuth of our star relative to the reference point

Is this correct? :hmm2:

Quote:

Originally Posted by TheDarkWraith (Post 2088939)
Any other data that needs to be shown?

Ref Altitude and Ref Altitude Diff would be nice also, but I suppose that due to the way you are calculating altitude (through the stadieter), there's not an easy way to get the above values...

Quote:

Originally Posted by TheDarkWraith (Post 2089040)
Sextant is now done through the UZO. You do not have to be at the UZO station to use it. Click Navigator-->Sextant to bring up the sextant window. Click Enable sextant and the game will do the rest. Then click the button to use the sextant to take elevation reading. Sextant allows you to also take an azimuth difference between two measuring points (horizontally). Sextant has 3 zoom levels: 0.5X, 1.5X, and 7X (for testing purposes). The viewport for the UZO is different from OBS scope so I'm curious to see how Sjizzle's testing works.

When done using the sextant click Disable sextant.

Simply brilliant :up:

just a couple of minor remarks:

- I have the feeling that too many button clicks are involved for enabling the sextant. Are they all really needed? If possible, I would keep sextant usage as simple as possible.

- Is there any use in marking lines. Can't you get rid of them at all, without giving the option to disable/re-enable them?

volodya61 07-23-13 05:31 PM

Quote:

Originally Posted by gap (Post 2089072)
..Azimuth: azimuth of our star relative to sub course
True Azimuth: azimuth of our star relative to the true North
Ref Azimuth: azimuth of the reference point relative to the true North
Ref Azimuth Diff: azimuth of our star relative to the reference point..

If you don't mind, can you explain it more simpler (like for children in kindergarten), because I'm trying to translate it in Russian and can't understand what Russian nautical terms I should use :hmmm: :06:

TheDarkWraith 07-23-13 05:38 PM

Quote:

Originally Posted by sober (Post 2088634)
Just a question . What is the different time that is shown on the debug info enabled in the Scene Dat ?

No idea. Never seen that before. How did you enable it :06:

Quote:

Originally Posted by gap (Post 2089072)
So, if I got it correctly:

Azimuth: azimuth of our star relative to sub course
True Azimuth: azimuth of our star relative to the true North
Ref Azimuth: azimuth of the reference point relative to the true North
Ref Azimuth Diff: azimuth of our star relative to the reference point

Is this correct? :hmm2:


Ref Altitude and Ref Altitude Diff would be nice also, but I suppose that due to the way you are calculating altitude (through the stadieter), there's not an easy way to get the above values...

just a couple of minor remarks:

- I have the feeling that too many button clicks are involved for enabling the sextant. Are they all really needed? If possible, I would keep sextant usage as simple as possible.

- Is there any use in marking lines. Can't you get rid of them at all, without giving the option to disable/re-enable them?

Azimuth: correct
True Azimuth: correct
Ref Azimuth: incorrect. azimuth of the reference point relative to sub's course
Ref Azimuth Diff: correct

You are currently getting Ref Altitude Diff. It's the angle val. The angle val (or now Elevation) is the difference between scope horizontal reference mark and sextant (stadimeter) line. That's the best I can do currently.

There are only 4 button clicks needed to use the Sextant:
1) Click Navigator
2) Click Sextant
3) Click Enable Sextant
4) click Sextant button to start using it (I can't call events thus you have to press the button yourself). Anyways you have to align the vertical reference line with the body you want to measure first so there's no need in even trying to call the event (once you are using Sextant [stadimeter] you are not allowed to move camera left or right)

Marking lines auto disappear when you click Enable Sextant. When you click Disable Sextant they are re-enabled (and you are booted out of sextant screen)

THE_MASK 07-23-13 05:43 PM

Open the Scene Dat with S3D .
EnvSim Debug show info = True
I was wondering if it could cause problems .

gap 07-23-13 06:02 PM

Quote:

Originally Posted by TheDarkWraith (Post 2089082)
Azimuth: correct
True Azimuth: correct
Ref Azimuth: incorrect. azimuth of the reference point relative to sub's course
Ref Azimuth Diff: correct

Okay. For more cleaness, what about making all the Azimuth values relative to the true North? The only use of sub-course relative azimuth would be if magnetic declination was simulated in game, or if our compass could break apart (thus forcing us to adjust our route or to orient ourselves with the stars), but I don't think this is going to happen anytime soon... :hmmm:

Quote:

Originally Posted by TheDarkWraith (Post 2089082)
You are currently getting Ref Altitude Diff. It's the angle val. The angle val (or now Elevation) is the difference between scope horizontal reference mark and sextant (stadimeter) line. That's the best I can do currently.

Okay, I think this is good enough :up:

Quote:

Originally Posted by TheDarkWraith (Post 2089082)
There are only 4 button clicks needed to use the Sextant:
1) Click Navigator
2) Click Sextant
3) Click Enable Sextant
4) click Sextant button to start using it (I can't call events thus you have to press the button yourself). Anyways you have to align the vertical reference line with the body you want to measure first so there's no need in even trying to call the event (once you are using Sextant [stadimeter] you are not allowed to move camera left or right)

I see :up:

Quote:

Originally Posted by TheDarkWraith (Post 2089082)
Marking lines auto disappear when you click Enable Sextant. When you click Disable Sextant they are re-enabled (and you are booted out of sextant screen)

then what is the use of the "Toggle marking lines visibility" button? :hmm2:

TheDarkWraith 07-23-13 06:09 PM

Quote:

Originally Posted by gap (Post 2089097)
Okay. For more cleaness, what about making all the Azimuth values relative to the true North? The only use of sub-course relative azimuth would be if magnetic declination was simulated in game, or if our compass could break apart (thus forcing us to adjust our route or to orient ourselves with the stars), but I don't think this is going to happen anytime soon... :hmmm:

then what is the use of the "Toggle marking lines visibility" button? :hmm2:

Toggle marking lines visibility is test code until I finish coding in two new commands (Disable_marking_lines and Enable_marking_lines). Currently I only added the new command Toggle_marking_lines. I'm writing that code currently.

Compass may break one day :D

gap 07-23-13 06:36 PM

Quote:

Originally Posted by TheDarkWraith (Post 2089103)
Toggle marking lines visibility is test code until I finish coding in two new commands (Disable_marking_lines and Enable_marking_lines). Currently I only added the new command Toggle_marking_lines. I'm writing that code currently.

Okay. I don't think those lines could be enabled/disabled in reality. Again for more cleaness, I would remove the markin line option(s) from the UI, letting the new commands to deal with those lines automatically, when needed. My two cents :03:

Quote:

Originally Posted by TheDarkWraith (Post 2089103)
Compass may break one day :D

:o

Cool, but I think that by the time of WWII they could orient themselves through radio beams :D

volodya61 07-23-13 06:47 PM

Guys I'm here.. ahoy..
Could anyone answer me? please..
http://www.subsim.com/radioroom/show...ostcount=10507

TheDarkWraith 07-23-13 06:56 PM

Quote:

Originally Posted by volodya61 (Post 2089080)
If you don't mind, can you explain it more simpler (like for children in kindergarten), because I'm trying to translate it in Russian and can't understand what Russian nautical terms I should use :hmmm: :06:

..Azimuth: azimuth of our star relative to sub course

If you're standing outside on the sub this would be the relative bearing to the object you are measuring (relative meaning 0 would be sub's course)

True Azimuth: azimuth of our star relative to the true North

if you're standing outside on the sub this would be the true bearing to the object you are measuring (true meaning 0 would be north)

Ref Azimuth: azimuth of the reference point relative to sub's course

If you're standing outside on the sub this would be the relative bearing to the reference point you chose (relative meaning 0 would be sub's course)

Ref Azimuth Diff: azimuth of current sextant location - azimuth of our reference point. This value will either be positive (if between 0-180 degrees of reference point) or negative (if between 180.0001 and 359.999 of reference point)

TheDarkWraith 07-23-13 07:02 PM

Quote:

Originally Posted by gap (Post 2089118)
Okay. I don't think those lines could be enabled/disabled in reality. Again for more cleaness, I would remove the markin line option(s) from the UI, letting the new commands to deal with those lines automatically, when needed. My two cents :03:

They probably couldn't. But if we don't disable them it's awful :yep: You have to remember that I'm using the UZO as a sextant. I don't think Sextants had those lines (just like they had no zoom indication which is why I removed that also).

The marking line option will be removed in final version. I just finished the code for adding the 2 new commands to the game.

gap 07-23-13 07:05 PM

Quote:

Originally Posted by volodya61 (Post 2089080)
If you don't mind, can you explain it more simpler (like for children in kindergarten), because I'm trying to translate it in Russian and can't understand what Russian nautical terms I should use :hmmm: :06:

Azimuth: the bearing of the target star, taking boat course as 0 deg
True Azimuth: the bearing of the target star, taking true north as 0 deg
Ref Azimuth: the bearing of an (arbitrarily chosen) reference point, taking boat course as 0 deg
Ref Azimuth Diff: the bearing of the target star, taking reference point's bearing as 0 deg

Hope it helps :)


All times are GMT -5. The time now is 06:28 AM.

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