Log in

View Full Version : [REQ]Realistic Betterie Recharge


krupp_88mm
03-10-10, 04:30 PM
lol jsut noticed betterie too late now....

I tried for hours to make this mod but im lost, i cant even open a ZON file.. so im hoping someone can make this mod i 'think' it would be simple if i knew how to do it. the problem currently is

#1 Batteries recharge even when your diesels are off or on at the same speed.. its basically free power, id like some kind of modifier that only allows batteries to recharge when the diesel engine is running, and i havent noticed my sub slowing down to recharge the batteries either.. am i imagination this? i should not be making full speed and recharging batteries

#2 batteries recharge time is very poorly modeled in the game currently. they used a linear recharge so its basically recharging about 1% every few minutes, to get a full recharge takes over a day.. which is realistic.. but uboats could recharge the first 25-50% of thier batteries in just about 1-2 hours, the batteries IRL recharge much faster at first.. it is just topping them off the less efficient the recharge becomes. So id also like to see some sort of modifier that slows down the charging after say bat capacity reaches 25 and 50 and 75%.. the first 25% of the batteries should recharge very fast, about 10x faster than they currently do in the game.. anyone have any ideas where this info is or how to change it?

MadDog09
03-11-10, 06:56 AM
Do you try it with this tool?

http://sh4.skwas.net/

I have edited my Torpedo-ZON file with success with that tool.

U-Bones
03-11-10, 08:40 AM
lol jsut noticed betterie too late now....

I tried for hours to make this mod but im lost, i cant even open a ZON file.. so im hoping someone can make this mod i 'think' it would be simple if i knew how to do it. the problem currently is

#1 Batteries recharge even when your diesels are off or on at the same speed.. its basically free power, id like some kind of modifier that only allows batteries to recharge when the diesel engine is running, and i havent noticed my sub slowing down to recharge the batteries either.. am i imagination this? i should not be making full speed and recharging batteries

#2 batteries recharge time is very poorly modeled in the game currently. they used a linear recharge so its basically recharging about 1% every few minutes, to get a full recharge takes over a day.. which is realistic.. but uboats could recharge the first 25-50% of thier batteries in just about 1-2 hours, the batteries IRL recharge much faster at first.. it is just topping them off the less efficient the recharge becomes. So id also like to see some sort of modifier that slows down the charging after say bat capacity reaches 25 and 50 and 75%.. the first 25% of the batteries should recharge very fast, about 10x faster than they currently do in the game.. anyone have any ideas where this info is or how to change it?

Several of the command key mods give you a working recharge toggle, and you can definately see an appropriate speed difference when you use it.

I really love the long recharges, but I guess I am less concerned with the static rate applying to the first 25% as I never let my battery go that low unless I am denied the surface. Knowing that amps = options, I hoard them when I can, and am frugal with them when I can't.

But yes, it would be nice ( and more realistic ) if 1-25% went much faster.

CrocodileDundee
03-11-10, 09:27 AM
Ok you beat me to it, I was looking into this since SH3! I'm not yet convinced how/where the battery recharge values are stored and/or how they're calculated.

I've been fooling around with eng_power in the boat .sim file. I've tried increasing/decreasing the diesel engine power, the electric motors power - inconclusive results. Been trying to look around in the *.sim files in SH5 too with Goblin, but I can't figure it out.

If ANYONE so far has figure it out, could you please post the following info:
1. what files need to be edited (I personally looked at the submarine *.sim files, but I might be wrong).
2. How recharge is calculated. I noticed that if I increase the battery cappacity (by extending the underwater range) the battery recharge slows down. So it has to be a fixed value somewhere.
3. What do eng_power (both for surface/E_propulsion) variables code?
4. I changed (in abilities.upc the recharge raes for the motor officer, but I can't tell a significant change in the game. Even tried extreme values (from 10% to 100000%). Since all the other abilities work just fine, I'm wondering what's going on here?
5. Are there any upgrades further in the game concerning the batteries? I looked at 'upgrade packs.upc' but I can't find anything.

Many thanks in advance guys. It's been frustrating not being able to figure out on my own :damn:, but I reckon someone must have found these info.

krupp_88mm
03-11-10, 11:50 AM
Several of the command key mods give you a working recharge toggle, and you can definately see an appropriate speed difference when you use it.

I really love the long recharges, but I guess I am less concerned with the static rate applying to the first 25% as I never let my battery go that low unless I am denied the surface. Knowing that amps = options, I hoard them when I can, and am frugal with them when I can't.

But yes, it would be nice ( and more realistic ) if 1-25% went much faster.

awesome didnt relize there was an option to order battery recharging as there always recharging if your not submerged.. thanks, i will see what happens