SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Trevally Auto Scripts (https://www.subsim.com/radioroom/showthread.php?t=174400)

DavyJonesFootlocker 11-07-10 07:09 PM

Wait, Trev got a v 2.4 I may have missed.:oops:

It works fine now.

Trevally. 12-27-10 09:32 AM

See post 1 for:-

Real Nav Auto Position

Real Nav Auto Fix Patrol
This will auto report Celestial postion every 8 hours
Dead reckoning every 2 hours.


Real Nav Auto Fix Battle Stations
This will auto report Dead Reckoning every 5mins.
You must already have a celestial fix before using this.

THE_MASK 12-27-10 04:53 PM

Fantastic work .
With pesky aeroplanes what would be good is if the sub crashdives for 2 minutes at flank speed then reduces to say 2 knots . Instead of going to periscope depth and using the obs scope , i think going to snorkel depth and using obs scope is better . thoughts .

Trevally. 12-27-10 05:44 PM

Quote:

Originally Posted by sober (Post 1561519)
Fantastic work .
With pesky aeroplanes what would be good is if the sub crashdives for 2 minutes at flank speed then reduces to say 2 knots . Instead of going to periscope depth and using the obs scope , i think going to snorkel depth and using obs scope is better . thoughts .

Thanks Sober
Yes you are right - more time at flank will get you further out of dodge.
For some people using other mods - the obs scope wont clear the surface.

I will update these shortly. I will also add the Nav Plotter with the new tiime commands TDW is adding.

Has anyone else noticed anything needing updating or adding to any other script:06:

Trevally. 12-29-10 08:54 AM

Updated to v0.3 - see post 1 for download.

Added:-

REAL NAVIGATION auto position
This auto script is for use with TDWs Real Navigation. UI v6.0 required.

Real Nav Auto Fix Patrol - This will auto report Celestial postion 5 times per day & Dead Reckoning every 2 hours.
This can be run from your automation button (Real Navigation - Position on Patrol - Real Nav Auto Fix).
As these scripts use a "wait for time" command, choose the script that matches your local time. (i.e. 04-08 = start script between 0400 and 0800 local time)
When it starts the Navigator will carry out a celestial fix (weather permitting) and plot on your map. Then every 2 hours he will carry out a dead reckoning fix and mark your map giving you a total of 12 position fixes per day.

The 5 celestial check per day are:-

1) Pre-dawn twilight
2) Ante Meridian (AM) Sun.
3) Noon Sun
4) Post Meridian (PM) Sun
5) Post Sunset twilight


Updated "Pesky Aeroplanes" to inclue a 2 min dash at flank, slow speed and fixed depth issue with obs scan prior to surface.

Ablemaster 12-29-10 12:14 PM

Nice Scripts Trevally, thanks.

Trevally. 12-29-10 05:21 PM

Thanks Ablemaster


Please note: If you use "Automated Scripts v0.3" - you no longer need the stand alone " Real Nav Auto Position". A new version of it is within "Automated Scripts v0.3".:up:

THE_MASK 12-30-10 02:40 PM

I am in my patrol zone and use
Real Nav Auto Fix Patrol
Search on Patrol (looped)
both at the same time , works a treat .

THE_MASK 12-31-10 06:51 PM

I changed this to my liking .
How do i get the command to wait until 20mts depth before hydrophone sweep ?

This is what i have
[AS]
Patrol with hydro check at station (looped)
[DESCRIPTION]
You must be below decks before running script.
Looped hydrophone check with
2hr high TC surface run. Sound check
is at station and takes 2mins to sweep.
Midway to loop there is a uzo sweep.
[DESCRIPTION_END]
[CATEGORY]
Search
[SUBCATEGORY]
Search on patrol
[COMMANDS]
Set_Time_Compression,2,0,0,0,0,0,2
Leave_NavMap_Station,0,0,0,0,0,0,0
Ahead_one third,0,0,0,0,0,0,2
Set_new_depth,20,0,0,0,0,0,20
All_stop,0,0,0,0,0,0,5
Set_Time_Compression,1,0,0,0,0,0,1
Activate_hydrophone_station,0,0,0,0,0,0,2
Sweep_hydrophone,0,360,120,3073,0,0,1
Report_nearest_sound_contact,0,0,0,0,0,0,2
Leave_hydrophone_station,0,0,0,0,0,0,2
Hydrophone_normal_sweep,0,0,0,0,0,0,1
Set_Time_Compression,2,0,0,0,0,0,2
Ahead_one third,0,0,0,0,0,0,2
Surface,0,0,0,0,0,0,60
Ahead_one third,0,0,0,0,0,0,5
Activate_NavMap_Station,0,0,0,0,0,0,2
Radar_turn_on,0,0,0,0,0,0,2
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,30
Report_nearest_radio_contact,0,0,0,0,0,0,2
Radar_turn_off,0,0,0,0,0,0,2
Set_Time_Compression,256,0,0,0,0,0,3600
Set_Time_Compression,2,0,0,0,0,0,2
Activate_Scope_Station,2,0,0,0,0,0,1
Sweep_Scope,2,0,360,60,457,0,2
Leave_Scope_Station,2,0,0,0,0,0,0
Radar_turn_on,0,0,0,0,0,0,0
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,10
Report_nearest_radio_contact,0,0,0,0,0,0,0
Radar_turn_off,0,0,0,0,0,0,0
Activate_NavMap_Station,0,0,0,0,0,0,5
Set_Time_Compression,128,0,0,0,0,0,3600
Loop,12,0,0,0,0,0,0
Set_Time_Compression,1,0,0,0,0,0,5
[COMMANDS_END]

Trevally. 12-31-10 07:05 PM

Quote:

How do i get the command to wait until 20mts depth before hydrophone sweep ?
Yes thats can only be done by testing the wait command.

Set_new_depth,20,0,0,0,0,0,20

The 20 at the end is the wait time in sec until the next command is read.

or

Adv knuckle is the only wait until something happens command I think.

Try putting this :-
Advanced_knuckle,0,20,9999,9999,9999,0,0

instead of this:-
Set_new_depth,20,0,0,0,0,0,20


0= turn
20= depth for that turn
9999= speed during turn (9999 is the speed you are at)
9999=new speed after turn
9999=new depth after turn



THE_MASK 12-31-10 09:36 PM

I have it the way i want now i think .
I added an obs scope sweep before surfacing .
[AS]
Patrol with hydro check at station (looped)
[DESCRIPTION]
You must be below decks before running script.
Looped hydrophone check with
2hr high TC surface run. Sound check
is at station and takes 2mins to sweep.
Midway to loop there is a uzo sweep.
[DESCRIPTION_END]
[CATEGORY]
Search
[SUBCATEGORY]
Search on patrol
[COMMANDS]
Set_Time_Compression,1,0,0,0,0,0,2
Leave_NavMap_Station,0,0,0,0,0,0,0
Ahead_full,0,0,0,0,0,0,2
Set_new_depth,20,0,0,0,0,0,60
All_stop,0,0,0,0,0,0,5
Set_Time_Compression,1,0,0,0,0,0,2
Activate_hydrophone_station,0,0,0,0,0,0,2
Sweep_hydrophone,0,360,120,3073,0,0,1
Report_nearest_sound_contact,0,0,0,0,0,0,2
Leave_hydrophone_station,0,0,0,0,0,0,2
Hydrophone_normal_sweep,0,0,0,0,0,0,1
Ahead_one third,0,0,0,0,0,0,5
Snorkel_depth,0,0,0,0,0,0,30
Rise_whole_obs_periscope,0,0,0,0,0,0,5
Activate_Scope_Station,1,0,0,0,0,0,5
Sweep_Scope,1,0,360,60.0,192,0,10; abort stop
Leave_Scope_Station,1,0,0,0,0,0,0
Report_nearest_visual_contact,0,0,0,0,0,0,10
Lower_whole_obs_periscope,0,0,0,0,0,0,0
Ahead_full,0,0,0,0,0,0,2
Surface,0,0,0,0,0,0,60
Ahead_one third,0,0,0,0,0,0,5
Activate_NavMap_Station,0,0,0,0,0,0,2
Radar_turn_on,0,0,0,0,0,0,2
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,30
Report_nearest_radio_contact,0,0,0,0,0,0,2
Radar_turn_off,0,0,0,0,0,0,2
Set_Time_Compression,128,0,0,0,0,0,3600
Set_Time_Compression,1,0,0,0,0,0,2
Activate_Scope_Station,2,0,0,0,0,0,1
Sweep_Scope,2,0,360,60,457,0,2
Leave_Scope_Station,2,0,0,0,0,0,0
Radar_turn_on,0,0,0,0,0,0,0
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,10
Report_nearest_radio_contact,0,0,0,0,0,0,0
Radar_turn_off,0,0,0,0,0,0,0
Activate_NavMap_Station,0,0,0,0,0,0,5
Set_Time_Compression,128,0,0,0,0,0,3600
Loop,12,0,0,0,0,0,0
Set_Time_Compression,1,0,0,0,0,0,5
[COMMANDS_END]

Trevally. 01-28-11 05:45 PM

Updated to version 0.4 - see post 1

Added scope search to "Patrol with hydro check at station (looped)"

Added new script for Real Navigation "No Station Hydrophone check real nav"
This will dive, hydro check and baffles surface and return to heading. This will happen at a fast TC. If contact spotted, TC will drop to your options settings.

stoianm 01-28-11 05:47 PM

Quote:

Originally Posted by Trevally. (Post 1585268)
Updated to version 0.4 - see post 1

Added scope search to "Patrol with hydro check at station (looped)"

Added new script for Real Navigation "No Station Hydrophone check real nav"
This will dive, hydro check and baffles surface and return to heading. This will happen at a fast TC. If contact spotted, TC will drop to your options settings.

Nice work - i will update wrightaway - her capitan:salute:

Magic1111 01-29-11 08:02 AM

Quote:

Originally Posted by Trevally. (Post 1585268)
Updated to version 0.4 - see post 1

Added scope search to "Patrol with hydro check at station (looped)"

Added new script for Real Navigation "No Station Hydrophone check real nav"
This will dive, hydro check and baffles surface and return to heading. This will happen at a fast TC. If contact spotted, TC will drop to your options settings.


Many thanks ! :up:

stoianm 01-29-11 12:02 PM

Hi Trevally,

Do you have time to look

here:

http://www.subsim.com/radioroom/showthread.php?t=179643 post#22:hmmm:

I really apreciate any advice from your side!:up:

Last thing - if i want to play in real nav mod, when i am looking for contacts what ,,search script,, you advice me to use?

Thanks!:salute:


All times are GMT -5. The time now is 09:40 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.