Log in

View Full Version : How are fuel and battery level calculate ?


zano972
02-13-13, 01:27 PM
Hi all,

I'm trying to write a simple mod to modify my fuell and battery reserves but I'm not be able to find how and where these 2 parameters are defined/calculated :o

I've already try unsucsessfully to compute differents values for max_speed, eng_rpm, knots, surfaced and submerged ranges and nothing seems to bring some change :huh:

I don't believe - as some people say - that these 2 parameters are hard coded because there is a lot of anothers capitals datas we can find in simples texts configurations files.

Thanks for incoming helps.

flostt
02-13-13, 05:49 PM
If you need unlimited fuel and batteries:

Once the main screen of the gane shows, go to "Options"

There you can tick / untick "limited fuel" and "limited batteries"

THE_MASK
02-13-13, 08:26 PM
You have to start a new career for a lot of new things to work .

zano972
02-13-13, 09:40 PM
Thanks for replies

If you need unlimited fuel and batteries:

Once the main screen of the gane shows, go to "Options"

There you can tick / untick "limited fuel" and "limited batteries"

It's Ok I know that but I need to have an another possibility to control the fuel and power consumption...

So long.

volodya61
02-13-13, 10:00 PM
I'm pretty sure that these things are hard coded.. :yep:

=SE=Sova
02-14-13, 05:15 AM
There is no formula? Eny avaliable data how much sub using fuel at specific speed?

Trevally.
02-14-13, 01:04 PM
Have a look at what FromHell did with his mod http://www.subsim.com/radioroom/downloads.php?do=file&id=3452


i got fed up of running out of torps or fuel, so i made this.
7a boat = 22 torps + 8100 mile range
7b boat= same + 8700 mile range
7c boat= same + 11000 mile range
7c41 boat = same + 11400 mile range.
you basically have 2 internal loadings b4

zano972
02-15-13, 01:42 AM
I'm pretty sure that these things are hard coded.Well well volodya61... If you're right my next step is to "play" with an hex editor or some equivalents tools :hmmm:

Trevally thanks for your link... I'm going to test this mod :up:

I'll give some feedback about my investigations.

Bye bye.

volodya61
02-15-13, 06:34 AM
Have a look at what FromHell did with his mod http://www.subsim.com/radioroom/downloads.php?do=file&id=3452

:hmmm:
There are only uboat.cfg files and uboat.sim files that were changed..