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 12-27-10, 07:38 AM   #1
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Another question I would like to ask is it possible to automate nav fixes?
Here is the idea:
The game simulates what captain should be doing so removing navigator almost completely making him just providing fixes is putting to much burden on the captain. Why don't we make it this way:
1. During normal travel the navigator makes dead-reckoning fixes automatically at predefined periods (say, every hour) and when some events happen: dive / battle-stations ordered, turn or speed change ordered or when Kaleun requests a fix. Error is compounded directly (as in my prev. post).
2. When the navigator makes a new fix - draw a line from the last fix to the new one - so you can actually see your path.
3. At some points of the day: sunset, sunrise, noon, midnight - automatically make a celestial fix putting it on the map following the rules as above.
3. When on battle stations - radically shorten fixes period: make it every 1 or 5 minutes or when course/speed/depth change ordered. So you can check your posit under DC attack etc.
4. Disable celestial fix when on battle stations (I cannot imagine navigator going up with sextant and shouting 'Mark!!!' during deck gun action or manoeuvring into position for surface torpedo attack).

By the way is it possible to order battle stations simultaneously with crash dive?
Vanilla is offline   Reply With Quote
Old 12-27-10, 07:50 AM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

An automation script could plot the celestial fix and dead-reckoning fixes as you discribe.
I think there would need to be a second auto script for battle staations.
This would mean you would have to stop normal fixes and start the dead reckoning one when you need it.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-27-10, 10:46 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
An automation script could plot the celestial fix and dead-reckoning fixes as you discribe.
I think there would need to be a second auto script for battle staations.
This would mean you would have to stop normal fixes and start the dead reckoning one when you need it.
I added a new Automation command - Wait_for_time. Does what it says and it can also print a message to the messagebox when the time has been reached.

I also updated the Automation command Report_position_celestial. If Battlestations are activated then he will take a dead-reckoning fix instead.

The Navigator's order of Report Position Celestially is unavailable (greyed out) when Battlestations are set.

Changes will be seen in v6.0.0.

I sent Trevally v6.0.0 as of now so he can play with the Automation changes.
TheDarkWraith is offline   Reply With Quote
Old 12-28-10, 06:24 AM   #4
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Thanks TDW

For "Wait_for_time,x,y,a,b,0,0,t" if I set script to check at local time-

1200 noon
2000
0000
0600

user loads game and runs script (local time 1300) then it will be 23hrs before first fix
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-28-10, 08:33 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Thanks TDW

For "Wait_for_time,x,y,a,b,0,0,t" if I set script to check at local time-

1200 noon
2000
0000
0600

user loads game and runs script (local time 1300) then it will be 23hrs before first fix
it would be 7 hrs before first fix (2000 - 1300 = 7 hours). I would recommend using GMT time though. There is a chance you could cross a nautical time zone and thus miss a fix using local time (it's a rat race as to whether the Wait_for_time command would catch the time before the nautical time zone kicked in. Something to be aware of).
TheDarkWraith is offline   Reply With Quote
Old 12-28-10, 10:30 AM   #6
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Here is the test I ran :-

[AS]
Real Nav Auto Fix timed GMT
[DESCRIPTION]
test fix by GMT
[DESCRIPTION_END]
[CATEGORY]
Real Navigation
[SUBCATEGORY]
Position on patrol
[COMMANDS]
Report_position_celestial,0,0,0,0,0,0,0
Wait_for_time,12,00,0,Noon Fix,0,0,0;(1200GMT)
Report_position_celestial,0,0,0,0,0,0,0
Wait_for_time,19,00,0,Post Meridian Fix,0,0,0;(1900GMT)
Report_position_celestial,0,0,0,0,0,0,0
Wait_for_time,00,00,0,Post Sunset Fix,0,0,0;(0000GMT)
Report_position_celestial,0,0,0,0,0,0,0
Wait_for_time,05,00,0,Pre-dawn Fix,0,0,0;(0500GMT)
Report_position_celestial,0,0,0,0,0,0,0
Wait_for_time,07,00,0,Ante Meridian Fix,0,0,0;(0700GMT)
Report_position_celestial,0,0,0,0,0,0,0
Loop,-1,0,0,0,0,0,0
[COMMANDS_END]

Worked very well

Using GMT to avoid missing a fix if crossing a time zone means-
To get nav officer to call noon fix it must be noon local time.
most of the game is played :-

GMT 0 +/- 3

how to offset

Also does anyone have suggestions as to the correct time to hit sunset etc during North/South and seasonal changes
__________________
Trevally Mods for SH5

Last edited by Trevally.; 12-28-10 at 11:01 AM.
Trevally. is offline   Reply With Quote
Old 12-28-10, 04:12 PM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

@TDW

I have just tried a 24hr auto fix using this post as a guide for taking the celestial fix - http://www.subsim.com/radioroom/show...47#post1558947

I then fitted in the dead reckoning into all 2hr gaps. Works very well until the fog came in.

Quote:
If Battlestations are activated then he will take a dead-reckoning fix instead.
Could you do the same for bad weather
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-27-10, 12:39 PM   #8
Jaeger
Chief
 
Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by Vanilla View Post
Another question I would like to ask is it possible to automate nav fixes?
Here is the idea:
The game simulates what captain should be doing so removing navigator almost completely making him just providing fixes is putting to much burden on the captain. Why don't we make it this way:
1. During normal travel the navigator makes dead-reckoning fixes automatically at predefined periods (say, every hour) and when some events happen: dive / battle-stations ordered, turn or speed change ordered or when Kaleun requests a fix. Error is compounded directly (as in my prev. post).
2. When the navigator makes a new fix - draw a line from the last fix to the new one - so you can actually see your path.
3. At some points of the day: sunset, sunrise, noon, midnight - automatically make a celestial fix putting it on the map following the rules as above.
3. When on battle stations - radically shorten fixes period: make it every 1 or 5 minutes or when course/speed/depth change ordered. So you can check your posit under DC attack etc.
4. Disable celestial fix when on battle stations (I cannot imagine navigator going up with sextant and shouting 'Mark!!!' during deck gun action or manoeuvring into position for surface torpedo attack).

By the way is it possible to order battle stations simultaneously with crash dive?
very good input here, i was thinking about this too! good point mate!
__________________
Everything comes to him who waits
Jaeger is offline   Reply With Quote
Old 12-27-10, 01:03 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Another question I would like to ask is it possible to automate nav fixes?
Here is the idea:
The game simulates what captain should be doing so removing navigator almost completely making him just providing fixes is putting to much burden on the captain. Why don't we make it this way:
1. During normal travel the navigator makes dead-reckoning fixes automatically at predefined periods (say, every hour) and when some events happen: dive / battle-stations ordered, turn or speed change ordered or when Kaleun requests a fix. Error is compounded directly (as in my prev. post).
2. When the navigator makes a new fix - draw a line from the last fix to the new one - so you can actually see your path.
3. At some points of the day: sunset, sunrise, noon, midnight - automatically make a celestial fix putting it on the map following the rules as above.
3. When on battle stations - radically shorten fixes period: make it every 1 or 5 minutes or when course/speed/depth change ordered. So you can check your posit under DC attack etc.
4. Disable celestial fix when on battle stations (I cannot imagine navigator going up with sextant and shouting 'Mark!!!' during deck gun action or manoeuvring into position for surface torpedo attack).

By the way is it possible to order battle stations simultaneously with crash dive?
With Patch 3 for v5.9.0 I added two new Automation commands that allow you to script the navigator taking a dead-reckoning fix or a celestial fix. It appears that I need to add another command to Automation - Wait_for_time. This command would allow you to specify a time (either GMT or local) and when the command is executed will put the script in 'pause' until the time specified is reached. After time is reached script will resume with next command. This would allow you to script the morning, noon, and nighttime fixes.

4 above is a good point and I need to make changes in the files to accomodate this
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 03:11 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.