![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
10-29-12, 05:23 PM
|
#34 | ||||
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
I have defined two different Output-options:
1) You get the informations from Your Crew regarding course-, speed-corrections and depths-changes. Speed and Depthoutputs are optional. In the Messagebox, that looks like: Quote:
Quote:
From the example above, I hope You can have a look at this library and give me some hints for the english-, french- and italian version. ![]() Here comes the part from the script: Code:
if LANGUAGE == 'DE':
SUB_HEADING_COMPASS_STYLE = ('NNO','NO','ONO','OSO','SO','SSO','SSW','SW','WSW','WNW','NW','NNW','N','O','S','W')
TEXT = { 'SHA_START' : 'Gehen auf Marschweg',
'SHA_FINAL' : 'Sind am Ziel',
'SHA_INBOUND' : 'Einmarsch',
'SHA_OUTBOUND' : 'Ausmarsch',
'BLANK' : ' ',
'BIGREGBLANK' : ' ', # Set to NULL for BIGREG-Dez-Style
'KOMMATA' : '.',
'POINT' : '.',
'PORT' : 'Backbord',
'STARBOARD' : 'Steuerbord',
'DEGREE' : 'Grad',
'NEW_HEADING_IS' : 'Gehen auf Kurs',
'HEADING_IS_FINE' : 'Bleiben auf Kurs',
'WE_ARE_THERE' : 'Ziel erreicht',
'HEADING' : 'Drehen',
'DEC_TO' : 'Dez nach',
'DEGREE_TO' : 'Grad nach',
'REACHING_NEXT_WP' : 'Nächster Kurswechsel in',
'SM' : 'sm',
'KN' : 'Knoten',
'METRES' : 'Meter',
'THAT_TAKES' : 'Marschzeit dahin',
'HOURS' : 'Stunden',
'MINUTES' : 'Minuten',
'LEFT_BRACKET' : '(',
'RIGHT_BRACKET' : ')',
'DOUBLEPOINT' : ':',
'SUBROUTE' : 'Marschweg',
'DISTANCE' : 'Strecke',
'TRAVELTIME' : 'Marschdauer',
'CHECK_HEADING' : 'Kontrollieren sie den Kurs',
'NEW_HEADING' : 'Zeit den Kurs zu wechseln',
'ALL_STOP' : 'Maschinen stop',
'STOPPING' : 'Maschinen stop',
'NEW_SPEED' : 'Neue Fahrt',
'NEW_SPEED_IS' : 'Gehen auf',
'PREPARE' : 'Klar',
'READY' : 'Boot klar',
'GO_TO' : 'Neue Tiefe',
'GOING_TO' : 'Gehen auf',
'FOR' : 'für',
'TO_SURFACE' : 'Überwasserfahrt',
'TO_DIVE' : 'Unterwasserfahrt',
'TO_TESTDIVE' : 'Testdive',
'TO_CHANGE_DEPTH' : 'Tiefenänderung',
'TO_SNORKEL_DEPTH' : 'Schnorcheltiefe',
'TO_PERISCOPE_DEPTH' : 'Sehrohrtiefe',
'TO_DECKSAWASH_DEPTH' : 'Vorfluttiefe',
'SURFACE' : 'Auftauchen',
'CHANGE_DEPTH' : 'Neue Tiefe ist',
'SNORKEL_DEPTH' : 'Schnorcheltiefe',
'PERISCOPE_DEPTH' : 'Sehrohrtiefe',
'DECKSAWASH_DEPTH' : 'Vorfluttiefe',
'SURFACEING' : 'Tauchen auf',
'XO' : 'LI',
'NAVIGATOR' : 'ObStrMn',
'HERR_KALEUN' : 'Herr Kaleun'
}
elif LANGUAGE == "FR":
SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSO','SO','WSO ','WNO','NO','NNO','N','E','S','O')
TEXT = { 'SHA_START' : 'Joining Subroute',
'SHA_FINAL' : 'We have been arrived.',
'SHA_INBOUND' : 'Inbound',
'SHA_OUTBOUND' : 'Outbound',
'BLANK' : ' ',
'BIGREGBLANK' : '', # Set to NULL for BIGREG-Dez-Style
'KOMMATA' : '.',
'POINT' : '.',
'PORT' : 'Babord',
'STARBOARD' : 'Tribord',
'DEGREE' : 'Degré',
'NEW_HEADING_IS' : 'Cap au',
'HEADING_IS_FINE' : 'Maintenez le cap',
'WE_ARE_THERE' : 'Position atteinte',
'HEADING' : 'La barre',
'DEC_TO' : '0 a',
'DEGREE_TO' : 'Gardez le cap',
'REACHING_NEXT_WP' : 'Reaching next Waypoint in',
'SM' : 'nm',
'KN' : 'knots',
'METRES' : 'metres',
'THAT_TAKES' : 'That tooks',
'HOURS' : 'hours',
'MINUTES' : 'minutes',
'LEFT_BRACKET' : '(',
'RIGHT_BRACKET' : ')',
'DOUBLEPOINT' : ':',
'SUBROUTE' : 'Subroute',
'DISTANCE' : 'Distance',
'TRAVELTIME' : 'Traveltime',
'CHECK_HEADING' : 'Please check the heading',
'NEW_HEADING' : 'We need to change the heading',
'ALL_STOP' : 'All stop',
'STOPPING' : 'Stopping',
'NEW_SPEED' : 'New Speed',
'NEW_SPEED_IS' : 'Going to',
'PREPARE' : 'Prepare',
'READY' : 'Ready',
'GO_TO' : 'Go to',
'GOING_TO' : 'Going to',
'FOR' : 'for',
'TO_SURFACE' : 'Surfacing',
'TO_DIVE' : 'Diving',
'TO_TESTDIVE' : 'Testdive',
'TO_CHANGE_DEPTH' : 'Depthchanging',
'TO_SNORKEL_DEPTH' : 'Snorkeldepth',
'TO_PERISCOPE_DEPTH' : 'Persicopedepth',
'TO_DECKSAWASH_DEPTH' : 'Decks awash',
'SURFACE' : 'Surfaceing',
'CHANGE_DEPTH' : 'New depth is',
'SNORKEL_DEPTH' : 'Snorkeldepth',
'PERISCOPE_DEPTH' : 'Persicopedepth',
'DECKSAWASH_DEPTH' : 'Decks awash',
'SURFACEING' : 'Surfacing',
'XO' : 'XO',
'NAVIGATOR' : 'Navigator',
'HERR_KALEUN' : 'commandant'
}
elif LANGUAGE == "IT":
SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSO','SO','OSO','ONO','NO','NNO','N','E','S','O')
TEXT = { 'SHA_START' : 'Joining Subroute',
'SHA_FINAL' : 'We have been arrived.',
'SHA_INBOUND' : 'Inbound',
'SHA_OUTBOUND' : 'Outbound',
'BLANK' : ' ',
'BIGREGBLANK' : ' ', # Set to NULL for BIGREG-Dez-Style
'KOMMATA' : '.',
'POINT' : '.',
'PORT' : 'sinistra',
'STARBOARD' : 'dritta',
'DEGREE' : 'gradi',
'NEW_HEADING_IS' : 'Nuova rotta:',
'HEADING_IS_FINE' : 'Rimaniamo in rotta',
'WE_ARE_THERE' : 'We are there',
'HEADING' : 'Heading',
'DEC_TO' : 'decine a',
'DEGREE_TO' : 'gradi a',
'REACHING_NEXT_WP' : 'Reaching next Waypoint in',
'SM' : 'nm',
'KN' : 'knots',
'METRES' : 'metres',
'THAT_TAKES' : 'That tooks',
'HOURS' : 'hours',
'MINUTES' : 'minutes',
'LEFT_BRACKET' : '(',
'RIGHT_BRACKET' : ')',
'DOUBLEPOINT' : ':',
'SUBROUTE' : 'Subroute',
'DISTANCE' : 'Distance',
'TRAVELTIME' : 'Traveltime',
'CHECK_HEADING' : 'Please check the heading',
'NEW_HEADING' : 'We need to change the heading',
'ALL_STOP' : 'All stop',
'STOPPING' : 'Stopping',
'NEW_SPEED' : 'New Speed',
'NEW_SPEED_IS' : 'Going to',
'PREPARE' : 'Prepare',
'READY' : 'Ready',
'GO_TO' : 'Go to',
'GOING_TO' : 'Going to',
'FOR' : 'for',
'TO_SURFACE' : 'Surfacing',
'TO_DIVE' : 'Diving',
'TO_TESTDIVE' : 'Testdive',
'TO_CHANGE_DEPTH' : 'Depthchanging',
'TO_SNORKEL_DEPTH' : 'Snorkeldepth',
'TO_PERISCOPE_DEPTH' : 'Persicopedepth',
'TO_DECKSAWASH_DEPTH' : 'Decks awash',
'SURFACE' : 'Surfaceing',
'CHANGE_DEPTH' : 'New depth is',
'SNORKEL_DEPTH' : 'Snorkeldepth',
'PERISCOPE_DEPTH' : 'Persicopedepth',
'DECKSAWASH_DEPTH' : 'Decks awash',
'SURFACEING' : 'Surfacing',
'XO' : 'XO',
'NAVIGATOR' : 'Navigator',
'HERR_KALEUN' : 'Signore'
}
else:
SUB_HEADING_COMPASS_STYLE = ('NNE','NE','ENE','ESE','SE','SSE','SSW','SW','WSW','WNW','NW','NNW','N','E','S','W')
TEXT = { 'SHA_START' : 'Joining Subroute',
'SHA_FINAL' : 'We have been arrived.',
'SHA_INBOUND' : 'Inbound',
'SHA_OUTBOUND' : 'Outbound',
'BLANK' : ' ',
'BIGREGBLANK' : ' ', # Set to NULL for BIGREG-Dez-Style
'KOMMATA' : '.',
'POINT' : '.',
'PORT' : 'port',
'STARBOARD' : 'starboard',
'DEGREE' : 'degree',
'NEW_HEADING_IS' : 'New heading is',
'HEADING_IS_FINE' : 'Heading is fine',
'WE_ARE_THERE' : 'We are there',
'HEADING' : 'Heading',
'DEC_TO' : 'Dec to',
'DEGREE_TO' : 'degree to',
'REACHING_NEXT_WP' : 'Reaching next Waypoint in',
'SM' : 'nm',
'KN' : 'knots',
'METRES' : 'metres',
'THAT_TAKES' : 'That takes',
'HOURS' : 'hours',
'MINUTES' : 'minutes',
'LEFT_BRACKET' : '(',
'RIGHT_BRACKET' : ')',
'DOUBLEPOINT' : ':',
'SUBROUTE' : 'Subroute',
'DISTANCE' : 'Distance',
'TRAVELTIME' : 'Traveltime',
'CHECK_HEADING' : 'Please check the heading',
'NEW_HEADING' : 'We need to change the heading',
'ALL_STOP' : 'All stop',
'STOPPING' : 'Stopping',
'NEW_SPEED' : 'New Speed',
'NEW_SPEED_IS' : 'Going to',
'PREPARE' : 'Prepare',
'READY' : 'Ready',
'GO_TO' : 'Go to',
'GOING_TO' : 'Going to',
'FOR' : 'for',
'TO_SURFACE' : 'Surfacing',
'TO_DIVE' : 'Diving',
'TO_TESTDIVE' : 'Testdive',
'TO_CHANGE_DEPTH' : 'Depthchanging',
'TO_SNORKEL_DEPTH' : 'Snorkeldepth',
'TO_PERISCOPE_DEPTH' : 'Persicopedepth',
'TO_DECKSAWASH_DEPTH' : 'Decks awash',
'SURFACE' : 'Surfaceing',
'CHANGE_DEPTH' : 'New depth is',
'SNORKEL_DEPTH' : 'Snorkeldepth',
'PERISCOPE_DEPTH' : 'Persicopedepth',
'DECKSAWASH_DEPTH' : 'Decks awash',
'SURFACEING' : 'Surfacing',
'XO' : 'XO',
'NAVIGATOR' : 'Navigator',
'HERR_KALEUN' : 'Herr Kaleun'
}
The example from a real route from Kiel to a position near to Danzig: Quote:
What I actually do: I have defined the routes for the coastal-waters campaign. The last run to build sha- and shn-files returns: Quote:
their calculated (ideal-)positions. 58 routes are in- and outbound-routes, that means that I have defined 29 different routes from Kiel and Wilhelmshaven to destinations in the baltic-, north-, nordic- and celtic-sea. To give the Mod a little more military- or mysterious touch, I named the routes by the KM-Grids of their start- and end-points (see the [AS]-section above). If You want to travel from A to B, You have to look into a briefcase with charts and Maps to find the name of the needed route. Than You can find the route in the automation-menu and only have to activate it. The Screenshot below is a preview of some sheets from the briefcase: ![]() I hope that I was able to give a short insight of my work to You, Paco
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition Last edited by Paco; 10-29-12 at 06:00 PM. Reason: misspelling |
||||
|
|
|
|
