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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-05-13, 12:06 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I might have a solution for gap's idea. It hit me while I was out riding one of my motorcycles (funny how things happen like this!).

What I can do is hook into when you ask for new ordered bell and new ordered speed. If you ask for new ordered bell then I set a bit denoting this. If you ask for new ordered speed I clear the bit. This bit will then be used when transitioning from surfaced/submerged states. If the bit is set then I know to update each engine's ordered speed with the appropriate engine ratio (if surfacing then use the diesel ratios, if submerging then use the electric ratios). If this bit is clear then I do not update each engine's ordered speed because the game will update them with the ordered speed the player selected. Seems to be a viable option. Now to code it in and see...
TheDarkWraith is offline   Reply With Quote
 


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 10:30 PM.


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.