![]() |
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.:yeah:
|
Quote:
|
Quote:
|
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 wrote:
Quote:
|
Great work
|
Quote:
Congratulations !!! ACS |
Will you have a new version coming out then that fixes the crash dive bug on stock ui?
|
Quote:
|
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 |
Weird isn't it? It's the only command I've found that the sequence makes a difference.
|
Quote:
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 |
Quote:
As far as getting the crew down before it goes under. The only way I 've thought of is to move the crash_dive command down futher in the sequence, delaying the dive. Dunno if that's an appropriate thing for this mod to be doing tho. |
Quote:
Do we have a list of known global var's anywhere? |
Quote:
|
All times are GMT -5. The time now is 06:02 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.