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, 07:06 AM   #1
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   #2
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
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 05:17 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.