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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-08-10, 03:22 AM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

My new routine to calculate CO2-production is nearly finished. While doing some tests and enhancements, I would like to describe how it works. The intention behind this is to get some feedback in order to fine-adjust some relevant parameters.

1) Crew size now proportionally affects CO2-production and thus max. diving time: 10% more crew members -> 10% higher CO2-production -> 10% shorter diving time.

2) Repairs now affect CO2-production, depending on the amount of repairs that is currently done. For extreme damage and most of the crew doing repairs, the current CO2-production rate is multiplied with a factor of 2,0. (This appears to be a little bit high, but with this I try to compensate, that things like Torpedo reloading work, psychlogical stress when being hunted, chlorid gas caused by damaged batteries and so on, are not considered directly for CO2).

3) In Silent running, your crew stops its normal work, only the minimal necessary work is done, so that the current CO2- production is reduced by a factor of 1,5. This was already modeled in Patch V15C, but now the calculation is much more accurate.

I will also rise the max. diving time of the UBoats.

Example: Type VII.
Diving Time in stock SH3 game: 36h.
Historical data (for 37 crew members): 72h.

So in V15D you'll get a diving time somewhere between the 36h and the 72h, depending on 1) actual crew size, 2) amount of repairs, 3) Silent-Running.

This current CO2-modelling is still far away from being realistic, but much better than the stock SH3 behaviour, in which CO2-production is always constant.

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 10-08-10 at 06:43 AM.
h.sie is offline   Reply With Quote
Old 10-08-10, 03:41 AM   #2
ryanwigginton
Weps
 
Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
Default

Great work!

Just when I thought I'd played this game to death, your important revisions come along.
__________________
Windows 8 Pro 64-bit, Intel Core i7-2760QM @ 2.40GHz, 8GB RAM, AMD Radeon HD 6990M
ryanwigginton is offline   Reply With Quote
Old 10-08-10, 03:40 PM   #3
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,516
Downloads: 784
Uploads: 0


Default

Quote:
Originally Posted by h.sie View Post

So in V15D

h.sie
Hi h.sie !

That sounds all good !!!

When you're planning to upload the V15D?

Best regards,
Magic
__________________
Magic1111 is offline   Reply With Quote
Old 10-10-10, 06:53 AM   #4
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

Quote:
Originally Posted by Magic1111 View Post
Hi h.sie !
When you're planning to upload the V15D?
I think during the next few days. Some long-time stability tests and it's done. Unfortunately my assembler routines for exact measurement of repair-work grew and grew and I feared to lose overview. So I had to make the calculation more simple as follows:

Crew number is still considered for CO2-production and diving-time.

There are now 3 states of the UBoat/Crew which influence CO2 production by a certain factor:

1) Silent Running / Crew rests: Factor 0,7
2) Normal work: Factor 1,0 (default state)
3) Repairs (and indirectly "being hunted", which is correlated with repairs): Factor: 1,5

Different from V15C, it is no more possible to cheat the CO2-calculation.

Until now I was not able to find out how the in-game states (Hunting, being hunted and so on) are coded and stored, so we have to be content with the current model described above.

Maybe in the future I could also consider these in-game states, provided I find them???

And maybe I'll add a random-generated very high CO2-production factor (when batteries damaged heavily and compartment flooded) in order to model battery damage / chloride???

But now I am tired of CO2!!!
h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 10-10-10, 07:16 AM   #5
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
...But now I am tired of CO2!!!...
That's very dangerous...you've to be more careful !!!
SquareSteelBar is offline   Reply With Quote
Old 10-10-10, 03:57 PM   #6
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

@SSB:

Regarding compressed air: compressed air is stored in-game as a floating-point value between 205 (full) and 0 (empty). After a first glimpse at the algorithm that is responsible for discharging the compressed air, I think the devs wanted to model an discharge rate proportional to the pressure. high pressure - high discharge rate. low pressure - low rate. unfortunately, at low pressures the discharge rate converges to zero, so that the compressed air never gets completely empty. it does not go lower than a value of 10. but anyhow, you can still blow ballast in these situations, but without sinking pressure. that is a bug.

since changing the discharge algorithm isn't trivial, I first tried an easy fix. I simply disabled the blow-ballast button when a pressure value of 10 is reached. Works fine. now you can get out of compressed air, that means, you can blow ballast about 5 or 6 times, but then the button is disabled. unfortunately, the "E" key still works - it is not logically coupled to the blow ballast button. another bug.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 10-10-10, 07:56 PM   #7
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,294
Downloads: 184
Uploads: 7


Default

H.Sie....you are reminding me a whisky....it says....''KEEP WALKING'' !!

Seriously, the most awesome and interesting thread of the last months (say year or it is too much ? )

this modding is just at the start....but i am sure that amazing things will come out...really amazing
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 10-11-10, 02:12 AM   #8
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

Quote:
Originally Posted by makman94 View Post
H.Sie....you are reminding me a whisky....it says....''KEEP WALKING'' !!

Seriously, the most awesome and interesting thread of the last months (say year or it is too much ? )

this modding is just at the start....but i am sure that amazing things will come out...really amazing
Hi makman,

thank you for your words. for you and a few other people (me included) this might be true, but looking on the download counters for V15C (20 downloads) we are a minority. but I don't care about that. the intention of my work is not downloads or tribute (I am too old for that kind of intention), it's only to have a good game. and I would even continue if there were 1 download (initiated by myself).

By the way: I promised you a DIY for tweaking WP/WO range estimation.
I didn't forget that. Until the DIY is ready, contact me via PM regarding that.



h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 10-11-10, 04:23 AM   #9
Volk2
Medic
 
Join Date: Sep 2010
Posts: 160
Downloads: 25
Uploads: 0
Default

Quote:
Originally Posted by makman94 View Post
Seriously, the most awesome and interesting thread of the last months (say year or it is too much ? )
No, it isn't too much. H.sie work here is groundbreaking for realism enthusiasts. Certainly not one person was dreaming about disassemling the game to make it better (but you must be an Einstein or H.sie to know how to use assembler).

Because of H.sie and Hans mods, yesterday I've ordered a second-hand motherboard and processor (Athlon 64 3600), to have a better sh3 experience (well, there is a probability that it will not work, but I can always hope that it will, hehe)
__________________
Volk2 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 04:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.