With gap's idea everything is working except for:
- if you submerge/surface the engine ratios of the previous state are still used until you order a new throttle setting (ahead slow, ahead standard, back slow, etc.)
- if you have a snorkel installed and you raise it while submerged the electric engine ratios will be used until you order a new throttle setting (ahead slow, ahead standard, back slow, etc.)
- if you have a snorkel installed and you lower it while submerged (previously was extended before submerging) the diesel engine ratios will be used until you order a new throttle setting (ahead slow, ahead standard, back slow, etc.)
It will be this way until I figure out how to get the position of the engine order telegraph.
Forgot to mention that if the [ElectricEngineProperties] section doesn't exist in the sub's cfg file it's no problem. The game copies the diesel engine values to the electric engine ones on initialization. If the [ElectricEngineProperties] is found then these values overwrite the diesel ones copied.
|