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

Reply
 
Thread Tools Display Modes
Old 04-29-12, 03:39 PM   #1
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Sorry, TDW.

What about our problem? posts 305-307?
__________________
.
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 04-29-12, 06:06 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Sorry, TDW.

What about our problem? posts 305-307?
I have a new patch in the works and the patcher app will be updated to cure this problem and to support my new upcoming patch.

The new patch will stop CO2 generation when snorkel is raised and sub is underwater. It will not set CO2 to 0, it will simply stop CO2 production (keep it at last value before snorkel was raised). I haven't found the function that reset the CO2 to 0 yet. But this, in itself, it very acceptable solution so far
TheDarkWraith is offline   Reply With Quote
Old 04-29-12, 06:29 PM   #3
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Thanks for the reply, TDW! And looking forward new patcher!
__________________
.
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 04-30-12, 02:55 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

version 1.0.24.0 released. See post #1

This version fixes the problem with selecting colors and adds support for the CO2 bug
TheDarkWraith is offline   Reply With Quote
Old 04-30-12, 03:02 AM   #5
dcb
Grey Wolf
 
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 845
Downloads: 547
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
adds support for the CO2 bug
Another essential breakthrough
Many thanks TDW, and... keep'em comin'
dcb is offline   Reply With Quote
Old 04-30-12, 08:17 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Let me know if you have any problems with the CO2 fix. Here's what the CO2 fix does:
- should fix the problem of CO2 increasing sometimes when surfaced
- fixes problem of CO2 increasing when submerged and snorkel above water

This one was a little tricky because the devs put the CO2 code in SH5.exe and the code for checking when to switch propulsion modes (diesel or battery) in SHSim.act. There's a routine in SH5.exe that determines if sub is surfaced or submerged but that routine never takes the snorkel into account. The routine that checks when to switch propulsion modes does take snorkel into account. The CO2 code uses the is surfaced/submerged result to determine when to increase CO2 amount. What I did was hook into the propulsion mode routine and store it's result in a new variable. Then I hooked into the CO2 routine and added another check that checks this new variable. It's value determines whether to increase CO2 amount or leave as is. This is how the CO2 bug when surfaced has been mitigated (because the game constantly calls the update CO2 function and if this new value says sub is surfaced it cannot add to the CO2 amount anymore).

Notice I said CO2 amount will not increase anymore. It will not zero out when snorkel is raised and you are submerged. The only time it will zero out is when you physically surface the entire sub.

This fix is subject to the time compression bug that plagues many other things in SH5. If you have a high time compression and you submerge and/or raise snorkel when submerged or surface the game will not register this until time compression drops to a low value. I have almost narrowed down this high time compression bug

One thing I'm looking into is increasing the rate of CO2 production when you have battle stations ordered. This way battle stations has a penalty behind it.
TheDarkWraith is offline   Reply With Quote
Old 04-30-12, 09:34 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I've noticed in other forums that people are misinterpreting the magnetic detonator fix. The magnetic detonator fix allows magnetic torpedoes to detonate on GR2 style ships AND dat style ships (dat style ships already worked because they have the required node attached to the root node). This magnetic detonator fix also fixes the problem of player's sub not incurring hull damage (decrease in hull %) from depth charges and bombs.

The GR2 style ships and some of the dat style ships are missing collision spheres everywhere but the center of the ship. This means magnetic detonators will only detonate near the middle of the ship. Furthermore the stock magnetic detonator range specified in the torpedoes .sim file is set to 2m so magnetic torpedo has to be very near center and very close to keel in order to detonate.

This should clear up any confusions.
TheDarkWraith 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 08:05 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.