stoianm
01-28-11, 04:59 PM
Now i just understood wy i did not found what you just posted for me sober - before i enabled the travelly mod i saw a post of you with some modification that you made at the travelly tutorial, i made the same changes and i deleted some lines that i was thinking i will not use:har:
My trevally enabled mod script it is like that now:
;Trevally Automated Scripts v0.3
[AS]
Deck Gun With ZigZag
[DESCRIPTION]
You must be surfaced before running script.
Finish off that wounded merchant whilst
running a zigzag to reduce return fire.
[DESCRIPTION_END]
[CATEGORY]
Attack
[SUBCATEGORY]
Surface Attack
[COMMANDS]
Ahead_full,0,0,0,0,0,0,15
Set_guns,0,0,0,2,2,0,1
Advanced_knuckle,45,0,20,8,0,0,15
Advanced_knuckle,-90,0,20,8,0,0,15
Advanced_knuckle,90,0,20,8,0,0,15
Advanced_knuckle,-90,0,20,8,0,0,15
Advanced_knuckle,90,0,20,8,0,0,15
Advanced_knuckle,-90,0,20,8,0,0,15
Advanced_knuckle,90,0,20,8,0,0,15
Advanced_knuckle,-90,0,20,8,0,0,15
Advanced_knuckle,90,0,20,8,0,0,15
Advanced_knuckle,-90,0,20,8,0,0,15
Advanced_knuckle,90,0,20,8,0,0,15
Advanced_knuckle,-45,0,20,8,0,0,15
[COMMANDS_END]
[AS]
Flak Guns With ZigZag
[DESCRIPTION]
You must be surfaced before running script.
Attack aeroplanes with flak guns whilst running
zigzags at flank to reduce chance of damage.
[DESCRIPTION_END]
[CATEGORY]
Attack
[SUBCATEGORY]
Surface Attack
[COMMANDS]
Ahead_standard,0,0,0,0,0,0,10
Set_guns,2,1,0,2,2,0,1
Set_guns,-1,-1,-1,-1,4,0,1
Advanced_knuckle,45,0,20,20,0,0,15
Advanced_knuckle,-90,0,20,20,0,0,15
Advanced_knuckle,90,0,20,20,0,0,15
Advanced_knuckle,-90,0,20,20,0,0,15
Advanced_knuckle,90,0,20,20,0,0,15
Advanced_knuckle,-90,0,20,20,0,0,15
Advanced_knuckle,90,0,20,20,0,0,15
Advanced_knuckle,-90,0,20,20,0,0,15
Advanced_knuckle,90,0,20,20,0,0,15
Advanced_knuckle,-90,0,20,20,0,0,15
Advanced_knuckle,90,0,20,20,0,0,15
Advanced_knuckle,-45,0,20,20,0,0,15
[COMMANDS_END]
[AS]
No Station Hydrophone check
[DESCRIPTION]
You must be below decks before running script.
Use this in your patrol area after you have set waypoints.
You will cruise at TC 128 for 2 hours.
Then a TC 32 Hydro check and baffles.
Looped for 24hrs.
TC will drop to your option.py setting
if contact detected.
[DESCRIPTION_END]
[CATEGORY]
Search
[SUBCATEGORY]
Search on patrol
[COMMANDS]
Set_Time_Compression,8,0,0,0,0,0,0
Ahead_standard,0,0,0,0,0,0,0
Activate_NavMap_Station,0,0,0,0,0,1,0
Set_new_depth,25,0,0,0,0,0,60
All_stop,0,0,0,0,0,0,5
Set_Time_Compression,32,0,0,0,0,0,0
Hydrophone_normal_sweep,0,0,0,0,0,0,120
Ahead_standard,0,0,0,0,0,0,0
Set_Time_Compression,8,0,0,0,0,0,0
Set_new_course,90,0,0,0,0,0,60
All_stop,0,0,0,0,0,0,5
Set_Time_Compression,32,0,0,0,0,0,0
Hydrophone_normal_sweep,0,0,0,0,0,0,120
Report_nearest_sound_contact,0,0,0,0,0,0,0
Ahead_standard,0,0,0,0,0,0,2
Set_Time_Compression,4,0,0,0,0,0,0
Return_to_course,0,0,0,0,0,0,5
Surface,0,0,0,0,0,0,5
Set_Time_Compression,128,0,0,0,0,0,7200
Loop,12,0,0,0,0,0,0
Set_Time_Compression,1,0,0,0,0,0,0
[COMMANDS_END]
[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,0
Snorkel_depth,0,0,0,0,0,0,1
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]
[AS]
Pesky Aeroplanes!
[DESCRIPTION]
You must be below decks before running script.
You must be inside boat before using.
Crash dive to 50m flank for 30mins.
Check and surface.
[DESCRIPTION_END]
[CATEGORY]
Evasion
[SUBCATEGORY]
Aeroplanes attacking
[COMMANDS]
Wait,0,0,0,0,0,0,5
Crash_dive_now,0,0,0,0,0,0,15
Get_depth_under_sub_keel,0,0,0,0,0,0,15
Set_new_depth,50,0,0,0,0,0,1
Activate_NavMap_Station,0,0,0,0,0,0,90
Ahead_slow,0,0,0,0,0,0,5
Hydrophone_normal_sweep,0,0,0,0,0,0,10
Report_nearest_sound_contact,0,0,0,0,0,0,1
Set_Time_Compression,128,0,0,0,0,0,0
Wait,0,0,0,0,0,0,1800
Set_Time_Compression,1,0,0,0,0,0,0
Leave_NavMap_Station,0,0,0,0,0,0,0
Snorkel_depth,0,0,0,0,0,0,0
Snorkel_depth,0,0,0,0,0,0,1
Snorkel_depth,0,0,0,0,0,0,50
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,0
Surface,0,0,0,0,0,0,40
Activate_NavMap_Station,0,0,0,0,0,0,2
Set_guns,2,1,0,2,2,0,5
Set_guns,-1,-1,-1,-1,4,0,5
Radar_turn_on,0,0,0,0,0,0,5
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,0
Report_nearest_radio_contact,0,0,0,0,0,0,2
Ahead_standard,0,0,0,0,0,0,0
[COMMANDS_END]
:har:
I must to rewritte again. Thanks!
Trevally.
01-28-11, 05:31 PM
I am updating to version 0.4 for these scripts.
[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_full,0,0,0,0,0,0,2
Set_new_depth,20,0,0,0,0,0,50
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
Ahead_one_third,0,0,0,0,0,0,0
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,2; abort stop
Leave_Scope_Station,1,0,0,0,0,0,0
Lower_whole_obs_periscope,0,0,0,0,0,0,0
Report_nearest_visual_contact,0,0,0,0,0,0,10
Set_Time_Compression,2,0,0,0,0,0,2
Ahead_full,0,0,0,0,0,0,2
Surface,0,0,0,0,0,0,60
Ahead_standard,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]
This is very similar to the one Sober posted - with obs scope search prior to surface.
Also adding a new one for "no station search on patrol for real nav"
This is a fast hydro check and baffels without active stations. 2hrs looped. If contact is found - TC will drop to your options.py settings.
This one replaces the "return to waypoint" command that is in the non-real nav version.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.