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 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-07-13, 09:20 AM   #1
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default Weird AI behaviour

Coastal Waters campaign, Nothern Approaches mission, Open Horizons II mod. I've noticed some weird stuff happening. Sometimes I get hunted by a single escort that appears out of nowhere (feels almost like it's scripted). It's as if he knows exactly where I am and comes straight for me from behind even if I change my course. (I've had this several times, annoying as hell.) How does he detect me and know my exact location from 6000 meters away?

Other times, after sinking a capital ship, the escorts search for me for a while. I silence the uboat and keep it at 100 meters depth. The escorts all go away, except for one who keeps spinning in circles approximately 1000 meters away from me. At night I surface and slip away. I am far enough to run at max speed and I am positive I can't be seen or heard, yet it keeps chasing me for some 1000 kilometers, keeping his distance of ~8000 meters, spinning in circles, then going straight a bit, then spinning some more. What. The. Hell.

My mod list, if needed: http://i.imgur.com/H3cJZmx.png
archer9 is offline   Reply With Quote
Old 04-07-13, 12:28 PM   #2
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

I think it's one of the few still present bugs that haven't been squashed.
Sartoris is offline   Reply With Quote
Old 04-07-13, 12:38 PM   #3
raymond6751
Admirable Mike
 
raymond6751's Avatar
 
Join Date: Mar 2004
Location: Canada
Posts: 1,338
Downloads: 421
Uploads: 0
Default In real life

I'd be tempted to lay for him and sink the b**rd. Fire a salvo at him!
__________________
Game Designer:
Close The Atlantic - World War Three
https://boardgamegeek.com/boardgame/...orld-war-three
raymond6751 is offline   Reply With Quote
Old 04-07-13, 12:45 PM   #4
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

I had already fired all my torpedos. The worst part was that it kept resetting time compression to 1 every 2-4 seconds, because it kept reappearing on my line of sight all the time. Now imagine 1000 kilometres with this nightmare. I was so furious, I almost uninstalled the game.

Sometimes I wonder if video game devs test their own games at all. How could this possibly get past quality control? Just how?

Another funny thing was this one time when the seemingly scripted warship came hunting for me from behind again but this time... during the night. During the freaking night. If that's not bad enough for you, I was so frustrated I decided to simply click All Stop and see what happens. And you will never guess this. It raced towards me at full speed, and flew right by me a couple meters to my right. I understand it's December and nights are pitch-dark, but still its line of sight was really, really small, it's ridiculous. (By the way, I was on the surface, if you didn't already guess it.) Anyway, it turned around and circled around me for a long while. It was kinda amusing the first 2 minutes but then I just gave up, opened the map, plotted the course towards the base and ignored him for a couple hours and he just left me be. So weird. These bugs totally break the game for me.

Last edited by archer9; 04-07-13 at 03:35 PM.
archer9 is offline   Reply With Quote
Old 04-07-13, 04:14 PM   #5
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,087
Downloads: 465
Uploads: 0


Default

IRAI is managing the escorts and all AIs.
I see in your list IRAI is overwrited by something else.
Try to make it not overwriten, and see the fix!
(BTW there is an IRAI V0.39)
Fifi is offline   Reply With Quote
Old 04-07-13, 07:15 PM   #6
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 101
Uploads: 2
Default

IRAI caused quite a few bugs like that, like the ability to hear you at 200 meters deep with the hydro.
V13dweller is offline   Reply With Quote
Old 04-08-13, 02:27 AM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by archer9 View Post
Coastal Waters campaign, Nothern Approaches mission, Open Horizons II mod. I've noticed some weird stuff happening. Sometimes I get hunted by a single escort that appears out of nowhere (feels almost like it's scripted). It's as if he knows exactly where I am and comes straight for me from behind even if I change my course. (I've had this several times, annoying as hell.) How does he detect me and know my exact location from 6000 meters away?

Other times, after sinking a capital ship, the escorts search for me for a while. I silence the uboat and keep it at 100 meters depth. The escorts all go away, except for one who keeps spinning in circles approximately 1000 meters away from me. At night I surface and slip away. I am far enough to run at max speed and I am positive I can't be seen or heard, yet it keeps chasing me for some 1000 kilometers, keeping his distance of ~8000 meters, spinning in circles, then going straight a bit, then spinning some more. What. The. Hell.

My mod list, if needed: http://i.imgur.com/H3cJZmx.png
Quote:
Originally Posted by archer9 View Post
I had already fired all my torpedos. The worst part was that it kept resetting time compression to 1 every 2-4 seconds, because it kept reappearing on my line of sight all the time. Now imagine 1000 kilometres with this nightmare. I was so furious, I almost uninstalled the game.

Sometimes I wonder if video game devs test their own games at all. How could this possibly get past quality control? Just how?

Another funny thing was this one time when the seemingly scripted warship came hunting for me from behind again but this time... during the night. During the freaking night. If that's not bad enough for you, I was so frustrated I decided to simply click All Stop and see what happens. And you will never guess this. It raced towards me at full speed, and flew right by me a couple meters to my right. I understand it's December and nights are pitch-dark, but still its line of sight was really, really small, it's ridiculous. (By the way, I was on the surface, if you didn't already guess it.) Anyway, it turned around and circled around me for a long while. It was kinda amusing the first 2 minutes but then I just gave up, opened the map, plotted the course towards the base and ignored him for a couple hours and he just left me be. So weird. These bugs totally break the game for me.

This is the same bug

Its an old stock bug that is not caused by any mod.
A DD can get stuck behind you and its script gets caught in a loop and it does nothing but follow you.
When this loop is broken - the ship will try and continue what it was doing (this could be guarding a harbour many miles away) and race away.
Sometimes the loop is broken and then it see you and may attack.
Sometimes it head to its waypoint and not even look at you.

The fix for this is a save/load
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 04-08-13, 07:52 AM   #8
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

Thanks. I disabled IRAI just in case. Haven't encountered any of the bugs so far.
archer9 is offline   Reply With Quote
Old 04-08-13, 10:29 AM   #9
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,987
Downloads: 465
Uploads: 0


Default

In SH5/Data/Cfg/main.cfg, you can change all the maximum TC values for various trigger conditions. Setting the "EnemyDetected" maximum to something high enough for you to exceed his attention span might get you home.
BigWalleye is offline   Reply With Quote
Old 04-09-13, 04:00 AM   #10
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

Thanks for the advice!

Just a quick question... after disabling IRAI, I loaded a game, finished a patrol and now I don't see a Request Mission button anymore. Did I mess up the game? Is there anything I can do to fix this?
archer9 is offline   Reply With Quote
Old 04-10-13, 12:34 AM   #11
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 101
Uploads: 2
Default

I think it may be IRAI, but a mod causes the enemies hydrophones to work on surface, if you are having this problem, you can use Goblin editor to edit the hydrophones Min depth to -10, which is the stock Sh5's hydrophone value, so when set to -10 the enemies hydrophones will detect surfaced units, the altering mod (s) set the hydrophone minimum depth to -8.
If the mod the alters this is found, and if it is an essential mod, I might release a patch mod to fix this.
V13dweller is offline   Reply With Quote
Old 04-14-13, 02:52 AM   #12
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

Quote:
Originally Posted by archer9 View Post
Thanks for the advice!

Just a quick question... after disabling IRAI, I loaded a game, finished a patrol and now I don't see a Request Mission button anymore. Did I mess up the game? Is there anything I can do to fix this?
Still kinda hoping someone can shed some light here. Is there no way to fix this AND retain my saves?
archer9 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 02:56 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.