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)
-   -   Uboot Marschwege / Sub routes (https://www.subsim.com/radioroom/showthread.php?t=198689)

Paco 10-05-12 05:25 PM

Quote:

Dez to
Sometimes a Kaleun corrected a course by going 10 degrees to the left or right.

For the calculated and randomized waypoints I want to simulate those corrections. 1 Dez = 10 degrees.

German Dez = Dezimal
English Dec = Decimal

For example: 3 Dec to port are 30 degrees to port.

I know, the changes from point to point aren't exactly 10, 20 or 30 degrees. But it is an option to get not so exactly headings in the messagebox.

Cheers,
Paco.

Paco 10-05-12 05:31 PM

Quote:

Originally Posted by gap (Post 1944481)
:up:

My Italian translation,

Mille grazie, gap :up:

Paco 10-05-12 05:32 PM

Quote:

Originally Posted by BIGREG (Post 1944496)
Voila en français :03:


Merci beaucoup, BIGREG :yeah:

BIGREG 10-05-12 05:37 PM

Ouch !

Maybe in french Dez=dizaine (10)
But,nobody say that :hmmm:,this is too approximative... and normaly we said une dizaine,deux dizaines,trois dizaines etc.. and in letters and not with numbers before dizaine ...

Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ... :06:

Code:

SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSO','SO','OSO','ONO','NO','NNO','N','E','S','O')
TEXT_TO_THE_LEFT = "babord"
TEXT_TO_THE_RIGHT = "tribord"
TEXT_DEGREE = "degré"
 
TEXT_NEW_MWP_HEADING_1 = "Nouveau cap :"
TEXT_NEW_MWP_HEADING_2 = "Garder le cap"
TEXT_NEW_MWP_HEADING_3 = ",commandant."
 
TEXT_NEW_WP_HEADING_1 = " dizaine de"
TEXT_NEW_WP_HEADING_2 = "degré au"
TEXT_NEW_WP_HEADING_3 = "Maintenez le cap"
TEXT_NEW_WP_HEADING_4 = ",commandant."


gap 10-05-12 05:50 PM

Quote:

Originally Posted by Paco (Post 1944510)
Mille grazie, gap :up:

Dir auch danke :salute:

Quote:

Originally Posted by Paco (Post 1944504)
Sometimes a Kaleun corrected a course by going 10 degrees to the left or right.

For the calculated and randomized waypoints I want to simulate those corrections. 1 Dez = 10 degrees.

German Dez = Dezimal
English Dec = Decimal

For example: 3 Dec to port are 30 degrees to port.

I know, the changes from point to point aren't exactly 10, 20 or 30 degrees. But it is an option to get not so exactly headings in the messagebox.

Cheers,
Paco.

Okay, I think I got the idea. Here is my attempt to translate the expression, though I am not sure that it can be used in italian too:

Code:

        SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSO','SO','OSO','ONO','NO','NNO','N','E','S','O')
        TEXT_TO_THE_LEFT          = "sinistra"
        TEXT_TO_THE_RIGHT        = "dritta"
        TEXT_DEGREE              = "gradi"

        TEXT_NEW_MWP_HEADING_1    = "Nuova rotta:"
        TEXT_NEW_MWP_HEADING_2    = "Rimaniamo in rotta"
        TEXT_NEW_MWP_HEADING_3    = ", Signore."

        TEXT_NEW_WP_HEADING_1    = "decine a"
        TEXT_NEW_WP_HEADING_2    = "gradi a"
        TEXT_NEW_WP_HEADING_3    = "Manteniamo la rotta"
        TEXT_NEW_WP_HEADING_4    = ", Capitano."


BIGREG 10-05-12 05:52 PM

Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ... :06: and if you can add before "a peut prés" or "environ" or " approximativement" (the last is a bit too long)

For me the best in french is "environ 20 degrés" and for degrés ,maybe you can replace one with the "sigle" : °

Paco 10-05-12 05:59 PM

Quote:

Originally Posted by BIGREG (Post 1944523)
Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ... :06:


Hi,

that is no problem. We can add "0" and You'll get the dec-value. I'll have a look to add a string before the value to get the "a peut prés" etc.

There is a german u-boat dictionary, there I found the "Dez".

http://www.kbismarck.com/u-boot/ulexikon.htm#D

In the movie "Das Boot" You hear the "Dez" command while escaping from the destroyers.

Paco.

BIGREG 10-05-12 06:06 PM

If you can make for the french version "environ "_ "0°" ,this will be better :yep:

Paco 10-06-12 05:55 AM

Commentstyles
 
:hmmm: I think, I have to describe the possible outputstyles and -types (Comment-parameter) for the waypoints:

Masterwaypoints:

#1 The comment-type:
Describes how to add a comment for a given MWP:
  1. Use the given Comment from File
  2. Overwrite with generated comment
  3. Append generated comment to given Comment from File
#2 The comment-style:
Describes how to generate the comment for a given MWP:
  1. Use heading in degree
  2. Use heading as given by a compass
For generating the output, the script uses the strings: TEXT_NEW_MWP_HEADING_n

Examples:
Overwrite given comment with style "Using heading in degree" looks like:
Quote:

New heading is 270 degree, Herr Kaleun.
Append given comment with style "Using Compass-Style" looks like:
Quote:

To the west\n\nNew heading is W, Herr Kaleun.
Comment given by file was "To the west".


Calculated waypoints:

As wanted, the script does not calculate a straight line between two masterwaypoints. It adds some randomness and the course has to be corrected at the position of mostly each calculated waypoint.

At each waypoint the script creates a comment for these corrections. I have implemented two styles at the moment:
  1. Write heading in degree ;
  2. Write heading Kaleun-Style (as dec / dez)
For generating the output, the script uses the strings: TEXT_NEW_WP_HEADING_n

Examples:

Using the "heading in degree" gives (next waypoint is a little bit to the right):
Quote:

Heading 5 degree to port, Herr Kaleun.
Using the "heading Kaleun-Style" gives (next waypoint is a little bit to the right):
Quote:

Heading 1 Dec to port, Herr Kaleun.
Here You see, the given Dec-Value (only used for the output, not for the calculation itself) does not fit exactly the needed correction, but I hope to get a little bit more sub-feeling into the comments.

Last example:
A given MWP-File draws a course to the south, then the sub should turn left to the east und reaches the end of the course.

MWPs are (with comments):
Quote:

0,0,go south
0,-100000,now to the east
100000,-100000,finish
Script-parameters are:
Masterwaypoint comment-type = Overwrite with heading
Masterwaypoint comment-style = Use heading as given by a compass

Calculated waypoint comment-style = Write heading in degree

The output for the SHN-File is (without random):
Quote:

'0,0,New heading is S, Herr Kaleun.'
'0,-25000,Heading is fine, Herr Kaleun.'
'0,-50000,Heading is fine, Herr Kaleun.'
'0,-75000,Heading is fine, Herr Kaleun.'
'0,-100000,New heading is E, Herr Kaleun.'
'25000,-100000,Heading is fine, Herr Kaleun.'
'50000,-100000,Heading is fine, Herr Kaleun.'
'75000,-100000,Heading is fine, Herr Kaleun.'
'100000,-100000,We are there, Herr Kaleun.'
The output for the SHN-File is (with random - radius 5000 mtr):
Quote:

'0,0,New heading is S, Herr Kaleun.'
'-2255,-27577,Heading 7 degree to port, Herr Kaleun.'
'481,-49112,Heading 2 degree to starboard, Herr Kaleun.'
'2844,-75940,Heading 12 degree to starboard, Herr Kaleun.'
'-2428,-98242,New heading is E, Herr Kaleun.'
'27041,-96853,Heading 5 degree to starboard, Herr Kaleun.'
'53758,-99297,Heading 18 degree to port, Herr Kaleun.'
'71779,-95147,Heading 23 degree to starboard, Herr Kaleun.'
'95456,-96957,We are there, Herr Kaleun.'
I hope, it is now a little bit easier for You to fill in the needed strings with your language.

Greets,
Paco.

BIGREG 10-06-12 06:09 AM

Hi Paco :salute:

Can you post the all Code in english or in german ( i lived 7 years in ULM :03:),to change in the other languages :06:
This will be easier :yep:

Paco 10-06-12 06:21 AM

Quote:

Originally Posted by BIGREG (Post 1944637)
Hi Paco :salute:

Can you post the all Code in english or in german ( i lived 7 years in ULM :03:),to change in the other languages :06:
This will be easier :yep:

ok, here is the german output-definition:

Quote:

SUB_HEADING_COMPASS_STYLE = ('NNO','NO','ONO','OSO','SO','SSO','SSW','SW','WSW ','WNW','NW','NNW','N','O','S','W')
TEXT_TO_THE_LEFT = "Backbord"
TEXT_TO_THE_RIGHT = "Steuerbord"

TEXT_DEGREE = "Grad"

TEXT_NEW_MWP_HEADING_1 = "Gehen auf Kurs"
TEXT_NEW_MWP_HEADING_2 = "Bleiben auf Kurs"
TEXT_NEW_MWP_HEADING_3 = "Ziel erreicht"

TEXT_NEW_MWP_HEADING_4 = ", Herr Kaleun."

TEXT_NEW_WP_HEADING_0 = "Drehen"
TEXT_NEW_WP_HEADING_1 = "Dez nach"
TEXT_NEW_WP_HEADING_2 = "Grad nach"
TEXT_NEW_WP_HEADING_3 = "Bleiben auf Kurs"
TEXT_NEW_WP_HEADING_4 = ", Herr Kaleun."

BIGREG 10-06-12 06:57 AM

Code:


SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSO','SO','WSO ','WNO','NO','NNO','N','E','S','O')
TEXT_TO_THE_LEFT = "Babord"
TEXT_TO_THE_RIGHT = "Tribord"
 
TEXT_DEGREE = "Degré"
 
TEXT_NEW_MWP_HEADING_1 = "Cap au"
TEXT_NEW_MWP_HEADING_2 = "Maintenez le cap"
TEXT_NEW_MWP_HEADING_3 =  "Position atteinte"
 
TEXT_NEW_MWP_HEADING_4 = ", commandant."
 
TEXT_NEW_WP_HEADING_0 = "La barre"
TEXT_NEW_WP_HEADING_1 = "0"
TEXT_NEW_WP_HEADING_2 = "Degrés"
TEXT_NEW_WP_HEADING_3 = "Gardez le cap"
TEXT_NEW_WP_HEADING_4 = ", commandant."

But,can you make an Eg in german for all texts,to be sure it is good :06:

Paco 10-06-12 07:26 AM

Quote:

Originally Posted by BIGREG (Post 1944668)
But,can you make an Eg in german for all texts,to be sure it is good :06:

Sorry BIGREG, what is an "Eg"? I do not understand what You mean. Could You explain it for me, please?

Below the output with the french texts. I have to replace accent aigu and
accent grave, because they will be displayed on my machine as numbers.

Quote:

'0,0,Cap au S, commandant.'
'1449,-24159,La barre 10 a Tribord, commandant.'
'-1593,-50491,La barre 20 a Babord, commandant.'
'-415,-75508,La barre 10 a Tribord, commandant.'
'-1460,-100732,Cap au E, commandant.'
'24284,-99102,Gardez le cap, commandant.'
'48157,-99272,La barre 10 a Tribord, commandant.'
'76866,-101349,La barre 10 a Babord, commandant.'
'101257,-101565,Position atteinte, commandant.'

BIGREG 10-06-12 07:40 AM

'0,0,Cap au sud, commandant.' ( order or answer ?)
'1449,-24159,La barre 10° à tribord, commandant.' ( order or answer ?)
'-1593,-50491,La barre 20° à babord, commandant.' ( order or answer ?)
'-415,-75508,La barre 10° à tribord, commandant.' ( order or answer ?)
'-1460,-100732,Cap à l'est, commandant.' ( order or answer ?)
'24284,-99102,Gardez le cap, lieutenant.' (this is an order to the navigateur/officer) but the grade don't need to be here...he may be promoted to another grade...:D
'48157,-99272,La barre 10° à tribord, commandant.' ( order or answer ?)
'76866,-101349,La barre 10° à babord, commandant.' ( order or answer ?)
'101257,-101565,Position atteinte, commandant.'

Note : ° can be degrés.. But this is a rudder grad (barre) ,other a compass grad (course) ???

Eg :

Order : Course 360. (No degrés and don't need specify the cardinal points), other : Cap 360
answer : Course 360 ,commandant. other : Cap 360,commandant

Order : Cap à l'est.
answer Cap à l'est,commandant.

Order : 10 degrés à l'ouest.
answer : Cap 10 degrés à l'ouest,commandant.

Order : gouvernail (rudder) 10 degrés tribord. other: barre 10° tribord
answer : gouvernail 10 degrés tribord,commandant. other: barre 10° tribord,commandant

Paco 10-06-12 03:34 PM

:hmmm:, I suggest to write only the orders into the comments, because we get the answers from the game while changing the heading.
What do You think?

BIGREG 10-06-12 03:49 PM

For me it's OK with just the orders :yep:

and sorry ,that i ask too many things :oops:

Eg: zB=beispiel=zum beispiel=beispielsweise in german = Ex= exemple = par exemple in french :03:

Paco 10-06-12 04:01 PM

Quote:

Originally Posted by BIGREG (Post 1944854)
and sorry ,that i ask too many things :oops:

Oh, sorry I did not want to stop Your Questions or suggestions.:up: It is always very good to get them from the peoples here. :salute:

Commands and answers: I'll add a switch to get a "Command-style" and a "Dialog-Style".

BIGREG 10-06-12 04:25 PM

Das macht nix the wichtige ist zu verstehen was ist moglich :03:

Paco 10-08-12 01:26 PM

Hello,

the doing for the script is finished. It works stable, almost all points from my own wishlist are implemented (some more / some less ;-) and I'm now writing the document with needed information about buildin and command-line paramaters. :woot:

So it is time to ask You, which subroutes do we need? Is it possible to extract the patrol-areas from, for example, the OHII Mod? Together with the correspondening start-harbours, we could define some routes. What about the milkcows (I think they are in)? Some funny places, where a Sh5 Kaleun has to travel to.

It would be fine, if You could post them (or PM) here, if it is possible? :salute:

You also could post screenshots with Your suggestions for needed routes. :up:

Cheers,
Paco.

THE_MASK 10-08-12 03:57 PM

If i have my TC set to LandProximity=1,256 and have the option TC1OnAnyMessageBoxText=True and dont travel any faster than TC256 . The game drops to 1TC before hitting land and i usually have time to reverse out . 90% of the time .


All times are GMT -5. The time now is 10:40 PM.

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.