SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   Mod to correct the maximum depth ? (https://www.subsim.com/radioroom/showthread.php?t=166859)

lumat83 04-02-10 09:06 AM

[REQ] Mod to correct the maximum depth ?
 
Hello

Actually, in SH5, the maximum depth for the U-Boats is 180m without damages.

It seem to me that this depth is not correct. The U-boat could go down at more than 200m in reality.

Is there a way, or a mod, to correct this ?

Thank you :DL

TheDarkWraith 04-02-10 09:27 AM

lifted from 7A's cfg file:

[Properties]
PeriscopeDepth=12;meters 12.5
SnorkelDepth=12;meters 12.5
CrashDepth=71;meters - is actualy 70, and will never reach 71, it will dwingle at ~70.5 - fix for updating interface. [Saitan Catalin]
MaxDepth=200;meters
DiveDepth=40;meters
SurfaceDepth=5;meters
TorpLaunchMaxDepth=20;meters
StormConditions=11,0.4;max wind speed [m/s], max rain intensity [0,1]


max depth is set to 200 meters for the 7A.

lumat83 04-02-10 09:42 AM

Thank :) I've seen it.

But for the type 7b we have

[Properties]
PeriscopeDepth=12.5
SnorkelDepth=12.5
DiveDepth=40;meters
CrashDepth=70;meters
MaxDepth=215;meters
SurfaceDepth=5;meters
TorpLaunchMaxDepth=20;meters
StormConditions=11,0.4;max wind speed [m/s], max rain intensity [0,1]

though, many damages appear after 180 m. I've made a try. After a depth at 195m, the hull integrity is at 69%. :o

Are there some others parameters to change ?

wetwarev7 04-02-10 12:44 PM

I believe this is linked to crew morale and experience isn't it?

I would check there...

lumat83 04-02-10 01:41 PM

I don't know but I would like to change it a little. I think that the damages could begin at a depth about 210-220 m.

It seem to me that this setting would be more correct according to the reality

sergei 04-02-10 01:46 PM

I believe you have to edit the ZON file associated with that particular boat to change the max depth.

sergei 04-02-10 02:01 PM

I did a few searches and it looks like there is an entry called 'Crashdepth' in the ZON file that determines your max depth.

This post by Webster from last year may help
http://www.subsim.com/radioroom/show...89&postcount=2

The post was for SH4, but I've just had a look at the SH5 ZON files, and they have a lot of the same entries as 4.

It's somewhere to start, anyway.
Good luck :DL

lumat83 04-02-10 03:18 PM

Thank you very much.

I think that it's too hard for me to try to modify these values :cry:.

Hope that an expert will make a mod for this.

Mav87th 04-03-10 12:35 AM

CrashDepth are the depth the u-boat will dive to if you hit Crash Dive.

Max Depth are the depth where the boat will crush.

lumat83 04-03-10 06:03 AM

It's more complicated, I think. Or, 215 m for a type 7 is not enough

During my try, I had important damages on the hull ( integrity at 69% ) after a depth to 200 m during some seconds only.

sergei 04-03-10 07:07 AM

To change the max depth you need to alter the ZON file.
Editing the cfg will not work.
In the ZON file there is an entry called CRASHDEPTH.
Despite what you may think, this is actually controlling the max depth for the sub.
I know this is a counter intuitive connection.
Please see screenshot for proof.
http://img405.imageshack.us/img405/878/crashdepth.jpg

This is from an SH4 boat, I have been playing with the crush depths of my porpoise this morning.
The SH5 ZON files have the same entries.

Again. Editing the cfg file entries will not change the boats max depth characteristc.

lumat83 04-03-10 07:33 AM

Thank you very much.

I've only a problem to use GoblinEditor. I've some error messages when I open the .zon :

"You don't have the actor dll's for the following controller type ..."

Even I've set the options (SH5 directory)

sergei 04-03-10 08:07 AM

First you have to go into the GoblinEditor options screen and type in your SH5 install directory, in 2 places.
That's why I could not get my Goblin to work for a few weeks, I had only typed in my directory in 1 place. :damn::DL
See screenshot (relevant for my install!)

http://img24.imageshack.us/img24/8804/optionsn.jpg

This will solve the missing actor dll problem.

Next step - very important.
Back up the ZON file for the sub you will be editing!

Then use Goblin to open the GR2 file for the relevant sub.
Then Merge the ZON file in.
Double click on the 'Colisionable Object' entry in the project tree to edit the behavior.
See screenshot

http://img30.imageshack.us/img30/3624/zonedit.jpg

This is a shot of the ZON file for my Type VIIA.

You see it has a value of 250.
This does not mean 250 meters! The game seems to use some arbitrary scale for this value.

I found a useful bit of info about how the game calculates the crush depth from this figure last month, I think from the RUB forum. It looked good to have so I copied and saved it.

-- Note 1:
* Remember that crash depth is not a direct depth translation. Crash depth is obtained by taking your targeted depth, multiplying it by 0.3 or 0.4 ( I used 0.4), and adding that to your original number.

Example: My targeted crush depth is 230 meters, therego
( 230 * 0.4) + 230 = 322


I think this was originally written by either Ducimus or Luke, so thanks to them for figuring this out :up:

After you have edited this and closed the window, the ZON entry in the project Tree will turn red, I guess to let you know you have changed something.
Right click on it and save it.

Job done, go test. :DL
Be aware SH5 subs still have a bouyancy problem, exacerbated by going below 200 meters. Don't be surprised if once you get down that deep you need a lot of speed to maintain depth.

Good luck :up:

lumat83 04-03-10 09:44 AM

I've set the options correctly (the two) in Goblin Editor

But nothing, I've always this problem of actor.dll

Silent Hunter 5 is installed on G (G:\Silenthunter 5). maybe it's the problem .... :cry:

sergei 04-03-10 09:50 AM

Right lumat83, I didn't realise this :(

Quote:

Originally Posted by lumat83 (Post 1346092)
Silent Hunter 5 is installed on G (G:\Silenthunter 5). maybe it's the problem .... :cry:

It might be the problem, I guess.

lumat83 04-06-10 01:25 AM

Thank for your help :).

I can't install it on "C". But I suppose (I hope) that a mod will correct it :yep:

Ducimus 04-06-10 03:19 PM

Quote:

Originally Posted by sergei (Post 1346016)

This is a shot of the ZON file for my Type VIIA.

You see it has a value of 250.
This does not mean 250 meters! The game seems to use some arbitrary scale for this value.

I found a useful bit of info about how the game calculates the crush depth from this figure last month, I think from the RUB forum. It looked good to have so I copied and saved it.

-- Note 1:
* Remember that crash depth is not a direct depth translation. Crash depth is obtained by taking your targeted depth, multiplying it by 0.3 or 0.4 ( I used 0.4), and adding that to your original number.

Example: My targeted crush depth is 230 meters, therego
( 230 * 0.4) + 230 = 322


I think this was originally written by either Ducimus or Luke, so thanks to them for figuring this out :up:

http://ch3guest.files.wordpress.com/...ultz_small.jpg

I see nothing, i hear nothing, i was not here, i did not even get up this morning!

Quote:

CrashDepth are the depth the u-boat will dive to if you hit Crash Dive.

Max Depth are the depth where the boat will crush.
Honestly, this is modding 101. Crash depth is the depth that Hit point loss will start to incur on an undamaged hull. Crash speed, is the rate at which the hit point loss incurs per second. In other words, one specifies when, the other species how much.

How max depth in the subs cfg file comes into play in SH5 i don't know. In SH4, it is the depth at which the boat will level off at automatically if you press the D key to set dive planes to normal dive. Aka "test depth"

sergei 04-06-10 03:58 PM

Quote:
'CrashDepth are the depth the u-boat will dive to if you hit Crash Dive.

Max Depth are the depth where the boat will crush'

I don't recall saying any such thing :06:

Ducimus 04-06-10 04:08 PM

Quote:

Originally Posted by sergei (Post 1349828)
Quote:
'CrashDepth are the depth the u-boat will dive to if you hit Crash Dive.

Max Depth are the depth where the boat will crush'

I don't recall saying any such thing :06:

No you didn't, someone else did, i was just too lazy to go back and attribute the quote. I suppose i should make better use of the muliquote function. :88)

ddrgn 04-07-10 02:18 AM

Did some testing with this:

Historic approx. crush depth for a type 7A was 200m

Set the multiplier to 1.15 of what you want it to be.

So in my case I want the 7A to start hull damage at 200 so make it 230.


All times are GMT -5. The time now is 09:43 AM.

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.