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 09-29-12, 05:55 AM   #1
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

Quote:
Originally Posted by Trevally. View Post
This will add a great touch
I hope so
Paco is offline   Reply With Quote
Old 09-29-12, 09:07 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Paco View Post
its difficult to add randomness to the masterpoints, because I cannot detect if I hit land . But for the waypoints I could add a few hundred meters at both sides to simulate some meanderings.
Moving both main and calculated waypoints of a few tens km (possibly 10 to 20) shouldn't increase that much the risk to run aground. Drawing the "ideal" routes (masterpoints coordinates) so that they are always let's say 30 to 50 km away from land should eliminate any such risk.

Quote:
Originally Posted by Paco View Post
Or do You mean something different?
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:
Originally Posted by Paco View Post
Thanks Here is the download-link for the map in psd-format: http://www.mediafire.com/?sydokzou4gzexjy
And here is the best resut I could achieve from that map. I merged it with other SH5 based maps, lesser detailed but with a sharper demarcation between land and water bodies. Not yet the best map you could think of, but imo a bit better than the map you sent me.

Quote:
Originally Posted by Paco View Post
I hope so
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.
gap is offline   Reply With Quote
Old 10-05-12, 04:24 PM   #3
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

Hello,

the script is on a good way, I think . At the moment I can handle two languages to do the needed comments for waypoints. If wanted, I could implement some more.

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."
EN:
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."
Thanks,
Paco.
Paco is offline   Reply With Quote
Old 10-05-12, 04:54 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Paco View Post
Hello,

the script is on a good way, I think . At the moment I can handle two languages to do the needed comments for waypoints. If wanted, I could implement some more.

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.

Thanks,
Paco.


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

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.
BIGREG is offline   Reply With Quote
Old 10-05-12, 05:32 PM   #6
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

Quote:
Originally Posted by BIGREG View Post
Voila en français

Merci beaucoup, BIGREG
Paco is offline   Reply With Quote
Old 10-05-12, 05:25 PM   #7
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

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

Ouch !

Maybe in french Dez=dizaine (10)
But,nobody say that ,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 ...

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.
BIGREG is offline   Reply With Quote
Old 10-05-12, 05:50 PM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Paco View Post
Mille grazie, gap
Dir auch danke

Quote:
Originally Posted by Paco View Post
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."
gap is offline   Reply With Quote
Old 10-05-12, 05:52 PM   #10
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:31 PM   #11
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
Default

Quote:
Originally Posted by gap View Post


My Italian translation,
Mille grazie, gap
Paco 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:32 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.