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 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-13-13, 01:27 PM   #1
zano972
Swabbie
 
Join Date: May 2010
Posts: 6
Downloads: 139
Uploads: 0
Default How are fuel and battery level calculate ?

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

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

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.
__________________
(Please forgive my bad english language... I was a lazy student!...)
zano972 is offline   Reply With Quote
Old 02-13-13, 05:49 PM   #2
flostt
Sonar Guy
 
Join Date: Sep 2010
Location: Switzerland
Posts: 388
Downloads: 86
Uploads: 0
Default

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"
__________________
Von den 40'000 deutschen U-Boot-Männern des Zweiten Weltkrieges kehrten 30'000 nicht zurück...
40’000 German sailors served on U-boats during World War II – 30’000 never returned home...
flostt is offline   Reply With Quote
Old 02-13-13, 08:26 PM   #3
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

You have to start a new career for a lot of new things to work .
THE_MASK is offline   Reply With Quote
Old 02-13-13, 09:40 PM   #4
zano972
Swabbie
 
Join Date: May 2010
Posts: 6
Downloads: 139
Uploads: 0
Default

Thanks for replies

Quote:
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.
__________________
(Please forgive my bad english language... I was a lazy student!...)
zano972 is offline   Reply With Quote
Old 02-13-13, 10:00 PM   #5
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

I'm pretty sure that these things are hard coded..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 02-14-13, 05:15 AM   #6
=SE=Sova
Swabbie
 
Join Date: Jul 2012
Location: Montenegro
Posts: 14
Downloads: 13
Uploads: 0
Default

There is no formula? Eny avaliable data how much sub using fuel at specific speed?
__________________
Smrt fašizmu,sloboda narodu!
=SE=Sova is offline   Reply With Quote
Old 02-14-13, 01:04 PM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Have a look at what FromHell did with his mod http://www.subsim.com/radioroom/down...o=file&id=3452

Quote:
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
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 02-15-13, 01:42 AM   #8
zano972
Swabbie
 
Join Date: May 2010
Posts: 6
Downloads: 139
Uploads: 0
Default

Quote:
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

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

I'll give some feedback about my investigations.

Bye bye.
__________________
(Please forgive my bad english language... I was a lazy student!...)
zano972 is offline   Reply With Quote
Old 02-15-13, 06:34 AM   #9
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by Trevally. View Post
Have a look at what FromHell did with his mod http://www.subsim.com/radioroom/down...o=file&id=3452

There are only uboat.cfg files and uboat.sim files that were changed..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Reply


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 12:13 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.