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 09-07-12, 03:32 PM   #1
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default Crash dive randomization ...

Hi guys,

I added a code to the SH3 long patrol script (see here: http://www.subsim.com/radioroom/showthread.php?t=193794 ) that randomize the crash dive behaviour.

All we feel that Sh3 is sometimes too previsible in it´s behaviour (in truth it don´t have almost nothing randomizible on it to we work on). The air attacks are that boring exactly because you will hit the C key to crash dive all tthe time and it will be almost always the same final attack result...

But no more! As said above, i added a code that made the crash dive suscetible to problems as it must be in real life as it was a emergency manouver that sometimes catch the crew outside the boat, engines in maintenance, open hatchs , etc. This is exactly what this code do.
Below a tease of it:

c::
Suspend, Permit
Send %_TC_1%
Random, rand, 0, 9
if rand <= 2
{
Send %_Crash_dive%
}
if (rand >= 3 and rand <= 8)
{
Soundplay, %A_ScriptDir%\data\Sound\SOUND1_.wav
Sleep, ((4000)*(rand-2)+6000)
Send %_Crash_dive%
Sleep, 30000
Random, prob, 0, 9
If prob > 7
{
Send %_Ahead_third%
Sleep, 10000
Send %_Maintain_depth%
Sleep, 5000
}
SoundBeep, 750, 150
;BlockInput, off
}
if rand = 9
{
Soundplay, %A_ScriptDir%\data\Sound\SOUND1_.wav
Sleep, 10000
Send %_Ahead_third%
Send %_Dive%
Sleep, 70000
Random, prob, 0, 9
If prob > 6
Send %_Hard_to_port%
If prob < 3
Send %_Hard_to_starboard%
Send %_Maintain_depth%
SoundBeep, 750, 150
}
return

This reduces the normal crash dive routine only to a propability of 30% chance. Then a trouble crash dive with dive or engine problems at 60% with variable delay in time to dive and finally at 10% that a crash dive could be not possible at all and just a messy and slow dive routine could be done.

I played the game a bit with it and it´s much more interesting because you never know what really await you over there.

If someone is interested i can update the Sh3 Long patrol script (it´s possible to only runs this crash dive routine from it if you want, etc)

Cheers!

Rubini.
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve

Last edited by Rubini; 09-08-12 at 08:19 AM.
Rubini is offline   Reply With Quote
Old 09-08-12, 02:05 AM   #2
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,698
Downloads: 173
Uploads: 7
Default

The randomization of crash diving would be a major boost in the realism of the game. I remember reading once that during a crash dive of Teddy Suhren's U-564 a rag of oily cloth dropped on the engine, got fire and they had to suppress a fire during the escorts approach. I'm not quite sure if I want my game to be that realistic but I would definitely try your mod. It would be good though, if the random effect could be controlled, so that playing would not become too difficult.
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS
sublynx is offline   Reply With Quote
Old 09-08-12, 03:54 AM   #3
VONHARRIS
Konteradmiral
 
Join Date: Apr 2010
Location: Greece
Posts: 1,992
Downloads: 300
Uploads: 0
Default

Just to make sure but I don't think this little add-on can be used without the SH3 long patrol script, right?

Thank you.
VONHARRIS is offline   Reply With Quote
Old 09-08-12, 08:15 AM   #4
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Quote:
Originally Posted by VONHARRIS View Post
Just to make sure but I don't think this little add-on can be used without the SH3 long patrol script, right?

Thank you.
It´s possible to make it alone but not necessary. If you start the game using Sh3 long patrol script the sound for snorkel up and down (absent on sh3 and impossible to mod until now) and the crash dive randomization are available without run it, i mean the main script can stay paused but these features works anyway. This way they are "independent" from each other.

Note that this crash dive feature isn´t on the SH3 LP script version that is available for download. I need to upload a updated version with it.

Yesterday I played the game for 8 hours (it was independence day here in Brazil), was found by torpedos bombers or rockets planes 4 or 5 times. Also some hunt killers groups. This crash dive feature is a must, the game is really much better with it. And not more difficult, but much less bored. It was late 1943 and in one campaign i lose my propellers by a FIDO, tried the Stieblers Surrender mod and was "rescue by a axis vessel" and my carrer could continue. In another one was very bad damaged by rockets and then cacth by 2 allied destroyers. If not the crash dive randomization my carrer should be only stoped by depth charges ... if it was.

These were the very bad damaged encounters, but the crash dive randomization please me with a lot of other tenses moments where I needed to fight for the life of my crew and the integrit of my uboat!

In truth isn´t only it, I also run my game with much more random planes detection adjusting the RWR sensibility (and put on it a probability, absent on the game) and also my visual planes detection (Note: just for planes) is now much less accurate as it was in RL. So no more difficult game, but really a more challenge and enjoyable one. Stiebler´s and Hsie´s weather fix also are important for the above results.
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 09-08-12, 08:48 AM   #5
andqui
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 195
Uploads: 0
Default

Quote:
Originally Posted by Rubini View Post
In truth isn´t only it, I also run my game with much more random planes detection adjusting the RWR sensibility (and put on it a probability, absent on the game) and also my visual planes detection (Note: just for planes) is now much less accurate as it was in RL. So no more difficult game, but really a more challenge and enjoyable one. Stiebler´s and Hsie´s weather fix also are important for the above results.
Will the visual sensors randomization, that you mentioned here and a few days ago, be available for others? If so, I'd love to have it.

thanks
andqui is offline   Reply With Quote
Old 09-08-12, 09:06 AM   #6
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Quote:
Originally Posted by andqui View Post
Will the visual sensors randomization, that you mentioned here and a few days ago, be available for others? If so, I'd love to have it.

thanks
Thanks andqui by the interest!

No, yet not released. But is so easy to make it that I will explain how you can get a instant mod that to have different visual sensors for ships ansd for planes in few seconds!:

1. Open your Sensors.dat with S3D (make a backup of it first!)
2. Goes to Visual sensor and changes this entry:

MaxHeight=15000(may vary between mods) to MaxHeight=5

3. Also make sure that on zones.cfg your Observation or Attack periscope is indestrutible (they can take damage but will be not destructed). One of them is enough.

How it works:

The MaxHeight=5 on player main Visual Sensors is enough to you detect any surfaced vessel normally, but you will not more detect planes with it. The planes are now detected by the periscopes visual sensors (it work in paralell with the main Visual sensor). So, the planes visual detection is now much more short. I also added probability to my Visual periscope, no side effects for periscopes but the planes detection is yet more challange. This one needs some more changes on the files, so needs official release. But the above already make your game much better. Try it and see!
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 09-10-12, 10:20 AM   #7
CaliEs
Loader
 
Join Date: Oct 2011
Posts: 89
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by Rubini View Post

This reduces the normal crash dive routine only to a propability of 30% chance. Then a trouble crash dive with dive or engine problems at 60% with variable delay in time to dive and finally at 10% that a crash dive could be not possible at all and just a messy and slow dive routine could be done.
I doubt that the "30%", "60%" "10%" reflects the real life crash diving behaviour. Crash diving was a livesaving, essential task and therefore always on the crew's mind when the boat was surfaced.
I would sugggest 80 16 4 or something similar.
__________________
Dietrich von Carlewitz, 2nd Lt.
U-29
CaliEs is offline   Reply With Quote
Old 09-10-12, 11:08 AM   #8
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,698
Downloads: 173
Uploads: 7
Default

This is a U-boat's crash dive procedure:

1. An electric bell gives the alarm.
2. The bridge watch prepares the bridge (close voice tube, demount portable machine guns, remove water-tight binoculars from UZO, remove radar detector aerial if necessary, etc.).
3. Simultaneously, vent valves for ballast tanks 5, 2/4, Quick diving tank (if empty) and 3 are opened in that order flooding from bow to stern to overcome the natural stern heaviness of the boat. If fuel is in ballast tanks 2 and 4, the main vent valve is opened with the inner vent valve remaining closed to equalize pressure in the ducts.
4. Simultaneously, the Petty Officer of the Watch goes below to his action station at the forward hydroplanes; the port quarter look-out follows to his action station in the conning tower with the Commanding Officer. The starboard quarter look-out goes below to the after hydroplanes. The Officer of the Watch is the last to go below. It is his duty to close the conning tower hatch. He then goes to his action station in the Control Room.
5. Simultaneously, close Supply and Exhaust air ventilation valves and any other openings in the pressure hull.
6. Planesmen position fore plane down and stern plane up. If it is a crash dive personnel not on watch might be ordered to move to the forward torpedo room to help get the bow under water. Initial angle of dive 4-7° to avoid propellers "racing".
7. Simultaneously, engine room personnel shut down and unclutch Diesel engines and shut the external air intake and exhaust valves.
8. Simultaneously, electric motor room personnel start electric motors
9. When the desired down angle is achieved (normally 12-15° but can go as high as 30 ° in a crash dive - at more than 40° acid may leak from battery cells) vent valve for ballast tank 1 is opened.
10. Simultaneously, the planes are brought to neutral position. Shut off Papenburg depth gauge at 18 meters and Precision depth gauge passing 20 meters.
11. Quick diving tank is blown just short of empty to avoid releasing bubbles. This should result in the boat being at slightly positive buoyancy because the Regulating/Compensating tank is adjusted and maintained to achieve that.
12. Once tanks are flooded, the valves are shut
13. When desired depth is approached forward dive planes were moved up and stern down to level the boat at desired depth.
14. Boat is maintained at depth dynamically by use of the dive planes.
15. Because air in the regulating tanks compressed with increasing depth the boat would grow heavier and the ballast pump or compressed air would be used to keep the boat at slightly positive buoyancy the opposite would occur if the boat moved to a shallower depth and water would be taken in.


There' a lot can go wrong in a procedure this complicated. The seamen in a U-boat are also tired and stressed, their close ones might have just died in the Eastern Front or in the bombings of German cities and most of the seamen are recruits, not professional soldiers with years of practice behind them.

However I agree with CaliEs that the failure percentage could be smaller. Playing the game might get too difficult with the values now planned. I hope that the values can be changed easily to match each player's preferred difficulty level.
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS

Last edited by sublynx; 09-10-12 at 11:09 AM. Reason: typo
sublynx is offline   Reply With Quote
Old 09-10-12, 04:10 PM   #9
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Quote:
Originally Posted by CaliEs View Post
I doubt that the "30%", "60%" "10%" reflects the real life crash diving behaviour. Crash diving was a livesaving, essential task and therefore always on the crew's mind when the boat was surfaced.
I would sugggest 80 16 4 or something similar.
Quote:
Originally Posted by sublynx
There' a lot can go wrong in a procedure this complicated. The seamen in a U-boat are also tired and stressed, their close ones might have just died in the Eastern Front or in the bombings of German cities and most of the seamen are recruits, not professional soldiers with years of practice behind them.

However I agree with CaliEs that the failure percentage could be smaller. Playing the game might get too difficult with the values now planned. I hope that the values can be changed easily to match each player's preferred difficulty level.
Hi mates,

Thanks by yours comments and suggestions.
As I said one post above I´m playing the game with all these things together (also with last Hsie&Stiebler fix) and I can say that the result is very good!

IMHO, the main problem in stock crash dive time is that it is exactly the same all the time. In real life we can guess for sure that it was not. Even the different sea states probably make it be different for each time, just imagine now with all the above procedures described by sublynx ...

The Crash dive randomization (as it is now) just abort completely the crash dive by 10%, the others 90% is just a normal crash dive with different times to acomplish it. In the game that I´m playing now, it is setted to vary from 0 sec (normal) to more 40 sec. It´s in truth a very small difference: probably in real life the difference was much major if just one of the above procedure had only a small delay.

So, I agree that a very big differences in CD could be not the best option, but as it is now on CD randomization it is far from this.

I intend to make the CD randomization adjustable by users, it´s relatively simple to implement this on the code....Then probably you will finish with yet more agressive times than the ones that i´m playing now ... just for challenge purposes!
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 09-11-12, 02:33 AM   #10
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,698
Downloads: 173
Uploads: 7
Default

Quote:
Originally Posted by Rubini View Post
Then probably you will finish with yet more agressive times than the ones that i´m playing now ... just for challenge purposes!



True,that is very likely to happen. You seem to know well how we SH3 gamers think
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS
sublynx is offline   Reply With Quote
Old 09-15-12, 02:49 PM   #11
andqui
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 195
Uploads: 0
Default

Have you had the chance to test it out more- is the code working as intended? And do you have any more information on changing the sensors? I've gone and reduced the maxheight of the visual sensor to 5, which seems to work ok- but when leaving port, with constant planes buzzing around, I only "spotted" one of them with the periscope sensor, out of the maybe 5 flying around lorient. Does this sound correct- to me, it seems as if I'd only see maybe 1/5 planes around, which seems a bit extreme. What is the detection like on your end?

thanks
andqui is offline   Reply With Quote
Old 09-15-12, 04:49 PM   #12
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Quote:
Originally Posted by andqui View Post
Have you had the chance to test it out more- is the code working as intended? And do you have any more information on changing the sensors? I've gone and reduced the maxheight of the visual sensor to 5, which seems to work ok- but when leaving port, with constant planes buzzing around, I only "spotted" one of them with the periscope sensor, out of the maybe 5 flying around lorient. Does this sound correct- to me, it seems as if I'd only see maybe 1/5 planes around, which seems a bit extreme. What is the detection like on your end?

thanks
The suggested fix is working as intend at my end. Obviously you will only detect airplanes by visual (crew) at 6000m max (the default periscope visual sensor max dist setting) if using this fix. I don´t know if any supermod have changed this max dist, could be a good idea to check your sensors.dat. Anyway, even for 6000m, using 16km environment, will be much more restrictive for detect planes, but this is exactly the idea! Isn´t important, IMHO, to detect axis planes at harbours or even allied ones if any. The game is out there on the open ocean at first, do you not agree?
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Reply


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 05:54 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.