View Single Post
Old 07-05-13, 12:06 PM   #2214
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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