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 08-14-10, 11:28 AM   #1
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default Automation

Big thanks to TDW for this new feature in hid UI mod.

I am still trying to create one. Here is what I have so far:-

[AS]
patrol
[CATEGORY]
Search on patrol
[COMMANDS]
Set_Time_Compression,1,0,0,0,0,0,0
Activate_Radar_Station,0,0,0,0,0,0,5 (this does not work)
Wait,0,0,0,0,0,0,2
Radar_turn_on,0,0,0,0,0,0,0
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,60
Radar_toggle_range,0,0,0,0,0,0,60
Camera_on_next_unit,0,0,0,0,0,0,5
Wait,0,0,0,0,0,0,2
Get_depth_under_sub_keel,0,0,0,0,0,0,2
Periscope_depth,0,0,0,0,0,0,60
Ahead_slow,0,0,0,0,0,0,0
Activate_Hydrophone_Station,0,0,0,0,0,0,2 (this does not work)
Wait,0,0,0,0,0,0,2
Hydrophone_normal_sweep,0,0,0,0,0,0,90
Report_nearest_sound_contact,0,0,0,0,0,0,10
Rise_whole_periscope,0,0,0,0,0,0,6
Activate_Scope_Station,0,0,0,0,0,0,0
Wait,0,0,0,0,0,0,2
Sweep_Scope,0,0,360,120.0,0,0,1
Report_nearest_visual_contact,0,0,0,0,0,0,1
Leave_Scope_Station,0,0,0,0,0,0,0
Lower_whole_periscope,0,0,0,0,0,0,0
Wait,0,0,0,0,0,0,10
Camera_on_next_unit,0,0,0,0,0,0,5
Wait,0,0,0,0,0,0,2
Surface,0,0,0,0,0,0,60
Ahead_standard,0,0,0,0,0,0,5
Return_to_course,0,0,0,0,0,0,5
Activate_NavMap_Station,0,0,0,0,0,0,15
Set_Time_Compression,512,0,0,0,0,0,0
Wait,0,0,0,0,0,0,9000
Leave_NavMap_Station,0,0,0,0,0,0,0
Loop,2,0,0,0,0,0,0
[COMMANDS_END]


I have not been at this for very long but I was wondering what others are automating?

Also any tips would be great

Edit: To make your own or use automations you need TDW UI Mod v4.03 or higher.

Open your SilentHunter5\Date\Automation folder.
Create new text document and open it. You should also open TDW_Automation to get a list of commands to use.
Start with:-

[AS]
enter script name here
[CATEGORY]
enter category name here
[COMMANDS]
enter your first command here
take a new line for each command
[COMMANDS_END] to finish

; at start of line stops it form being used (handy if tou are testing)
every thing you need to know is in the TDW_Automation.SHA

Once you are finished save the text file as .SHA (select save as and under typr choose all then add .SHA to the file name)
__________________
Trevally Mods for SH5

Last edited by Trevally.; 08-16-10 at 01:00 PM.
Trevally. is offline   Reply With Quote
Old 08-14-10, 11:31 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

from the TDW_Automation.SHA file:

; Do not use the below as they cause problems!
; Activate_radar,0,0,0,0,0,0,t - activate radar (turn on) if installed
; Deactivate_radar,0,0,0,0,0,0,t - deactivate radar (turn off) if installed
; Radar_continuous_sweep,0,0,0,0,0,0,t
; Radar_one_sweep,0,0,0,0,0,0,t
; Rig_for_silent_running,0,0,0,0,0,0,t
; Secure_from_silent_running,0,0,0,0,0,0,t - secure from silent running
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 11:36 AM   #3
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Thanks TDW, i should pay more attention
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-14-10, 11:54 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, i should pay more attention
you did give me some good ideas for commands to add though I should add a hydrophone station command that will place you in front of the hydrophone station and another command to sweep the hydrophone like I did for the scope. Should do the same for radar
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 12:05 PM   #5
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Thanks TDW that would be great.

At this stage:-

Camera_on_next_unit,0,0,0,0,0,0,5
Wait,0,0,0,0,0,0,2
Get_depth_under_sub_keel,0,0,0,0,0,0,2
Periscope_depth,0,0,0,0,0,0,60

I wanted the camera to view the sub during the dive but the boat wont dive as it says "crew still on deck". Any way around this anyone?
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-14-10, 12:09 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Thanks TDW that would be great.

At this stage:-

Camera_on_next_unit,0,0,0,0,0,0,5
Wait,0,0,0,0,0,0,2
Get_depth_under_sub_keel,0,0,0,0,0,0,2
Periscope_depth,0,0,0,0,0,0,60

I wanted the camera to view the sub during the dive but the boat wont dive as it says "crew still on deck". Any way around this anyone?
you need to be below decks for the periscope depth. Hmm, I should let you pass parameter 1 a value of 1 as to teleport if you're not below decks
TheDarkWraith is offline   Reply With Quote
Reply


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 12:26 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.