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:50 AM   #1
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   #2
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   #3
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   #4
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   #5
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   #6
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-28-10, 04:42 PM   #7
xnavytc
Swabbie
 
Join Date: Dec 2010
Location: Temple, Texas
Posts: 6
Downloads: 4
Uploads: 0
downloading UIs

Have gone to file front to download thedarkwraith uis cannot save it to my desktop, but when i open it with notepad, just garbage shows up, tried to download the old version from the download portion of the forum no luck there, any help to get this mod would be greatly appreaciated.
xnavytc is offline   Reply With Quote
Old 12-28-10, 05:49 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
@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.



Could you do the same for bad weather
bad weather should already be in there. If there's any type of rain or overcast skies, or heavy fog then the navigator should take a dead-reckoning fix instead. Is it not working this way?

EDIT:

just looked at the code and found an error. If you were underwater and asking for a celestial fix nothing would happen. I've fixed that error now so that if you are underwater and you request a celestial fix it will do a dead-reckoning fix instead.

Also found that if the conditions for taking a celestial fix weren't satisfied the code was doing nothing. Now it will ask for a dead-reckoning fix.
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 09:18 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.