![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#16 |
Planesman
![]() Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
|
![]()
the reason i set my depth this way, was to stop the crash dive
from activating....is there a better way to do this ? thanks for tip.....i'll lose the wait command |
![]() |
![]() |
![]() |
#17 |
Black Magic
![]() |
![]()
crash dive from activating? How? Try the Set_new_depth command, it should work perfectly.
|
![]() |
![]() |
![]() |
#18 |
Planesman
![]() Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
|
![]()
i also use MightyFine Crew Version: 1.2....
***NOTE 2*** The Crash dive command has a problem and does not trigger the crash dive script, so my crash dive behaviors will not trigger. I have included an optional workaround that uses the set depth command to trigger crash dive. Using that option, changing depth via the dive gauge will trigger a crash dive if the boat is on the surface, no matter what depth you click, so use with caution. |
![]() |
![]() |
![]() |
#19 |
Black Magic
![]() |
![]()
well if you're not triggering the crash dive with the way you have the commands now you shouldn't with just the one command I mentioned. Both commands you're using use the 'Set_depth' command of the game. So you should be fine.
|
![]() |
![]() |
![]() |
#20 |
Planesman
![]() Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
|
![]()
i used the Set_new_depth command and it activated the crash dive alarm
but when i use the two commands together Periscope_depth,0,0,0,0,0,0,40 Set_new_depth_relative,18,0,0,0,0,0,30 i can get around this action...i bet it has something to do with all my mods you name it......i have it..... ![]() |
![]() |
![]() |
![]() |
#21 | |
Black Magic
![]() |
![]() Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#22 |
Planesman
![]() Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
|
![]()
yes that command saved the day....keep adding things
![]() Last edited by BowfinSS287; 08-14-10 at 08:47 PM. |
![]() |
![]() |
![]() |
#23 | |
Ocean Warrior
![]() Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
|
![]()
Tried taking Screenies of the Debug window with Ctrl+f11 and then print screen.. no go.. how do I do this?
![]()
__________________
Quote:
![]() |
|
![]() |
![]() |
![]() |
#24 |
Black Magic
![]() |
![]() |
![]() |
![]() |
![]() |
#25 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#26 | |
Ocean Warrior
![]() Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
|
![]()
I just blended (well copied and pasted) my files into yours, and now the automation works completely fine. Except for one thing. Everything is rushed.
For example with my scripts of pre-surface action: [AS] Miscellaneous [CATEGORY] Pre-Surface Actions [COMMANDS] Ahead_one_third,0,0,0,0,0,0,5 ; ahead 1/3 bell Report_nearest_sound_contact,0,0,0,0,0,0,1 ; report the nearest sound contact detected. Double_knuckle_port,0,0,0,0,0,0,5 ; 90 degree turn to port followed by a short straight run followed by another 90 degree turn to port Double_knuckle_port,0,0,0,0,0,0,15 ; 90 degree turn to port followed by a short straight run followed by another 90 degree turn to port Double_knuckle_starboard,0,0,0,0,0,0,5 ; 90 degree turn to starboard followed by a short straight run followed by another 90 degree turn to starboard Double_knuckle_starboard,0,0,0,0,0,0,0.5 ; 90 degree turn to starboard followed by a short straight run followed by another 90 degree turn to starboard Hydrophone_normal_sweep,0,0,0,0,0,0,2 ; perform normal sweeps on hydrophone Periscope_depth,0,0,0,0,0,0,1 ; go to periscope depth. Rise_whole_obs_periscope,0,0,0,0,0,0,0.5 ; fully raise the obs scope Activate_Scope_Station,1,0,0,0,0,0,0.5 ; activates a scope station where x = the scope station number (0=attack, 1=obs, 2=UZO) Sweep_Scope,1,0,360,30,0,0,0.5 ; sweep the scope from a start of y degrees to an end of z degrees Leave_Scope_Station,0,0,0,0,0,0,2 ; leaves the scope station and returns to bridge Surface,0,0,0,0,0,0,1 ; surface the boat ; Ahead_standard,0,0,0,0,0,0,1 ; ahead standard bell [COMMANDS_END] Everything is rushed, My double Knuckles are commanded one after the other, not 5 seconds after the command had been EXECUTED (not uttered) like I thought. Same with the Periscope sweep. Order Periscope depth, immediately gone to Obs Periscope and then I've completed the sweet way before the scope has even broken the surface..
__________________
Quote:
![]() |
|
![]() |
![]() |
![]() |
#27 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#28 | |
Ocean Warrior
![]() Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
|
![]()
Those worked exceptionally well.. Now I just have to fix up the other commands so that they're all not executed right away.
__________________
Quote:
![]() |
|
![]() |
![]() |
![]() |
#29 |
Navy Seal
![]() |
![]()
Ok here is the one ive been working on for patroling
[AS] patrol [CATEGORY] Search on patrol [COMMANDS] Set_Time_Compression,1,0,0,0,0,0,0 Wait,0,0,0,0,0,0,15 Get_depth_under_sub_keel,0,0,0,0,0,0,2 Periscope_depth,0,0,0,0,0,0,0 Toggle_free_camera,0,0,0,0,0,0,5 Camera_on_next_unit,0,0,0,0,0,0,5 Wait,0,0,0,0,0,0,45 Toggle_free_camera,0,0,0,0,0,0,0 Ahead_slow,0,0,0,0,0,0,0 Activate_NavMap_Station,0,0,0,0,0,0,0 Set_Time_Compression,2,0,0,0,0,0,0 Hydrophone_normal_sweep,0,0,0,0,0,0,60 Report_nearest_sound_contact,0,0,0,0,0,0,0 Knuckle_starboard,0,0,0,0,0,0,0 (this forces me down to 24m) Wait,0,0,0,0,0,0,90 Hydrophone_normal_sweep,0,0,0,0,0,0,60 Report_nearest_sound_contact,0,0,0,0,0,0,0 Rise_whole_periscope,0,0,0,0,0,0,6 Activate_Scope_Station,0,0,0,0,0,0,0 Periscope_depth,0,0,0,0,0,0,0 Wait,0,0,0,0,0,0,15 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 Toggle_free_camera,0,0,0,0,0,0,0 Camera_on_next_unit,0,0,0,0,0,0,0 Wait,0,0,0,0,0,0,5 Set_Time_Compression,1,0,0,0,0,0,0 Ahead_full,0,0,0,0,0,0,5 Surface,0,0,0,0,0,0,0 Return_to_course,0,0,0,0,0,0,5 Wait,0,0,0,0,0,0,45 Ahead_standard,0,0,0,0,0,0,0 Activate_NavMap_Station,0,0,0,0,0,0,10 Leave_NavMap_Station,0,0,0,0,0,0,0 Surface,0,0,0,0,0,0,0 Captains_bed_view,1,0,0,0,0,0,5(wake me if there are any contacts ![]() Activate_NavMap_Station,0,0,0,0,0,0,60 Set_Time_Compression,512,0,0,0,0,0,0 Wait,0,0,0,0,0,0,18000 Leave_NavMap_Station,0,0,0,0,0,0,0 Loop,2,0,0,0,0,0,0 [COMMANDS_END] This is all working well. Captains bed does not though. As new commands are added this automation feature by TDW will be amazing. What is everyone else using automation for? |
![]() |
![]() |
![]() |
#30 | |
Black Magic
![]() |
![]() Quote:
There's really no reason to use the Wait command like you're doing. Take that 90 on the end of wait and place it as the end parameter of the Knuckle_starboard then delete the Wait command. It will do the same thing and you'll have one less command to worry about in your script. It's a good thing you brought the knuckles up. I have to make new commands for them because the stock commands exhibit this bug you mention. Any other emergency commands I should make since I'll be making new commands tomorrow for Automation? On the sweep scope I'm going to take one of the available parameters and make it toggle whether the crew reports to you when a contact is spotted while sweeping. That way it's like the crew is actually doing something (well your XO at least). There really is endless possibilities with Automation....... |
|
![]() |
![]() |
![]() |
|
|