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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-24-10, 03:36 AM   #1
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Fast tests with IRAI 0.26:
Mission type: small convoy - 8 merchants with 5 escorts
All unit competent level: 1942 / equipmment: middle war

+ Merchants are not stopping now,
+ Part of ecsort are attacking my uboat,
+ Convoy changes course at this same direction,

- Escort keep max 14kt (when run to looking area),
- Escort do not loop to check last known postion of uboat,
- Convoy change direction too slow,


All unit ELITE level: 1942 / equipmment: middle war
+ Merchants react when ubaot is detected by escort,
- Uboat with full speed and high evade manoeuvres at hi-speed, and enter into convoy at periscope depth: escort do not catch me, and works as they do not listen me - they do not attack me.
__________________


Last edited by PL_Andrev; 09-24-10 at 07:57 AM.
PL_Andrev is offline   Reply With Quote
Old 09-24-10, 06:56 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

there's a delicate balancing act to be had to make escorts come seek you out and to make them behave semi-intelligently. There is no command available for the AI to tell how far it is from the convoy (if it is part of a convoy). Thus when I assign escorts the role of protect convoy or plaster and they detect a contact they will run off and investigate the contact. Now it would be nice to say if these escorts are x distance from convoy they need to return to the convoy but there's no such command. As long as these escorts detect you they will stay glued to you even if the convoy is 100km away from them
The escorts assigned the role guard convoy are a little smarter. There is a command that tells me whether the contact is inside the convoy 'area' or not. If you are inside the convoy area then these escorts will seek you out. If they don't detect you anymore or because of convoy movement you are now found to be outside the convoy area they will return to their original place in the convoy.
As it stands now escorts are divied out roles and after all roles are filled the remaining escorts are assigned the role of protect convoy. It may be that I need change the remaining escorts to be assigned the role guard convoy instead. We'll see with the feedback from you all on this version.
I hope this clears up some confusion as to why the escorts behave the way they do. This also explains why you can get many escorts 'piled up' on you. The only way to get rid of them is to evade contact long enough for them to lose contact and then they will return to their convoys (if they were part of one)

Last edited by TheDarkWraith; 09-24-10 at 07:32 AM.
TheDarkWraith is offline   Reply With Quote
Old 09-24-10, 07:06 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
Fast tests with IRAI 0.26:
Mission type: small convoy - 8 merchants with 5 escorts
All unit competent level: 1942 / equipmment: middle war

+ Merchants are not stopping now,
+ Part of ecsort are attacking my uboat,
+ Convoy changes course at this same direction,

- Escort keep max 14kt (when run to looking area),
- Escort do not loop to check last known postion of uboat,
- Convoy change direction too slow
In part of the tactics there is a function that tells the AI to use full speed until it reaches x distance from contact. During this full speed run it ignores whether it has the contact detected or not. It's main goal is just to reach the last position of the contact it detected (and hopefully detect the contact on the way to this destination). There is a maximum amount of time that a contact can be lost before the current tactic is reset or the escort is told to resume following waypoints. If at the end of this full speed run that time has been exceeded then the escort will immediately return to following waypoints (which can mean returning back to convoy).

There are parameters in the init.aix file that one can adjust to tweak the AI for testing purposes. Try playing with all the values to help me adjust the AI. For convoy changing direction there are many parameters that affect this:
CONVOY_LEADER_ACTION_SPEED_CHANGE_MIN = 0.4;
CONVOY_LEADER_ACTION_SPEED_CHANGE_MAX = 0.8;
CONVOY_LEADER_ACTION_COURSE_CHANGE = 40.0;
CONVOY_LEADER_ACTION_COURSE_SPEED_CHANGE_TIME = 4.0;
CONVOY_LEADER_CONTACT_LOST_CONTINUE_ACTION_TIME = 600.0; # 10 mins
MERCHANT_CONVOY_LEADER_ACTION_SPEED_CHANGE_MIN = 0.5;
MERCHANT_CONVOY_LEADER_ACTION_SPEED_CHANGE_MAX = 0.9;
MERCHANT_CONVOY_LEADER_ACTION_COURSE_CHANGE = 45.0;
MERCHANT_CONVOY_LEADER_ACTION_COURSE_SPEED_CHANGE_ TIME = 2.0;
MERCHANT_CONVOY_LEADER_CONTACT_LOST_CONTINUE_ACTIO N_TIME = 600.0; # 10 mins
TheDarkWraith is offline   Reply With Quote
Old 09-26-10, 09:40 AM   #4
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
There are parameters in the init.aix file that one can adjust to tweak the AI for testing purposes. Try playing with all the values to help me adjust the AI. For convoy changing direction there are many parameters that affect this:
CONVOY_LEADER_ACTION_COURSE_SPEED_CHANGE_TIME = 4.0;
MERCHANT_CONVOY_LEADER_ACTION_COURSE_SPEED_CHANGE_ TIME = 2.0;
Hmmm... I changed these values 2x less and 2x, 5x higher, equal and not and I didn't see special changes in convoy ordering.

1. The most strange is that the escort always known where I am (they looking for me at correct side of convoy).

2. If escort is hearing my torpedo, why they do not react?

3. Convoy does not zigzag (always turn at stern to me)

4. Convoy does not change course at this same time - not "immediately". It looks like other ships react will high delay to commander.

--------

Edit:
It is not true that convoy is not zigzaging, at same cases leader turn to my side (at left) but only 10° for previous course. After that they change the course to stern to me.

Tested with 'military convoy / competent level mission'
Mission is available at http://www.filefront.com/17316020/Military_convoy.zip
__________________


Last edited by PL_Andrev; 09-26-10 at 10:31 AM.
PL_Andrev is offline   Reply With Quote
Old 09-24-10, 07:29 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
All unit ELITE level: 1942 / equipmment: middle war
+ Merchants are not reacting when ubaot is detected by escort,
- Uboat with full speed and high evade manoeuvres at hi-speed, and enter into convoy at periscope depth: escort do not catch me, and works as they do not listen me - they do not attack me.
can you send me the test mission you used for the above? I'd like to see what's going on with the AI with this.
TheDarkWraith is offline   Reply With Quote
Old 09-24-10, 08:28 AM   #6
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
can you send me the test mission you used for the above? I'd like to see what's going on with the AI with this.
Here is mistake with "in plus" description ("+" sign), my fault:
+ Merchants react when uboat is detected by escort,


I use max speed and run into convoy at periscope depth (to see unit localization / map update). When I use no speed or small flank I was detected and sunk very fast. But with hi-speed and evade the enemy escort cannot find me and cannot prepare successful (or other) attack.

Three missions are available here, install by JSGME:
Small convoy (8 merch) with 5 DD / middle war equipment
1) All units competent level
2) All units elite level
3) All units elite level for multiplayer mode (2 players)
http://www.filefront.com/17316020/Military_convoy.zip
__________________


Last edited by PL_Andrev; 09-24-10 at 08:40 AM.
PL_Andrev is offline   Reply With Quote
Old 09-24-10, 08:43 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
Here is mistake with "in plus" description ("+" sign), my fault:
+ Merchants react when uboat is detected by escort,


I use max speed and run into convoy at periscope depth (to see unit localization / map update). When I use no speed or small flank I was detected and sunk very fast. But with hi-speed and evade the enemy escort cannot find me and cannot prepare successful (or other) attack.

Three missions are available here, install by JSGME:
Small convoy (8 merch) with 5 DD / middle war equipment
1) All units competent level
2) All units elite level
3) All units elite level for multiplayer mode (2 players)
http://www.filefront.com/17316020/Military_convoy.zip
you are at periscope depth during this but is your scope up? If so, which scope is raised? Do you keep it raised all the time?
TheDarkWraith is offline   Reply With Quote
Old 09-24-10, 08:56 AM   #8
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by Antar View Post
Here is mistake with "in plus" description ("+" sign), my fault:
+ Merchants react when uboat is detected by escort,


I use max speed and run into convoy at periscope depth (to see unit localization / map update). When I use no speed or small flank I was detected and sunk very fast. But with hi-speed and evade the enemy escort cannot find me and cannot prepare successful (or other) attack.

Three missions are available here, install by JSGME:
Small convoy (8 merch) with 5 DD / middle war equipment
1) All units competent level
2) All units elite level
3) All units elite level for multiplayer mode (2 players)
http://www.filefront.com/17316020/Military_convoy.zip
I just downloaded and played that . I went to 100 meters and ahead flank , they triangulated my position . I could hear more than 1 escort pinging so basically i was screwed .
THE_MASK is offline   Reply With Quote
Old 09-24-10, 09:33 AM   #9
laribe
Watch
 
Join Date: Apr 2005
Posts: 25
Downloads: 199
Uploads: 0
Default

Great job as usual on .26 and the only problem I have is that the DDs make a good run but do not drop. In this report they are DCing but in game they just pass over









The other 1 is after a ship was hit.
laribe is offline   Reply With Quote
Old 09-24-10, 09:55 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by laribe View Post
Great job as usual on .26 and the only problem I have is that the DDs make a good run but do not drop. In this report they are DCing but in game they just pass over
The other 1 is after a ship was hit.
in the first screenshot everything is there for them to DC...operation Plaster is set and firing of DCs is enabled....don't know why they aren't dropping DCs....what depth were you at when this happened?

The second screenshot I see a problem: the commander is trying to set a tactic but it's being overrun by the TerminateOperationComm tactic. I see why the TerminateOperationComm is being set - it's unable to continue the current tactic (CanContinueCurrentTactic == 0). How many ships were in this group? Any of them merchants? I can't see exactly which tactic the commander was trying to set in the second screenshot. This could potentially cause a bad bug.
TheDarkWraith is offline   Reply With Quote
Old 09-24-10, 10:21 AM   #11
laribe
Watch
 
Join Date: Apr 2005
Posts: 25
Downloads: 199
Uploads: 0
Default

Looking at it there are 5 DDs and 8 merchants in 1 group. It is pretty good as the merchants veer off and normally 3 or 4 DDs attack and keep me down and inflict damage. If they dropped on every run it would be even better!

Uploaded with ImageShack.us

This one dropped
laribe 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 01:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.