SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [Done] AI planes dropping homing torpedoes by Peabody (https://www.subsim.com/radioroom/showthread.php?t=166163)

keltos01 03-25-10 05:53 PM

[Done] AI planes dropping homing torpedoes by Peabody
 
Homing torpedoes dropped from AI planes (Peabody's mod)

http://img411.imageshack.us/img411/6...ngtorptest.jpg

sitting ducks

http://img109.imageshack.us/img109/3776/carriers.jpg

Carriers coming !

http://img716.imageshack.us/img716/6894/planese.jpg

planes bearing 98 !

http://img641.imageshack.us/img641/885/torp.jpg

torpedo drop :

http://img683.imageshack.us/img683/5104/dropu.jpg

torpedo :

http://img11.imageshack.us/img11/1783/torpe.jpg

seeking.....

http://img256.imageshack.us/img256/7012/seeking.jpg

target !

http://img248.imageshack.us/img248/2345/targeti.jpg

tracking.....

http://img265.imageshack.us/img265/2791/tracking.jpg

in sight....

http://img36.imageshack.us/img36/5759/insightc.jpg

close...

http://img440.imageshack.us/img440/4058/close.jpg

BOOM !!!

http://img268.imageshack.us/img268/2999/booomth.jpg

TORPEDO HIT !!!!!!


http://img532.imageshack.us/img532/3307/hit2.jpg

http://img91.imageshack.us/img91/8017/jolox.jpg

damage :

http://img69.imageshack.us/img69/8454/damageu.jpg


BRAVO PEABODY !!!!!!!!

:D :salute::yeah::yeah::yeah:

peabody 03-25-10 07:41 PM

Keltos,

I didn't really have to do anything, the torps work in game, just need to change to homing if you want them.

But the game does have a bug, the material node on the torpedo uses Torpedo.tga and the texture Torpedo.dds is the pic used for the dials to fire a Salvo, so the torpedo.dat file is using the wrong .tga/.dds.

Peabody

ETR3(SS) 03-25-10 10:20 PM

If I may add my two cents here. I've noticed that in 1.4 the air dropped torpedo has the correct texture, however in 1.5 you get what you see in the screen shot here. Might be a place to start to get the texture correct.

peabody 03-25-10 10:54 PM

Quote:

Originally Posted by ETR3(SS) (Post 1334437)
If I may add my two cents here. I've noticed that in 1.4 the air dropped torpedo has the correct texture, however in 1.5 you get what you see in the screen shot here. Might be a place to start to get the texture correct.

Thanks, unfortunately I don't have 1.4 installed, but no big deal we can change it to one of the other torpedo textures. It makes sense though, since I think the image is for the dials in a uboat for firing salvos. Someone just used the same name for a texture I guess.

Peabody

keltos01 03-26-10 02:13 AM

what we'd need is a clone of a torpedo bomber, use that one sparingly in the campaign, starting in 1944 as in RL, and let that one carry the homing torpedoes.


They usually patrolled in pairs, not single planes.


I love it ! next we'll have MAD equipped IJN planes hunting down Fleetboats :arrgh!:

keltos

Quote:

The Mark 24 Mine (also known as FIDO or Fido) was a US air-dropped passive acoustic homing anti-submarine torpedo used during the Second World War against German and Japanese submarines. It entered service in March 1943 and continued in service with the US Navy until 1948. Approximately 4,000 torpedoes were produced, sinking 37 and damaging a further 18 submarines out of a total of 204 fired. The torpedo was also supplied to the British and Canadian forces.
  • Warhead: 92 lb (41.7 kg) Torpex high explosive.
  • Propulsion: 5 hp (3.7 kW) electric motor driving a single propeller, powered by a 48 volt lead acid battery.
  • Speed and endurance: 12 knots for 10 minutes, giving a range of about 4,000 yards (3,700 m)




Quote:

The first sinking with FIDO occurred in May 1943 and was possibly U-640 or U-657. During its career, the torpedo sank a total of 37 submarines, achieving an effectiveness of about 22%, compared with about 9% for depth charges.
Quote:

The torpedo's relatively low speed was kept secret since, while U-boats could not outrun the torpedo underwater, they could outrun it on the surface.
wikki


http://en.wikipedia.org/wiki/Mark_24_Mine

keltos01 03-26-10 03:07 AM

New Homing Torpedo Dropping Avenger Plane
 
http://img268.imageshack.us/img268/2...irhomingus.jpg
original torpedoair

http://img175.imageshack.us/img175/2484/homingair.jpg

Homing torpedoair : mk27 model, fixed screw and detonator animation according to new model


I never made a new plane for the game before.. :


- I cloned the ATB Avenger like I would a sub's files.

- I set it in the american roster :

[UnitClass]
ClassName=USTorpedoBomberhoming
UnitType=303
AppearanceDate=19390101
DisappearanceDate=19480101
DisplayName=US TB Torpedo Homing

[Texture 1]
TextureName=data/Air/ATB_USTorpedoBomber_homing/ATB_USTorpedoBomber_homing_T01.tga
StartDate=19000101
EndDate=19991231
Frequency=1

- I cloned the airtorpedo :

Torpedo_Air_US_homing

I set the torpedo .sim and .zon to the spec of the real torpedo
I imported the mk27model
I fixed the propeller's animation
I added an animation to the detonator : it now spins :)

- I made new textures : Torpedoairhoming

what am I missing to have it ingame ???

keltos

clayp 03-26-10 04:50 PM

I think I was going to ask yesterday if this will work with 1.4 and RFB? dam old age......:damn: Peabody where did you get all those japaknes subs etc....

TH0R 03-26-10 05:15 PM

Planes taking of carriers, air dropped homing torpedoes (possibility for MAD equipped IJN planes hunting down Fleetboats), Radar Range Unit [WIP], Narwhal... SH4 is turning into a whole new sim! I'll take it over SH5 any day. :)

Some great stuff you guys are working on here. :up:

Armistead 03-26-10 05:23 PM

Just wish we could get all these things working in career mode with the supermods....

keltos01 03-26-10 05:30 PM

that's the plan :yep:

we start with stand alone mods that we integrate later in our larger mod, like I did for the jap subs, this is meant for the IJN campaign Climb Mount Niitaka.

But I could never do a quarter of the stuff I do without Peabody.

Keltos

@clayp : this is for the IJN side player.. the IJN had no homing torpedoes, but if it works it could well be done for the other side ;)

the IJN had MAD though, and DC to go along : they would screen in front of convoys and could spot a sub at ? 100 feet deep 100 m on either side of the plane, I think some US subs were attacked that way, but as always too little too late

peabody 03-26-10 07:04 PM

Quote:

Originally Posted by clayp (Post 1335636)
I think I was going to ask yesterday if this will work with 1.4 and RFB? dam old age......:damn: Peabody where did you get all those japaknes subs etc....

Howdy Clay, hope you are feeling well.

I don't have a separate install of 1.4 so I can't test or even make a version for it. But right now we are still testing to see if they will actually work correctly.

Most of the stuff we are using is from the US stuff so it would probably work ok, but I don't know about RFB, don't know what files are changed. I would have to look at it.

Keltos built the Japanese Subs for our Japanese Campaign which is way behind schedule due to some Real Life problems on my part. He had some subs and I was writing a Campaign and decided on Japanese since there was TMO, RSRD, RFB and OM so Japanese was the only thing left and he needed a place to put his subs, so we teamed up. Someday maybe I can get my part done.

Peabody

Jan Kyster 03-26-10 08:25 PM

Quote:

Originally Posted by keltos01 (Post 1335690)
.. the IJN had no homing torpedoes, but if it works it could well be done for the other side ;)

For crying out loud, man! Delete before Ducimus sees it! :stare: :o

clayp 03-26-10 11:46 PM

RGR bud...:up:

Bubblehead1980 03-27-10 01:23 AM

yep, i am looking forward to the day we have MAD equipped planes in SH that works with TMO RFB etc.Will be wondering how planes are nailing us at 250 or 300 feet lol good stuff.

TH0R 03-27-10 04:02 AM

Is this a die marker or what? :)

You probably know this already, but I'll post it anyway. MAD related:

http://ibiblio.org/hyperwar/AAF/USSBS/IJO/IJO-48.html

Q. Describe by diagram the employment of MAD planes in convoy coverage?

http://ibiblio.org/hyperwar/AAF/USSB...plate_48-1.jpg

Q. What was the procedure when your MAD discovered a submarine?

http://ibiblio.org/hyperwar/AAF/USSB...plate_48-2.jpg

peabody 03-27-10 02:41 PM

Now for the bad news, it doesn't work.

For some reason on the initial testing I had a line of stationary ship in a north/south line. There were also two carriers steaming at 20 knot east to west.
The planes in the mission toward the North/south line of ships and dropped the torpedoes and the torpedoes hit the Carriers traveling east west about 1500 yards north of where the torps were dropped. This happened twice in two different test.
But apparently it was a fluck, I do not know why the torps turned and headed for the carriers but I have been unable to reproduce the event. In fact I can not even get a 'homing torpedo' on a plane.

What happened in the test is still a mystery.

Peabody

ETR3(SS) 03-27-10 03:08 PM

If I remember correctly there is a huge difference in the manner in which air dropped torpedoes work in 1.4 and 1.5. I believe in 1.4 when the torpedo was dropped it behaved like you would expect. However in 1.5 when the torpedo is released it immediately begins traveling quickly in the opposite direction of the dropping aircraft. I'll set up a mission to test this out to see if my memory serves me right and post the results here. This could help with your testing.

peabody 03-27-10 03:40 PM

Quote:

Originally Posted by ETR3(SS) (Post 1336827)
If I remember correctly there is a huge difference in the manner in which air dropped torpedoes work in 1.4 and 1.5. I believe in 1.4 when the torpedo was dropped it behaved like you would expect. However in 1.5 when the torpedo is released it immediately begins traveling quickly in the opposite direction of the dropping aircraft. I'll set up a mission to test this out to see if my memory serves me right and post the results here. This could help with your testing.

I have not had that happen (going in the opposite direction). I have been close to the plane and had it appear to go backwards. But if I stay a ways behind the plane, I found that what was happening is the plane is going at 120MPH and I have had the torpedo drop at the speed it is going to travel in the water, don't remember exactly but somewhere between 30-40 knots.

So it appears to go backwards. In other words it doesn't come off the plane like its should, traveling at the same speed as the plane.
But maybe what you have experienced is different, I appreciate any information you have.
It is a mystery why the torps hit the carriers. They were US planes and US carriers so they should not have been attacked.

But any testing data you have would be appreciated.

Peabody

keltos01 03-27-10 04:18 PM

In the test pictures I showed at the beginning of the thread, the torpedo dropped backwards, hit the water, then moved backwards and down deep (I followed it all the way) then started moving forward again, went up to torpedo depth (5 feet I believe) and went straight to the target.

in a pm, lurker_hlb3 told us :

Quote:

I too “cloned” the Torpedo_Air_US into a “Mk24” and took the 3d model of the “MK27” so it would appear as a real “MK24”, however even though you change the “type” in amun_AirTorpedo from “AIR” to “Mk27TorpUS” in the .sim file, the system still treated the weapon as a “straight” running non-homing torpedo.

All test showed that the “only” time you would every get hit is if you were on the surface going in a “straight” line at speed of 6 knots or less. If you were at “periscope” depth the torpedo would go right over the top of you and unlike a true home torpedo, it would not turn to re-engage me.
so we still have to work on the homing..

keltos

peabody 03-27-10 04:34 PM

Quote:

Originally Posted by keltos01 (Post 1336904)
In the test pictures I showed at the beginning of the thread, the torpedo dropped backwards, hit the water, then moved backwards and down deep (I followed it all the way) then started moving forward again, went up to torpedo depth (5 feet I believe) and went straight to the target.


so we still have to work on the homing..

keltos

So you must be seeing the same thing ETR3 is talking about. I haven't seen that, but I have only followed a couple torps "ALL the way".
Peabody


All times are GMT -5. The time now is 03:58 PM.

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.