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, 02:46 PM   #16
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

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
BowfinSS287 is offline   Reply With Quote
Old 08-14-10, 02:48 PM   #17
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

crash dive from activating? How? Try the Set_new_depth command, it should work perfectly.
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 02:53 PM   #18
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

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.
BowfinSS287 is offline   Reply With Quote
Old 08-14-10, 02:59 PM   #19
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

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.
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 03:44 PM   #20
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

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.....
BowfinSS287 is offline   Reply With Quote
Old 08-14-10, 03:48 PM   #21
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BowfinSS287 View Post
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.....
interesting Well thankfully I added the new command Set_new_depth_relative then
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 04:00 PM   #22
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

yes that command saved the day....keep adding things

Last edited by BowfinSS287; 08-14-10 at 08:47 PM.
BowfinSS287 is offline   Reply With Quote
Old 08-14-10, 04:06 PM   #23
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Tried taking Screenies of the Debug window with Ctrl+f11 and then print screen.. no go.. how do I do this?
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-14-10, 04:10 PM   #24
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Tried taking Screenies of the Debug window with Ctrl+f11 and then print screen.. no go.. how do I do this?
I use a program called Snag-It 7 to capture stuff like that. What does it basically say?
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 04:28 PM   #25
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Well I get a series of messages when I open the game and then more when I actually load a mission/campaign.. I will put those on here when I load up the game again gimme a sec

Edit: class TDWAutomation._init_:Exception! Current file in use C:\Ubisoft\SilentHunter5\data\Automation\Krauters_ Automation.SHA
there's the key. You have a problem with your .SHA file. Send it to me I'll look it over.
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 04:33 PM   #26
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

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:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-14-10, 04:40 PM   #27
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
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,15 ; ahead 1/3 bell
Report_nearest_sound_contact,0,0,0,0,0,0,15 ; report the nearest sound contact detected.
Double_knuckle_port,0,0,0,0,0,0,90 ; 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,90 ; 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,90 ; 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,90 ; 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,15 ; perform normal sweeps on hydrophone
Periscope_depth,0,0,0,0,0,0,45 ; go to periscope depth.
Rise_whole_obs_periscope,0,0,0,0,0,0,0 ; fully raise the obs scope
Activate_Scope_Station,1,0,0,0,0,0,8 ; activates a scope station where x = the scope station number (0=attack, 1=obs, 2=UZO)
Sweep_Scope,1,0,360,30,0,0,2 ; sweep the scope from a start of y degrees to an end of z degrees
Leave_Scope_Station,0,0,0,0,0,0,5 ; leaves the scope station and returns to bridge
Surface,0,0,0,0,0,0,30 ; surface the boat ;
Ahead_standard,0,0,0,0,0,0,0 ; ahead standard bell
[COMMANDS_END]
try the changes in yellow above.
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 04:59 PM   #28
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Those worked exceptionally well.. Now I just have to fix up the other commands so that they're all not executed right away.
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-14-10, 07:33 PM   #29
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

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?
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-14-10, 07:46 PM   #30
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Knuckle_starboard,0,0,0,0,0,0,0 (this forces me down to 24m)
Wait,0,0,0,0,0,0,90
Captains_bed_view,1,0,0,0,0,0,5(wake me if there are any contacts)
I have to add a new command for teleporting yet so yes the captain's bed won't work.

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.......
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 09:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.