![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Planesman
![]() Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
|
![]()
here is one i built...starts on surface...boat goes to 28 meters
then does a hydrophone check for 5 mins, then comes to periscope depth and does a 360 search....then surfaces [AS] Bowfin_Hydrophone_Check [CATEGORY] Surfaced [COMMANDS] Set_Time_Compression,1,0,0,0,0,0,0 Ahead_full,0,0,0,0,0,0,10 Periscope_depth,0,0,0,0,0,0,40 Set_new_depth_relative,18,0,0,0,0,0,30 Ahead_slow,0,0,0,0,0,0,2 Hydrophone_normal_sweep,0,0,0,0,0,0,300 Ahead_full,0,0,0,0,0,0,10 Periscope_depth,0,0,0,0,0,0,30 Ahead_slow,0,0,0,0,0,0,5 Rise_whole_periscope,0,0,0,0,0,0,5 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 Leave_Scope_Station,0,0,0,0,0,0,1 Lower_whole_periscope,0,0,0,0,0,0,1 Ahead_standard,0,0,0,0,0,0,5 Surface,0,0,0,0,0,0,0 [COMMANDS_END] |
![]() |
![]() |
![]() |
#2 | |
Black Magic
![]() |
![]() Quote:
![]() I do have one question: Periscope_depth,0,0,0,0,0,0,40 Set_new_depth_relative,18,0,0,0,0,0,30 why don't you just issue the command 'Set_new_depth,28,0,0,0,0,0,70'? you can also do away with the Wait command and tack a 2 onto the end of Activate_Scope_Station. Would accomplish same thing. |
|
![]() |
![]() |
![]() |
#3 |
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 |
![]() |
![]() |
![]() |
#4 |
Black Magic
![]() |
![]()
crash dive from activating? How? Try the Set_new_depth command, it should work perfectly.
|
![]() |
![]() |
![]() |
#5 |
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. |
![]() |
![]() |
![]() |
#6 |
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.
|
![]() |
![]() |
![]() |
#7 |
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..... ![]() |
![]() |
![]() |
![]() |
#8 |
The Old Man
![]() Join Date: Dec 2007
Location: Stink Drunk in Trinidad
Posts: 1,572
Downloads: 138
Uploads: 0
|
![]()
Erm, how do you make custom scripts?
__________________
"Silence means death. Stand on your feet. Inner fear your worst enemy."- Sepultura. ![]() My Silent Hunter 5 mantra is this......"Torpedo missed, sir!" ![]() A P-400 is a P-40 with a Zero after it. ![]() A proud member of the Wikipedia Haters Club |
![]() |
![]() |
![]() |
#9 |
Planesman
![]() Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
|
![]()
i found another problem that i can't explain why it happens
but i found a way around it....here is what happens i want this script to run 12 times,but when i use the Loop,12,0,0,0,0,0,0 command....all works fine but the 2nd time around the Sweep_Scope,x,y,z,zz,0,0,t exits the station b4 it has completed the 360 scan....so to fix this i just copied the script 12 times within the same file and dropped the loop command.....now it works fine this new feature is really great....starting to feel like i have a crew thanks TDW |
![]() |
![]() |
![]() |
#10 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
Swabbie
![]() Join Date: Jan 2009
Location: Australia
Posts: 10
Downloads: 163
Uploads: 0
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#12 | |
Ocean Warrior
![]() Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
|
![]()
TDW; how would I package my scripts into folders so that they don't conflict with yours (ie: Like how I packaged them earlier, the game just ignored them completely).
Also, How do I upload onto subsim?
__________________
Quote:
![]() |
|
![]() |
![]() |
![]() |
#13 |
Black Magic
![]() |
![]()
open notepad and copy your script code into it. Save as a .SHA file in the \data\Automation folder.
|
![]() |
![]() |
![]() |
|
|