![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
06-30-10, 07:36 PM
|
#1 |
|
Black Magic
![]() |
Got the torpedo AI part working correctly now
Here's a video showing an AI plane doing a torpedo attack on a sub. The software I used to shoot the video was supposed to pause as I was moving the camera around but it didn't so there are some long pauses inbetween scenes. What you'll see is the AI plane with it's torpedo, it dropping the torpedo, it firing on the sub with cannons as it's setting up the torp shot, the torp splashing when it hits the water, and then you'll see the torp wake as it speeds off for it's target. Eventually you'll see the torp impact the sub. You'll also see the AI plane climb and head back to following it's waypoints since it was out of torps and had no bombs ![]() http://www.filefront.com/16921535/AITorpBombers.7z/ |
|
|
06-30-10, 08:44 PM
|
#2 | |
|
Planesman
![]() Join Date: Dec 2009
Posts: 191
Downloads: 172
Uploads: 0
|
Quote:
|
|
|
|
06-30-10, 08:46 PM
|
#3 |
|
Eternal Patrol
![]() Join Date: Mar 2006
Location: CATALINA IS. SO . CAL USA
Posts: 10,099
Downloads: 511
Uploads: 0
|
While watching that vid DW my jaw dropped so hard I almost broke my Keyboard.
WoW!!! is all my sore jaw can say. |
|
|
06-30-10, 09:25 PM
|
#4 | |
|
Samurai Navy
![]() Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
|
Quote:
And you've just begun on this adventure, this is really going to be exciting while following the progress of your AI work.
|
|
|
|
06-30-10, 10:03 PM
|
#5 |
|
Black Magic
![]() |
There is a lot of work to be done on the planes to make this all work. Here is the big problem when it comes to the AI planes and torpedoes: the devs in their infinite wisdom didn't place the torps correctly on the airplanes. Where they are located causes them to intercept a zone sphere or box of the airplane upon 'launch' and thus renders the torp 'dead' and useless (it would detonate if not for the minimum arming distance they have). I can't change the location because it's coded in the .GR2 files so what I have to do is manually add Txx node(s) via hex editor to every plane to correct the error. It's not hard to do but it's time consuming. If you noticed in the video the torp on the airplane hung down some from the airplane - this is just how it has to be to clear the zones boxes and spheres of the airplane when the airplane 'fires' the torp and it free falls to the water.
I've made multiple 'air torpedoes'. Each one has a different depth that it runs at. The one in the video is set to maintain 5m depth. I'm trying to implement magnetic pistols on the AI torps currently ![]() The firing of the AI torps from airplanes isn't perfect. If the target is moving the AI doesn't 'lead' the target - instead it fires right at the target and thus AI torps have a hard time hitting moving targets currently. I'm trying to figure out a way to have the AI lead the target so the torps have a better chance of hitting the moving target. I hope to have something available here soon. I also gave the AI torps 'sound'. You can hear the torp underwater if you're in external cam and you can also hear it on your hydrophone station. Last edited by TheDarkWraith; 06-30-10 at 10:27 PM. |
|
|
06-30-10, 10:07 PM
|
#6 |
|
Chief
![]() Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
|
![]() Excellent job, but don't forget to sleep !
__________________
-Fighting is a lifestyle-
|
|
|
07-01-10, 10:24 AM
|
#7 |
|
Ocean Warrior
![]() Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
|
Well done TDW!
__________________
-------------------------------- This space left intentionally blank. |
|
|
07-01-10, 04:54 PM
|
#8 |
|
Ace of the deep .
|
So what is the name of your new mod and when does it get its own thread ?
|
|
|
07-01-10, 05:08 PM
|
#9 |
|
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
|
Wow. Maybe i'll be sticking around to play SH5 afer all
.
|
|
|
07-03-10, 06:28 AM
|
#10 | |
|
Sparky
![]() Join Date: Aug 2005
Posts: 151
Downloads: 500
Uploads: 0
|
Quote:
|
|
|
|
07-07-10, 04:49 PM
|
#11 |
|
XO
![]() Join Date: Apr 2005
Posts: 410
Downloads: 18
Uploads: 0
|
Tonight was my 3rd time of being attacked by a Sunderland Patrol Plane, mid to late 41. Mostly same area west of Lorient , South of Brest.
2 shot down , 1 engine aflame. As far as I know , its Stock game 1.7 - not an AI / Aircraft mod , so Sunderland Patrol Planes are attacking. |
|
|
07-08-10, 09:26 PM
|
#12 | |
|
Soundman
![]() Join Date: Nov 2008
Location: Savannah, GA
Posts: 142
Downloads: 130
Uploads: 0
|
Quote:
__________________
![]() [Eat at Bob's Brain Shack] |
|
|
|
07-08-10, 11:30 PM
|
#13 |
|
Black Magic
![]() |
I bet this will get you more 'attention' by the AI and more than likely sunk by them also: http://www.subsim.com/radioroom/show...91&postcount=1
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
