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 03-28-10, 03:25 PM   #1
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

I finally solved it. If I put Wp:ExecuteCommand("Crash_dive" ) as the first command, none of the others will execute. If I put it after something else, everything works fine even in the stock UI. No more override.
Heretic is offline   Reply With Quote
Old 03-28-10, 05:42 PM   #2
Athlonic
Chief
 
Join Date: Apr 2005
Location: France
Posts: 311
Downloads: 51
Uploads: 2
Default

Quote:
Originally Posted by Heretic View Post
I finally solved it. If I put Wp:ExecuteCommand("Crash_dive" ) as the first command, none of the others will execute. If I put it after something else, everything works fine even in the stock UI. No more override.
Excellent !
Athlonic is offline   Reply With Quote
Old 03-28-10, 11:19 PM   #3
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by Heretic View Post
I finally solved it. If I put Wp:ExecuteCommand("Crash_dive" ) as the first command, none of the others will execute. If I put it after something else, everything works fine even in the stock UI. No more override.
Glad to hear it!
SteelViking is offline   Reply With Quote
Old 03-29-10, 01:40 AM   #4
pythos
Grey Wolf
 
Join Date: May 2005
Location: Somewhere over there
Posts: 834
Downloads: 46
Uploads: 0
Default

This is so awesome. Now we have watch crew that do as they should....they leave the bridge before the boat goes under water!!!

YES!!!

Hopefully we can get crew moving about the boat too, perhaps having the Bosun and cook making their rounds. LOL. That would be great!!!

I wish I had the know how to help with this, you guys are too awesome for words.

Sh5 is gonna be the best subsim since SH3.

Bravo
pythos is offline   Reply With Quote
Old 03-29-10, 02:19 AM   #5
thruster
Electrician's Mate
 
Join Date: Nov 2008
Posts: 139
Downloads: 0
Uploads: 0
Default

pythos wrote:
Quote:
I wish I had the know how to help with this, you guys are too awesome for words.

Sh5 is gonna be the best subsim since SH3.
agree totally to all the above.
thruster is offline   Reply With Quote
Old 03-29-10, 07:39 AM   #6
redcoat22
Sailor man
 
Join Date: Apr 2008
Posts: 48
Downloads: 8
Uploads: 0
Default

Great work
redcoat22 is offline   Reply With Quote
Old 03-29-10, 10:02 AM   #7
ACSoft
Soundman
 
Join Date: Mar 2005
Location: Switzerland
Posts: 149
Downloads: 57
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
I finally solved it. If I put Wp:ExecuteCommand("Crash_dive" ) as the first command, none of the others will execute. If I put it after something else, everything works fine even in the stock UI. No more override.
Great Heretic !!!

Congratulations !!!

ACS
ACSoft is offline   Reply With Quote
Old 03-29-10, 10:24 AM   #8
doomlordis
Wild Night in Bangkok
 
Join Date: Nov 2002
Posts: 179
Downloads: 12
Uploads: 0
Default

Will you have a new version coming out then that fixes the crash dive bug on stock ui?
__________________
subs and birds!
doomlordis is offline   Reply With Quote
Old 03-29-10, 11:22 AM   #9
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by doomlordis View Post
Will you have a new version coming out then that fixes the crash dive bug on stock ui?
I don't really know anymore if it is actually a bug or just some peculiarity with how crash dive works. But, yes, my new version will work just fine with the stock UI without the need for the set_depth workaround.
Heretic is offline   Reply With Quote
Old 03-29-10, 11:50 AM   #10
ACSoft
Soundman
 
Join Date: Mar 2005
Location: Switzerland
Posts: 149
Downloads: 57
Uploads: 0
Default

Hi Heretic,

I couldn't wait and by curiosity, I came back to mod without workaround and modified "crash_dive.aix" that way:

...
Wp:SetGlobalVariable(VAR_SURFACE_ORDER, 0); # override any surface orders
Wp:SetGlobalVariable(VAR_DIVE_ORDER, 2); # this will trigger hard landing for bridge watch

Wp:ExecuteCommand( "Crash_dive" );

Wp:PlayAttenuatedSoundWithLipsync("ChiefEngineer\T ension\MC_CR_CHIEF_24", 2.0); # "shut down diesel engines"
...

And it work !

With this modif, now, the only case where the four guys stay on the bridge until the submarine is submerged, is when I make the sub diving from the surface, with a direct dial with a mouse click on the dive-meter.

Of course nothing change, speaking of the time required for the guys to go down. It still happen that with crash dive, some of them don't have the time to go down, before the sub is submerged.

ACS
ACSoft is offline   Reply With Quote
Old 03-29-10, 12:16 PM   #11
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Weird isn't it? It's the only command I've found that the sequence makes a difference.
Heretic is offline   Reply With Quote
Old 03-30-10, 05:15 AM   #12
ACSoft
Soundman
 
Join Date: Mar 2005
Location: Switzerland
Posts: 149
Downloads: 57
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
Weird isn't it? It's the only command I've found that the sequence makes a difference.
Yes, crazy stuff ! Most probably something weak inside the script interpreter engine. I bet for something "time critical".

By the way, did you found a way to tweak the timing for the guys to go down ?

Another question: Is-it possible to tie your normal dive behavior to the dive command given through a direct mouse click on the deep-meter ?

ACS
ACSoft is offline   Reply With Quote
Old 02-20-12, 10:28 PM   #13
Charlie901
XO
 
Join Date: Apr 2005
Location: Ft. Lauderdale, FL
Posts: 413
Downloads: 29
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
I finally solved it. If I put Wp:ExecuteCommand("Crash_dive" ) as the first command, none of the others will execute. If I put it after something else, everything works fine even in the stock UI. No more override.

Any word from Heretic....????


Would love an update that fixes the CrashDive Script Issue.
Charlie901 is offline   Reply With Quote
Old 04-14-12, 12:21 PM   #14
hixz21
Swabbie
 
Join Date: Apr 2012
Posts: 5
Downloads: 30
Uploads: 0
Default

Many thanks!
hixz21 is offline   Reply With Quote
Old 04-14-12, 02:18 PM   #15
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

Quote:
Originally Posted by Charlie901 View Post
Any word from Heretic....????


Would love an update that fixes the CrashDive Script Issue.
maybe that can help...

http://www.subsim.com/radioroom/showthread.php?t=192938
__________________
Stormy......

Stormfly is offline   Reply With Quote
Reply

Tags
favorite

Thread Tools
Display Modes

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 02:43 AM.


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