SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL] Torpedo Alarm Mod (https://www.subsim.com/radioroom/showthread.php?t=236184)

LGN1 01-08-18 04:13 PM

Torpedo Alarm Mod
 
Hi,

here is a new little mod:

http://www.subsim.com/radioroom/down...o=file&id=5310

Readme:

Torpedo Alarm Mod Readme

LGN1

January 2018

This mod solves a problem which has annoyed me for many years: the missing reaction of ships to premature torpedo explosions (when you attack a ship and the torpedo prematurely explodes the ship/convoy just continues as if nothing has happened). I think this is higly unrealistic.

This mod causes ships to react as being hit when a torpedo explodes within the range of 1000m.

Known issues: There are no damage textures to a ship's hull when a torpedo hits it. Unfortunately, I was not able to fix this. However, for players who do not use the external camera, this should hardly matter.

Best, LGN1

Niume 01-10-18 10:09 AM

Neat mod would be awesome somehow to make ships play sound then they are hit

Obltn Strand 01-10-18 04:54 PM

Cool. You keep producing these awesome little mods. Thanks man. Saves me the trouble of firing couple of rounds from deck gun or going flank speed submerged for awhile in order to get spotted.

makman94 01-10-18 08:39 PM

Very nice LGN1 :Kaleun_Applaud:

Tycho 01-28-18 04:51 PM

Great addition to the realism LGN1. :Kaleun_Applaud:
I must have integrate it immediately, maybe will rise it to 2000m!

rudewarrior 01-28-18 10:58 PM

Hi LGN1,

Is there some way you can give me a brief explanation of the alterations that you made? I have a bit of a mod soup and my torpedo.dat and torpedo.sim files are both ingredients. Unless you know a way that I can compare a file to a default GWX file and see what the differences are. Then I could do it myself.

Thanx in advance.

LGN1 01-31-18 04:12 PM

Hi,

thanks for your positive comments! I'm glad you like it.

BTW, I forgot to mention that the current mod only changes TI, TII, and TIII (I was too lazy to adapt it for the later torpedoes). It's easy to do it also for the other torpedoes, however, since there are hardly any premature explosions later in the war, I did not do it.

@rudewarrior: I can give you a detailed explanation, however, it will take some time because I'm incredibly busy at the moment.

Best, LGN1

rudewarrior 01-31-18 11:03 PM

Quote:

Originally Posted by LGN1 (Post 2539389)
BTW, I forgot to mention that the current mod only changes TI, TII, and TIII

That explains some things. I'm getting a better understanding of what you did.

Quote:

@rudewarrior: I can give you a detailed explanation, however, it will take some time because I'm incredibly busy at the moment.
Cool, thanx. PM me when you get a chance (if you want). Good luck.

Stiebler 02-01-18 07:43 AM

This mod by LGN1 works very well with NYGM.
It causes any ship or convoy where a torpedo has exploded prematurely (ie, without a hit, but within 1,000m of a ship) to react as though it has detected a U-boat.

It took ages for me to get a torpedo to explode near a ship! Kept using Type II torpedoes with real campaign files in 1939 and 1940, checked the torpedo dud settings in the stock game and H.sie’s torpedo mod. But finally there was a definite explosion-near-ship on a solo merchant ship, which started weaving. And then a salvo attack on an escorted convoy off East Anglia. No hits, but a premature near a ship and the convoy started to weave!

So great work, LGN1! This is something I have wanted for years, but couldn’t work out a hard-code fix. Like Rudewarrior, I'd be really interested in knowing the principle you used to fix this problem.

Stiebler.

ivanov.ruslan 02-01-18 08:27 AM

Good work!
I have always expected any reaction in these cases....

schlechter pfennig 02-01-18 09:58 AM

I tried using this, but experienced something different: instead of having premature detonations spooking ships, virtually every keel-shot would explode under the ship but, instead of doing damage, I'd get a "torpedo missed" message. I actually external-viewed around 5 shots and saw that happen.

LGN1 02-01-18 04:20 PM

Hi,

@schlechter pfennig: I have never experienced something similar and can't understand why this should be caused by the mod :hmmm:

Has anyone else experienced something similar?

How it works:

The basic idea is that when a torpedo explodes a depth-charge is spawned which also explodes. The two explosions allow one to have a 'long-range' explosion with almost zero damage and a 'short-range' explosion like the regular torpedo. Unfortunately, only the torpedo explosion/damage triggers the wanted reaction, i.e., the torpedo must be used for the 'long-range' explosion and the depth-charge for the 'short-range' damage. (This is not perfect because only the torpedo explosion seems to trigger the damage texture if it causes enough damage. However, if the torpedo explosion gets too strong, your own boat is also damaged when closer than 1000m).


Required changes:

Torpedo.sim; amun_Torpedo: New ID for the 'under_explosion' pointing to the DC generating effect and 'impulse = 0'

Torpedo.zon; AmmoDamageInfo: MinEF=1, MaxEF=2, AP=0, MinRadius=1, MaxRadius=1000 (make the torpedo explosion weak and long-range)

Torpedo_splash.dat; adjust the depth-charge parameters according to your original torpedo.zon parameters (explosion_range, MinEF,...)

You can do this for all the torpedoes.

I hope the explanation is clear enough. If not, please ask again.

Best, LGN1

Stiebler 02-02-18 11:38 AM

@LGN1:

Thanks very much for your very clear explanation about how you have made this mod.

Very clever too!

Stiebler.

rudewarrior 02-04-18 09:43 AM

Quote:

Originally Posted by LGN1 (Post 2539568)
I hope the explanation is clear enough.

This is excellent. Thank you. I think I understand everything and now I just need to go about modifying my files.

Thanx for the explanation! :salute:

John Pancoast 04-29-19 11:13 PM

I've been trying this mod for a the last few days. Can't get a ship to sink with it.
i put four torpedoes at different locations in the big cargo ship in the torpedo academy lesson..........three game hours later, still steaming along, no sinking/lowering in the water at all.
I did this three times.
I then disabled the mod, and boat sunk with one or two, like before. Anyone else ? I'm well aware of the NYGM damage model and do not feel that is the problem.

divemonkie 04-30-19 09:11 PM

Man this would be great for SH4 as better than 50% of our torps are duds.

rudewarrior 01-13-20 01:12 PM

Quote:

Originally Posted by John Pancoast (Post 2606459)
I've been trying this mod for a the last few days. Can't get a ship to sink with it.
i put four torpedoes at different locations in the big cargo ship in the torpedo academy lesson..........three game hours later, still steaming along, no sinking/lowering in the water at all.
I did this three times.
I then disabled the mod, and boat sunk with one or two, like before. Anyone else ? I'm well aware of the NYGM damage model and do not feel that is the problem.

Sorry to necro this thread, but I have just discovered this behavior too. I was doing just fine in the beginning of the war, but now in the middle with impact torpedoes, it seems there is some issues with this. I just did a mission in the SE Caribbean and fired several torpedoes at ships with lots of impacts and it didn't affect the ships at all. They started weaving, but no visible damage, no evidence of taking on any water. It's weird, because it seems to be some sort of intermittent issue.

Pulling it out of the soup.

John Pancoast 01-13-20 01:20 PM

Quote:

Originally Posted by rudewarrior (Post 2644491)
Sorry to necro this thread, but I have just discovered this behavior too. I was doing just fine in the beginning of the war, but now in the middle with impact torpedoes, it seems there is some issues with this. I just did a mission in the SE Caribbean and fired several torpedoes at ships with lots of impacts and it didn't affect the ships at all. They started weaving, but no visible damage, no evidence of taking on any water. It's weird, because it seems to be some sort of intermittent issue.

Pulling it out of the soup.

No big deal. Normally, within a short time of a dud I have another torpedo hit something and the ships start reacting then anyway.

LGN1 01-14-20 04:32 PM

Hi,


sorry for the problems :hmmm:


You are both using NYGM?


Is the problem reproducible for you, rudewarrior? (I remember that I had 2-3 instances with the British sub in GWX being unsinkable (https://www.subsim.com/radioroom/sho...d.php?t=178626))


Do you remember what torpedoes you used? TI, TII, TIII, FaT,... or a mixture? This might be a hint why the problem only occurs later during the war.


Cheers, LGN1

rudewarrior 01-14-20 08:12 PM

So, I use a heavily modded version of GWX.

Here are some observations:

It seems to be a problem when I am using impact torpedoes specifically. It also seems that the faster the ship is going, the more likely there is a problem. It could be that the "later in the war" issue is caused by using magnetics earlier vs. impacts mid-war. I haven't seen an issue in large convoys. Only small convoys of 2-4 ships. Also, if I am firing a torpedo while I am submerged and I am close to the detonation, the boat bucks wildly. I drop from periscope depth to 20 m and the periscope extension indicator start wildly bouncing up and down. This is probably due to the depth charge shake mod; however, it is interesting that I haven't seen the phenomena in convoys. The explosions in convoys that are close when submerged are usually more off to the side, so it may be that depth charge shake doesn't roll the boat so much as pitch it.

I have wondered if the depth charge explosion is somehow short circuiting the torpedo explosion. Possibly not giving it enough time to develop and do damage.

When on the surface, and I am close, I know the depth charge damage is happening. This is because I get the blurry screen with the "groaning sailor" sound effect. If I had decided to continue with the mod, I would like to have gotten close with a hit and then checked the hull integrity in the actual save game file. When you are in the game, the game only reports damage to the hundredths place. The save game keeps track to something like the ten thousandths place. I am curious if the damage is reported in the save game file and then rounded, because it is so small. I am also curious if this messes with SH3Cmdr's randomization of days in base.

I also have a tendency to attack single ships with the idea that I must expend a torpedo before surfacing and attacking with the deck gun, to simulate how the deck gun was used. So I may not be giving the target the time to show no symptoms of taking damage. This may also speak to the early war vs. mid-war thing.

Another thing is I had just switched the electrics from 5000m @30kts to 3000m @28kts, but I was noticing it in ATO's as well.

Recognize also, that these observations are all anecdotal, there was nothing scientific to how I approached thinking about this.


All times are GMT -5. The time now is 04:12 AM.

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