SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   Mod related inappropriate aircraft A.I. behavior (https://www.subsim.com/radioroom/showthread.php?t=201210)

Yukicore 01-05-13 04:43 AM

Mod related inappropriate aircraft A.I. behavior
 
Sooo, hoplefully nobody minds that I post this thread here, but I did not post this as a response to the mod thread, because it's not entirely related to the mod...? If I need to move this mod elsewhere, please do tell me, before deleting/moving, or at least after...

I installed Silent Hunter 5 mod for A.I. enhancement by The Dark Wraith. Ever since, aircraft is randomly attacking my submarine in the very beginning of the game (Randomly as of some patrolling units attack me, some not). And far as I know, the war has not been yet started, although declared, with England that is. I had played the game before without mods, didn't get any further than mission 3, but now I started a new Campaign with mods installed.

England's aircrafts, when playing without the mods, were just flying past me, didn't attack or anything, usually after me taking down a ship, to investigate. And if they'd saw me, they would send more aircrafts just to take watch at what I'm doing. But after installing the mod they have been randomly attacking me.

The issue is not that they are attacking me when war hasn't ''started'' yet, but that I can't figure out what determines their behavior. Also they are doing quite the damage, not sure if they did before, but a single aircraft damaged the submarines hulls by 55% on a single fly-by by mounted machine guns, perhaps, I don't know much about all the war stuff.

Although realistic, that they randomly attack, since frequently submarine attack radio messages get reported, it feels weird that some are attacking and some are not, since they shouldn't act on their own and have either permission to attack or attack order. Does anybody know about what makes them attack? Because the crew automatically spots them only when it's almost too late and sitting out the entire journey would be just too long and stupid. :shifty:

Thanks.

gap 01-05-13 12:23 PM

3 thoughts:

- TDW's IRAI fixes partly the dumb aircraft AI. If you are using this mod, planes won't dive on you if they are out of ammo/bombs. :yep:

- IIRC, there's an unfixed bug in SH5, relative to the planes not attacking enemy contacts when following waypoints in campaign, even if they could. I may be wrong on this point, but I am sure Trevally will be able to provide some further detail on the subject.

- Machine guns (both aircraft and ship mounted) are overpowered in SH5. I will deal with this problem in the next future (I hope). I could release a quick fix right now, but I want to make sure that my changes are well balanced and free from whatsoever side effects. ;)

Trevally. 01-05-13 12:39 PM

Quote:

Originally Posted by gap (Post 1988678)

- IIRC, there's an unfixed bug in SH5, relative to the planes not attacking enemy contacts when following waypoints in campaign, even if they could. I may be wrong on this point, but I am sure Trevally will be able to provide some further detail on the subject.

Aeroplanes following waypoints in the campaign are only in the English channel - they are there for effect. They will fire at you if in range (cannons only) but will not leave their route. When these planes spot you, airbases (where free roaming planes are produced) will send extra out to attack you.

From 1943 forward - OHII added planes by waypoints in the Bay of Biscay.
These aeroplane are all fitted with radar. Planes following waypoints with radar will leave their route and attack:up:

gap 01-05-13 01:23 PM

Thank you for your quick replies, Trevally!

Quote:

Originally Posted by Trevally. (Post 1988688)
Aeroplanes following waypoints in the campaign are only in the English channel - they are there for effect. They will fire at you if in range (cannons only) but will not leave their route. When these planes spot you, airbases (where free roaming planes are produced) will send extra out to attack you.

Well, since they are calling in for reinforcements they are not there merely for eye candy. They are just taking literally their patrol duties ;)

Quote:

Originally Posted by Trevally. (Post 1988688)
From 1943 forward - OHII added planes by waypoints in the Bay of Biscay.
These aeroplane are all fitted with radar. Planes following waypoints with radar will leave their route and attack:up:

:yeah:

Wonderful... ops, nevermind, I wanted to say horrible :wah:

(I think it's about time to recruit a German modder for him take over your work on OHII and dumb down a bit your terrific British defences :O:)

Yukicore 01-05-13 03:13 PM

I'm using IRAI mod, so you guys mean that the planes, that aren't attacking me, have used all of their ammunition on other vessels/submarines? Why don't they go stock up and smoke a couple of cigarettes instead, that's pretty ridiculous, I have to dive so much because of the aircrafts. If only their guns wouldn't be so powerful and accurate, any mods relating to this?

Also, is there a way to take down their range of sight, because I highly doubt that everyone who flies the planes actually would look down all the time for something and spot submarines. There should be a randomizer that determines whether the plane will spot you or not. This would take down their chances of spotting me.

Trevally. 01-05-13 03:22 PM

TDW has always said that the AI script for the planes was limiting.
He has done about as much as he can with it.
IRAI mod is the best mod for any AI scripting:ping:

Have you been attacked by a torp plane yet http://www.subsim.com/radioroom/showthread.php?t=188286

Trevally. 01-05-13 03:26 PM

Dive bombed:arrgh!: http://www.subsim.com/radioroom/showthread.php?t=188171

Trevally. 01-05-13 03:31 PM

Another bomb run - this one missed:yeah:

http://www.subsim.com/radioroom/showthread.php?t=196197

Yukicore 01-05-13 03:48 PM

Quote:

Originally Posted by Trevally. (Post 1988782)
Another bomb run - this one missed:yeah:

http://www.subsim.com/radioroom/showthread.php?t=196197

Do I have some kind of hardened mod of IRAI, because seriously from 1 plane dive with simple machine-guns I had hull integrity decreased to 56%.

I still completed the mission and got back, but with very cautious methods, as soon as I saw an aircraft headed my way, immediately dive to 30m and continue the course underwater for like 4 km, in case the support was called, and in night, I used full power to move as far as I can. I had decent amount of fuel, but always have to keep some in reserve, in case of unavoidable confrontation with warships, where you are forced to dive and wait.

I've never encountered torpedo bomber planes, I have a feeling, i'm not going to enjoy my first encounter, although it keeps the tension up, I like that. But the magnetic torpedoes are not working anyways, right? Just have to move or dive and move to avoid contact.


OH, AND please do tell me if the jiggly surfacing with the mods is realistic, because I'm not sure myself, it feels kinda cheap looking, what do you think? Trevally, what kind of mods are you using for sea parameters and buoyancy?

THE_MASK 01-05-13 04:21 PM

I am playing on 100% realism with all the mods and hardly ever get detected by planes . I am only up to may 1940 though . What year are you playing in ? I stay well away from the coast where possible . Stay away from english ports .

Trevally. 01-05-13 04:34 PM

Quote:

Originally Posted by Yukicore (Post 1988787)
OH, AND please do tell me if the jiggly surfacing with the mods is realistic, because I'm not sure myself, it feels kinda cheap looking, what do you think? Trevally, what kind of mods are you using for sea parameters and buoyancy?

This is still my mod list here http://www.subsim.com/radioroom/showthread.php?t=190656

I do not use an environ mod. I have made my own but it is mostly stock game setting.

gap 01-05-13 04:55 PM

Quote:

Originally Posted by Yukicore (Post 1988777)
If only their guns wouldn't be so powerful and accurate, any mods relating to this?

not yet, but have you read my previous post:

Quote:

Originally Posted by gap (Post 1988678)
Machine guns (both aircraft and ship mounted) are overpowered in SH5. I will deal with this problem in the next future (I hope). I could release a quick fix right now, but I want to make sure that my changes are well balanced and free from whatsoever side effects. ;)

A mod dealing with this and many other related issues is on its way to come here:
http://www.subsim.com/radioroom/show...29#post1935329

Quote:

Originally Posted by Yukicore (Post 1988787)
Do I have some kind of hardened mod of IRAI, because seriously from 1 plane dive with simple machine-guns I had hull integrity decreased to 56%.

IRAI has nothing to do with machine-gun damage: it deals "just" with AI :yep:

Yukicore 01-05-13 05:00 PM

Quote:

Originally Posted by gap (Post 1988839)
IRAI has nothing to do with machine-gun damage: it deals "just" with AI :yep:

But it has to do with accuracy and tactics.

THE_MASK 01-05-13 05:05 PM

The only adjustments i know is in iRAI .

IRAI_0_0_37_ByTheDarkWraith\data\Scripts\AI\init
adjust the max numbers
No idea if this works on planes as well as ships .
################################################## ###############
###################### Difficulty parameters ####################
# Note: difficulty is in range 0.0 - 1.0 with 0.0 being no difficulty (sensor doesn't exist)
# for non-merchants
VISUAL_DIFFICULTY_MIN = 0.85;
VISUAL_DIFFICULTY_MAX = 1.0;
HYDROPHONE_DIFFICULTY_MIN = 0.85;
HYDROPHONE_DIFFICULTY_MAX = 1.0;
RADAR_DIFFICULTY_MIN = 0.85;
RADAR_DIFFICULTY_MAX = 1.0;
SONAR_DIFFICULTY_MIN = 0.85;
SONAR_DIFFICULTY_MAX = 1.0;
# for merchants
VISUAL_DIFFICULTY_MERCHANT_MIN = 0.85;
VISUAL_DIFFICULTY_MERCHANT_MAX = 1.0;
HYDROPHONE_DIFFICULTY_MERCHANT_MIN = 0.85;
HYDROPHONE_DIFFICULTY_MERCHANT_MAX = 1.0;
RADAR_DIFFICULTY_MERCHANT_MIN = 0.85;
RADAR_DIFFICULTY_MERCHANT_MAX = 1.0;
SONAR_DIFFICULTY_MERCHANT_MIN = 0.85;
SONAR_DIFFICULTY_MERCHANT_MAX = 1.0;

gap 01-05-13 05:11 PM

Quote:

Originally Posted by Yukicore (Post 1988843)
But it has to do with accuracy and tactics.

You said well: it has to do with accurate AI tactics, but not with accurate armaments. This is where the below said WIP mod will come in help. :know:


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