![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#16 |
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
![]()
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
![]() |
![]() |
![]() |
#17 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() This was my idea of a possible routine for each two masterpoints: - randomize them based on a max set value; - calculate the distance between them; - determine the number of waypoints to be calculated, based on: distance between randomized masterpoints, a fixed 'n of waypoints/distance' ratio, and random number; - interpolate waypoints based on randomized masterpoint's x and y coordinates, and on the number of waypoint previously determined; - randomize waypoints as done with masterpoints. Quote:
I agree with Trevally. Navigation Officer declaring set courses would be the icing on the cake. Using triangle properties for calculating route angles from current/next waypoint coordinates shouldn't be too difficult either. ![]() |
||
![]() |
![]() |
![]() |
#18 |
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
![]()
Hello,
the script is on a good way, I think ![]() ![]() Below You find the declarations for English (EN) and German (DE). Please feel free to add Your preferred language. Simply copy the code, translate the values und put them into a new reply in this thread or PM me. I'll implement Your language into the script and You will be able to choose it via a switch there. DE: Code:
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 = ", Herr Kaleun." 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." Code:
SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSW','SW','WSW','WNW','NW','NNW','N','E','S','W') TEXT_TO_THE_LEFT = "port" TEXT_TO_THE_RIGHT = "starboard" TEXT_DEGREE = "degree" TEXT_NEW_MWP_HEADING_1 = "New heading is " TEXT_NEW_MWP_HEADING_2 = "Heading is fine " TEXT_NEW_MWP_HEADING_3 = ", Herr Kaleun." TEXT_NEW_WP_HEADING_1 = "Dez to" TEXT_NEW_WP_HEADING_2 = "degree to" TEXT_NEW_WP_HEADING_3 = "Heading is fine" TEXT_NEW_WP_HEADING_4 = ", Herr Kaleun." Paco.
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
![]() |
![]() |
![]() |
#19 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() My Italian translation, though I couldn't figure out what "Dez to" stads for ![]() 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 = "Dez to" TEXT_NEW_WP_HEADING_2 = "gradi a" TEXT_NEW_WP_HEADING_3 = "Manteniamo la rotta" TEXT_NEW_WP_HEADING_4 = ", Capitano." |
|
![]() |
![]() |
![]() |
#20 |
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
![]()
Voila en français
![]() 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 = "diminuer de" TEXT_NEW_WP_HEADING_2 = "degré au" TEXT_NEW_WP_HEADING_3 = "Maintenez le cap" TEXT_NEW_WP_HEADING_4 = ",commandant."
__________________
~~~~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 05:27 PM. |
![]() |
![]() |
![]() |
#21 | |
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
![]() Quote:
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.
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|
![]() |
![]() |
![]() |
#22 |
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
![]()
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
![]() |
![]() |
![]() |
#23 |
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
![]()
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
![]() |
![]() |
![]() |
#24 |
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
![]()
Ouch !
Maybe in french Dez=dizaine (10) But,nobody say that ![]() Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ... ![]() 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."
__________________
~~~~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 05:51 PM. |
![]() |
![]() |
![]() |
#25 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
Dir auch danke
![]() Quote:
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." |
|
![]() |
![]() |
![]() |
#26 |
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
![]()
Other why do you not add just "0" to make 1"0" ,2"0" ,3"0" etc ...
![]() 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. |
![]() |
![]() |
![]() |
#27 | |
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
![]() Quote:
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.
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|
![]() |
![]() |
![]() |
#28 |
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
![]()
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 |
![]() |
![]() |
![]() |
#29 | |||||||
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
|
Commentstyles
![]() Masterwaypoints: #1 The comment-type: Describes how to add a comment for a given MWP:
Describes how to generate the comment for a given MWP:
Examples: Overwrite given comment with style "Using heading in degree" looks like: Quote:
Quote:
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:
Examples: Using the "heading in degree" gives (next waypoint is a little bit to the right): Quote:
Quote:
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:
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:
Quote:
Greets, Paco.
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|||||||
![]() |
![]() |
![]() |
#30 |
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
![]()
Hi Paco
![]() Can you post the all Code in english or in german ( i lived 7 years in ULM ![]() ![]() 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 |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|