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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-05-12, 05:52 PM   #1
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ... 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" : °
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok

Last edited by BIGREG; 10-05-12 at 06:02 PM.
BIGREG is offline   Reply With Quote
Old 10-05-12, 05:59 PM   #2
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

Quote:
Originally Posted by BIGREG View Post
Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ...

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.
Paco is offline   Reply With Quote
Old 10-05-12, 06:06 PM   #3
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

If you can make for the french version "environ "_ "0°" ,this will be better
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 10-06-12, 05:55 AM   #4
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Commentstyles

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.
Paco is offline   Reply With Quote
Old 10-06-12, 06:09 AM   #5
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Hi Paco

Can you post the all Code in english or in german ( i lived 7 years in ULM ),to change in the other languages
This will be easier
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 10-06-12, 06:21 AM   #6
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

Quote:
Originally Posted by BIGREG View Post
Hi Paco

Can you post the all Code in english or in german ( i lived 7 years in ULM ),to change in the other languages
This will be easier
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."
Paco is offline   Reply With Quote
Old 10-06-12, 06:57 AM   #7
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

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
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok

Last edited by BIGREG; 10-06-12 at 07:24 AM.
BIGREG is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 06:26 AM.


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.