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 07-14-13, 09:00 PM   #1
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
would there be any use/benefit from running electric engines instead of the diesels on the surface
Only benefit could be to run electrics together with diesels for short speed boost (at least it's said in the loading screens - don't know if it is true)
Fifi is offline   Reply With Quote
Old 07-14-13, 10:00 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
Only benefit could be to run electrics together with diesels for short speed boost (at least it's said in the loading screens - don't know if it is true)
Unfortunately the way they (devs) coded the engines it's either diesels or electrics - can't do both I was hoping to be able to implement this but it's not going to be possible.

Still might implement letting player decide to use electrics on the surface though Could be useful when diesels are damaged or
TheDarkWraith is offline   Reply With Quote
Old 07-14-13, 11:56 PM   #3
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

You mentioned something about making it harder to raid enemy ports . Say i blow up a ship . It would be good if the chance was 100% alert nearby units . But 75% by ship or 25% by plane if nearby units in port .
THE_MASK is offline   Reply With Quote
Old 07-15-13, 01:12 AM   #4
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Still might implement letting player decide to use electrics on the surface though Could be useful when diesels are damaged or
In real, i think they could run electrics on surface, so why not have this ingame?
Furthermore, could be helpfull when running out of diesel close to harbor......and of course if diesel are damaged!
Fifi is offline   Reply With Quote
Old 07-15-13, 01:40 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
ED = random (MinEF, MaxEF); will be modified for range as before.
I wonder what this random function used for explosive damage calculation looks like

Quote:
Originally Posted by TheDarkWraith View Post
k = 0.2 – subject to change
x = random (-k;+k)
Pen = AP * [1 + x]
Pen > = A results in penetration
I suppose that the "k" constant in the above formula is the Penetration Threshold global parameter (Zones.cfg). Curiously, it looks like SH4 used a slightly more complicated penetration formula than SH5:

Quote:
Armor Penetration = (random number between 1-PT and 1+PT)*Shell AP + HP/ALF where
PT = Penetration Threshold. This is defined in the zones.cfg in the [Global Params] section and is 20% for RFB
Shell AP = the shell AP setting in the AmmoDamageInfo controller of the shells.ZON
HP = a random number between the minimum and maximum HP setting in the AmmoDamageInfo controller of the shells.ZON
ALF = Armor Leveling Factor. This is defined in the zones.cfg in the [Global Params] section and is 4 for RFB
source:
http://forum.kickinbak.com/viewtopic...&t=1378#p15344

If we have to believe the above source, a random number between Min and Max effect (from shell's sim file settings) is divided by the Armor Level Factor (Zones.cfg) and added to shell's AP, for penetration calculation. Apparently, in SH5 this formula has been splitted in two parts:
  • direct impact damage: only AP and Penetration Threshold are considered for armor penetration (Pen = AP * [1 + random (-k;+k)])
  • blast damage: only ED (i.e. a random function of shell's Min/Max effect and range) and a factor "4", are considered for armor penetration (Pen = ED / 4)

Based on the SH4 frormula, I suspect that this "4" factor mentioned by Dan is coming from the Armor Level Factor

Quote:
Originally Posted by TheDarkWraith View Post
Unfortunately the way they (devs) coded the engines it's either diesels or electrics - can't do both I was hoping to be able to implement this but it's not going to be possible.


Quote:
Originally Posted by TheDarkWraith View Post
Still might implement letting player decide to use electrics on the surface though Could be useful when diesels are damaged or
Yes indeed and it would come in handy also when we are running short of fuel.

Talking about it, please note that on surface electric engine's output should be similar to the one of diesel propulsion (i.e. identical rpm/speed gradient)
I hope that you can mimic this fact in game.
gap is offline   Reply With Quote
Old 07-15-13, 11:37 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Yes indeed and it would come in handy also when we are running short of fuel.

Talking about it, please note that on surface electric engine's output should be similar to the one of diesel propulsion (i.e. identical rpm/speed gradient)
I hope that you can mimic this fact in game.
Code for letting you choose to run electric engines on the surface has been added to SHSim It works great. Once the electric engines are engaged on the surface the diesels shutdown, their animation stops, diesels sound stops and electric engines noise is heard

Now just have to add a new command to the game (sh5.exe) so you can 'ask' for electric engines when surfaced.

The electric engine's ratios will be that for the electric engines. You are running electric engines if you ask for them. I don't see how the electric engines ratios should be the diesels when surfaced.
TheDarkWraith is offline   Reply With Quote
Old 07-15-13, 12:48 PM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Code for letting you choose to run electric engines on the surface has been added to SHSim


Quote:
Originally Posted by TheDarkWraith View Post
The electric engine's ratios will be that for the electric engines. You are running electric engines if you ask for them. I don't see how the electric engines ratios should be the diesels when surfaced.
You misunderstood my previous post. Engine ratios for electric propulsion shouldn't change from underwater to surface, indeed. What should change on surface is the gradient of the rpm/speed graph. Look at the below graph, which was drawn using real data:



Both the blue lines refer to diesel propulsion, under various conditions. As you can see there is a little difference among them. Not so for the red lines: Electric max (light red line) refers to electric propulsion on surface and it is considerably steeper than Electric max (dark red line, i.e. electric propulsion submerged), having a gradient practically identical to the one of the diesel propulsion. This was probably due to the extra attrition caused by superstructure and guns during submerged navigation, absent on surface.

In game, if possible, you should replace electric propulsion's max speed set in U-boat's sim file with the following calculation (only for surfaced electric propulsion):

Er * Ds / Dr

where:

Er = Electric Engine_rpm
Ds = Diesel Max_speed
Dr = Diesel Engine_rpm
gap is offline   Reply With Quote
Old 07-15-13, 12:55 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Ahead flank surfaced using electric engines yields ~ 10 knots speed currently. I think that's pretty accurate and no changes are required.
TheDarkWraith is offline   Reply With Quote
Old 07-15-13, 01:02 PM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Ahead flank surfaced using electric engines yields a little over 10 knots speed currently. I think that's pretty accurate and no changes are required.
Okay, it should be about 11 knots, which is pretty close to the speed you have measured in game. What about ahead flank submerged?
gap is offline   Reply With Quote
Old 07-15-13, 01:07 PM   #10
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

So.. it's time to eat my own words said about using electric engines on the surface
__________________
.
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 07-15-13, 02:09 AM   #11
tonschk
Sea Lord
 
Join Date: Mar 2007
Posts: 1,897
Downloads: 172
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post

Still might implement letting player decide to use electrics on the surface though Could be useful when diesels are damaged or
tonschk 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 02:13 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.