![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,453
Downloads: 46
Uploads: 4
|
![]()
Thank you VERY much.
![]() Will try it as it is, but I already see I have some doubts, If you don't mind I'd like to understand it before I demand my men understand it as well. ![]() Set_Time_Compression,2,0,0,0,0,0,0 Why set time compression? Couldn't it just run in any time compression user started it? Ahead_standard,0,0,0,0,0,0,0 Could it be speed given in knots instead of steps? I travel at most fuel efficient speed of 7.5 and I want it to stay this way. How to specify it? Activate_NavMap_Station,0,0,0,0,0,0,0 Why activate? Couldn't the script just run in any station I'm currently in? I hate when scripts move me. ![]() Set_new_depth,30,0,0,0,0,0,40 Which values do I change to set it to 20 metres? All_stop,0,0,0,0,0,0,5 Seems clear, but what is the 5 in the end? Hydrophone_normal_sweep,0,0,0,0,0,0,20 Report_nearest_sound_contact,0,0,0,0,0,0,20 20? ![]() Ahead_standard,0,0,0,0,0,0,1 1? Surface,0,0,0,0,0,0,5 5? Set_Time_Compression,128,0,0,0,0,0,7200 Seems I understand the 128 value. ![]() Loop,12,0,0,0,0,0,0 12? Set_Time_Compression,0,0,0,0,0,0,5 Also - can it be made to drop TC to 1 and/or play a sound when anything is heard in hydrophone? I'd love to understand more of this, but I don't even know where to look for info. ![]() EDIT: I chose the easy way and installed your mod. Thanks again. ![]()
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
![]() |
![]() |
![]() |
#2 |
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,453
Downloads: 46
Uploads: 4
|
![]()
Testing happily. Still don't understand it all. As for now I shortened it to this:
Set_new_depth,30,0,0,0,0,0,50 All_stop,0,0,0,0,0,0,5 Hydrophone_normal_sweep,0,0,0,0,0,0,20 Report_nearest_sound_contact,0,0,0,0,0,0,20 Surface,0,0,0,0,0,0,50 Ahead_standard,0,0,0,0,0,0,1 Loop,12,0,0,0,0,0,0 Set_Time_Compression,1,0,0,0,0,0,5 EDIT: And it simply doesn't work at all. ![]()
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to Last edited by Abd_von_Mumit; 08-31-10 at 05:35 PM. |
![]() |
![]() |
![]() |
#3 |
Black Magic
![]() |
![]()
look in the file \data\Automation\TDW_Automation.SHA (you can open it with Notepad). It will explain every command, the syntax of the commands, and tell you how to make your own scripts.
|
![]() |
![]() |
![]() |
#4 |
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,453
Downloads: 46
Uploads: 4
|
![]()
Kha! I was checking wrong file before to find tips on scripting. Thanks.
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
![]() |
![]() |
![]() |
#5 |
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,453
Downloads: 46
Uploads: 4
|
![]()
As for now I got this:
[AS] Quick hydrophone check [CATEGORY] Search on patrol [COMMANDS] Activate_NavMap_Station,0,0,0,0,0,0,1 Set_Time_Compression,128,0,0,0,0,0,1 Set_new_speed,7.5,0,0,0,0,0,1 Set_new_depth,20,0,0,0,0,0,60 All_stop,0,0,0,0,0,0,5 Hydrophone_normal_sweep,0,0,0,0,0,0,120 Report_nearest_sound_contact,0,0,0,0,0,0,1 Surface,0,0,0,0,0,0,60 Set_new_speed,7.5,0,0,0,0,0,1 Loop,-1,0,0,0,0,0,0 Wait,0,0,0,0,0,0,3240 Set_Time_Compression,128,0,0,0,0,0,1 [COMMANDS_END] Is there any way to add IFs?
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
![]() |
![]() |
![]() |
#6 |
Navy Seal
![]() |
![]()
Looks good
![]() You need to swap the "loop" with the "wait". Or you could add your wait time to the end of the second "set_speed" and remove the "wait" and last "set_time" |
![]() |
![]() |
![]() |
#7 | |
Black Magic
![]() |
![]() Quote:
I'm adding the ability to declare globals and some conditional testing but it isn't finished yet ![]() What kind of conditional test were you wanting to perform? |
|
![]() |
![]() |
![]() |
#8 |
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,453
Downloads: 46
Uploads: 4
|
![]()
Thanks guys - just found out that the loop is ill placed.
![]() The condition would be: if [any sound contact detected] then [drop TC to 1] and [report nearest contact] and [generally make a lot of noise so that I hear even when washing dishes] and [terminate the script].
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
![]() |
![]() |
![]() |
#9 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|