SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 5 (https://www.subsim.com/radioroom/forumdisplay.php?f=244)
-   -   Friendly ships and Sonar and Submarines (https://www.subsim.com/radioroom/showthread.php?t=201542)

V13dweller 01-20-13 09:57 AM

Friendly ships and Sonar and Submarines
 
Are the Italian and German Destroyers armed with Sonar? Because in a mission I created, the friendly ships don't seem to track or attempt to destroy the allies U-class submarine once they dive.
The ships seem to only attack on the surface.
And the all submarines I spawn in the editor, as soon as they see an enemy ship, they dive and crash into the seafloor and just grind againts it in a direction I have not plotted for them, any idea's why?
The Submarines also surface randomly, then get sunk, they also defy the course set by them.

TheDarkWraith 01-20-13 10:10 AM

Quote:

Originally Posted by V13dweller (Post 1995980)
Are the Italian and German Destroyers armed with Sonar? Because in a mission I created, the friendly ships don't seem to track or attempt to destroy the allies U-class submarine once they dive.
The ships seem to only attack on the surface.
And the all submarines I spawn in the editor, as soon as they see an enemy ship, they dive and crash into the seafloor and just grind againts it in a direction I have not plotted for them, any idea's why?
The Submarines also surface randomly, then get sunk, they also defy the course set by them.

Let me guess you have no AI mod installed correct? Install my IRAI mod :yep: Once a unit detects an enemy it no longer follows waypoints (unless it's AI script explicity states for it to)

V13dweller 01-20-13 10:23 AM

Thank you for your input, I will try your mod right away :).

TheDarkWraith 01-20-13 10:26 AM

Quote:

Originally Posted by V13dweller (Post 1996000)
Thank you for your input, I will try your mod right away :).

I''ll warn you now that it completely changes the AI. Life will not be easy anymore :D

V13dweller 01-20-13 10:55 AM

Also, are the enemy and friendly AI subs capable of using their deck guns?

TheDarkWraith 01-20-13 11:03 AM

Quote:

Originally Posted by V13dweller (Post 1996012)
Also, are the enemy and friendly AI subs capable of using their deck guns?

I have not been able to get any of the AI subs to fire their deck guns :wah:

V13dweller 01-20-13 11:06 AM

And can the Montecuccoli cruiser use the single depth charge rack it has, and does it have a sonar to make use of this rack?

TheDarkWraith 01-20-13 11:08 AM

Quote:

Originally Posted by V13dweller (Post 1996020)
And can the Montecuccoli cruiser use the single depth charge rack it has, and does it have a sonar to make use of this rack?

If a unit has DCs it will use them. In order to see if a unit has some kind of sensor you need to open it's .sns file found in \data\Sea\unit name. To see what equipment it has (guns, etc.) open up the .eqp file. These can be opened with Notepad.

gap 01-20-13 11:40 AM

Quote:

Originally Posted by V13dweller (Post 1996012)
Also, are the enemy and friendly AI subs capable of using their deck guns?

Quote:

Originally Posted by TheDarkWraith (Post 1996018)
I have not been able to get any of the AI subs to fire their deck guns :wah:

I have been looking into the one deckgun friendly and enemy subs are equipped with (AI_Deck_Gun_GE88mm), and I have to say that it got the same gun_anim settings as the human playable guns that we were discussing yesterday in the other thread, TDW.

Thinking out loud, two possible fixes come to my mind...

- trying the same fix suggested by you yesterday
- moving the gun into the Library/ShipParts folder, and changing accordingly the path to the gun in sub's eqp file.

But before any other test, I would try equipping a surface unit with this gun, and see if by any chance the problem is in sub AI routines rather than in the gun itself :yep:

Trevally. 01-20-13 12:51 PM

TheBeast was testing this where he put other guns on AI uboats.
They still did not fire

gap 01-20-13 01:12 PM

Quote:

Originally Posted by Trevally. (Post 1996060)
TheBeast was testing this where he put other guns on AI uboats.
They still did not fire

...in other words the problem has to be dealed with IRAI.

Thank you for making it clear Trevally, and my regards to TheBeast for his neat conclusion :up:

Trevally. 01-20-13 01:56 PM

Quote:

Originally Posted by gap (Post 1996069)
...in other words the problem has to be dealed with IRAI.

Thank you for making it clear Trevally, and my regards to TheBeast for his neat conclusion :up:

What a pity - I have just a week ago cleared out my inbox.:nope:
It had the whole discussion, test files and missions where it was all tested:arrgh!:

gap 01-20-13 02:06 PM

Quote:

Originally Posted by Trevally. (Post 1996091)
What a pity - I have just a week ago cleared out my inbox.:nope:
It had the whole discussion, test files and missions where it was all tested:arrgh!:

Don't worry Trevally, what matters is the lesson we have learned from those tests. If needed, test missions and files can be redone in a matter of minutes :)

V13dweller 01-21-13 12:05 AM

I made a test for the enemy submarines and the Friendly Destroyers, The Friendly destroyers are useless when it come to depth charges, they barely use them, probably once in the test, they just circle around where the subs are underwater, and just wait for them to surface.
Is this meant to happen?

Gaugeforever 01-21-13 11:18 AM

Depth charges were more of a harassing tool. You had to get really lucky to actually get a kill with one.

Boat commanders would use them sparingly to try to harass the crew into surfacing.

Otherwise, if you can ping away with active sonar, it's really only a matter of time before they have to come up.

Having said that, I'm not sure if IRAI is just trying to be hyper real in your situation, or if it is actually a bug.


All times are GMT -5. The time now is 08:21 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.