![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
09-29-12, 05:23 AM
|
#1 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Hi Paco,
I like the method you have described below. If you don't mind, I have a couple of suggestions that hopefully might apply to your upcoming mod: since you know how to work in python... 1 - why don't you make the 'calculated waypoints' to be interpolated directly in game? 2 - what about adding some randomness to both masterpoints and calculated waypoints? Last but not least, don't exitate to get in touch with me if you still need for help with that map. |
|
|
09-29-12, 05:32 AM
|
#2 | |
|
Navy Seal
![]() |
Ah - sounds great Paco, a script making script
![]() Quote:
|
|
|
|
09-29-12, 05:55 AM
|
#3 |
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|
|
09-29-12, 09:07 AM
|
#4 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
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. |
||
|
|
10-05-12, 04:24 PM
|
#5 |
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
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."
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 |
|
|
10-05-12, 04:54 PM
|
#6 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
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."
|
|
|
|
10-05-12, 05:17 PM
|
#7 |
|
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. |
|
|
10-05-12, 05:25 PM
|
#8 | |
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
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 |
|
|
|
10-05-12, 05:31 PM
|
#9 |
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|
|
09-29-12, 05:50 AM
|
#10 | |||
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
Thanks, gap.
![]() Quote:
But I don't know how the game is starting and processing the scripts during the operating time. It would be a pity, if a bad designed script would make CTDs or some other missfunctions, and so I think it is better to build the routes outside of the game. Perhaps, at later time a member with more know-how could transfer the scripting into the game. ![]() Quote:
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. Or do You mean something different?Quote:
Here is the download-link for the map in psd-format: http://www.mediafire.com/?sydokzou4gzexjyGreetings, Paco.
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition Last edited by Paco; 09-29-12 at 06:01 AM. Reason: I'm not the guru ;) |
|||
|
|
10-08-12, 03:57 PM
|
#11 |
|
Ace of the deep .
|
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 .
|
|
|
10-09-12, 03:59 AM
|
#12 |
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
Hi sober,
I know You are a skillfull and foresighted skipper, but I think a collision risk 1 of 10 is to high. ![]() Greets, Paco.
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|
|
10-10-12, 11:45 AM
|
#13 |
|
Navy Seal
![]() |
OHII Patrol Areas by campaign:-
CW ![]() HT ![]() MN
|
|
|
10-10-12, 11:46 AM
|
#14 |
|
Navy Seal
![]() |
WA
![]() BotMed ![]() OpDrum ![]() AC
|
|
|
10-10-12, 11:48 AM
|
#15 |
|
Navy Seal
![]() |
DW
![]() TBPit ![]() MG
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
