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 10-16-10, 02:15 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v0.0.27 released. See post #1 for details

The sonarman should be a little better now at detecting contacts.
TheDarkWraith is offline   Reply With Quote
Old 10-16-10, 08:00 PM   #2
W_clear
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,142
Downloads: 113
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
v0.0.27 released. See post #1 for details

The sonarman should be a little better now at detecting contacts.
Hi TDW
I tested it a n with the same simple mission。1.2 version of the AI destroyers can fire DC accurately aligned SUB ,But your AI has to bypass the SUB 。I Upload this simple mission to you for test. Please feel anti-submarine capability of 1.2 version 。Then test your AI。Thanks。

http://www.file-upload.net/download-2895932/Data.rar.html

Last edited by W_clear; 10-16-10 at 10:01 PM.
W_clear is offline   Reply With Quote
Old 10-17-10, 05:05 PM   #3
DavyJonesFootlocker
The Old Man
 
Join Date: Dec 2007
Location: Stink Drunk in Trinidad
Posts: 1,572
Downloads: 138
Uploads: 0
Default

IRAI seems to be a bit unrealistic. I'm in a Type V!!B in 1939 at a depth of 90m at 2 knots silent running and still DDs can pinpoint me. In fact there seems to be a lot of escorts in 1939. I thought they didn't have so many for convoys. But there should be a balance as these uber destroyers is a bit too much. Everytime one pics me up I end up dead.
__________________
"Silence means death. Stand on your feet. Inner fear your worst enemy."- Sepultura.
My Silent Hunter 5 mantra is this......"Torpedo missed, sir!"
A P-400 is a P-40 with a Zero after it.
A proud member of the Wikipedia Haters Club
DavyJonesFootlocker is offline   Reply With Quote
Old 10-17-10, 05:09 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by DavyJonesFootlocker View Post
IRAI seems to be a bit unrealistic. I'm in a Type V!!B in 1939 at a depth of 90m at 2 knots silent running and still DDs can pinpoint me. In fact there seems to be a lot of escorts in 1939. I thought they didn't have so many for convoys. But there should be a balance as these uber destroyers is a bit too much. Everytime one pics me up I end up dead.
if you have the difficulty settings set to 1.0 then yes, IRAI is VERY hard. I do not control the number of escorts spawned with convoys - that is game controlled.

I suggest you adjust the difficulty settings to find a setting to your liking (\data\Scripts\AI\init.aix):

###################### 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 = 1.0;
HYDROPHONE_DIFFICULTY = 1.0;
RADAR_DIFFICULTY = 1.0;
SONAR_DIFFICULTY = 1.0;
# for merchants
VISUAL_DIFFICULTY_MERCHANT = 1.0;
HYDROPHONE_DIFFICULTY_MERCHANT = 1.0;
RADAR_DIFFICULTY_MERCHANT = 1.0;
SONAR_DIFFICULTY_MERCHANT = 1.0;
TheDarkWraith is offline   Reply With Quote
Old 10-17-10, 05:14 PM   #5
DavyJonesFootlocker
The Old Man
 
Join Date: Dec 2007
Location: Stink Drunk in Trinidad
Posts: 1,572
Downloads: 138
Uploads: 0
Default

What do you suggest to strike a balance? I don't want it too easy.
__________________
"Silence means death. Stand on your feet. Inner fear your worst enemy."- Sepultura.
My Silent Hunter 5 mantra is this......"Torpedo missed, sir!"
A P-400 is a P-40 with a Zero after it.
A proud member of the Wikipedia Haters Club
DavyJonesFootlocker is offline   Reply With Quote
Old 10-17-10, 05:20 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by DavyJonesFootlocker View Post
What do you suggest to strike a balance? I don't want it too easy.
1.0 to 0.95 would be considered Very hard difficulty
0.95 to 0.9 would be considered Hard difficulty
0.9 to 0.8 would be considered Medium hard difficulty
0.8 to 0.7 would be considered Medium difficulty
TheDarkWraith is offline   Reply With Quote
Old 10-17-10, 05:22 PM   #7
DavyJonesFootlocker
The Old Man
 
Join Date: Dec 2007
Location: Stink Drunk in Trinidad
Posts: 1,572
Downloads: 138
Uploads: 0
Default

Thanks TDW.
__________________
"Silence means death. Stand on your feet. Inner fear your worst enemy."- Sepultura.
My Silent Hunter 5 mantra is this......"Torpedo missed, sir!"
A P-400 is a P-40 with a Zero after it.
A proud member of the Wikipedia Haters Club
DavyJonesFootlocker is offline   Reply With Quote
Old 10-24-10, 03:26 AM   #8
[501]Otto
Commander
 
Join Date: Jul 2010
Location: Spain
Posts: 452
Downloads: 87
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
1.0 to 0.95 would be considered Very hard difficulty
0.95 to 0.9 would be considered Hard difficulty
0.9 to 0.8 would be considered Medium hard difficulty
0.8 to 0.7 would be considered Medium difficulty
After been playing since IRAI 0.023 with 1.0 difficulty, I tweaked it to 0.8, and I felt something missing....it was very easy . Now I am testing it on 0.9 and it feels perfect; I mean, it is hard but at least you have a chance to survive (Talking about non merchant ships)
Thanks, TDW
[501]Otto is offline   Reply With Quote
Old 10-27-10, 03:57 PM   #9
Sepp von Ch.
Sea Lord
 
Join Date: Dec 2009
Location: In my U-552 and Tiger
Posts: 1,730
Downloads: 788
Uploads: 0
Default

That sounds interesting!
__________________
U-552
Tiger
IDF
Sepp von Ch. is offline   Reply With Quote
Old 10-27-10, 04:17 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Josef von Posorschitz View Post
That sounds interesting!
I've taken the idea above to a (possible) whole new level I'm coding it now and if it works it will be a quantum leap for IRAI

I'm coding in watch rotations and fatigue for the ship AI.

Here's the idea:

A watch rotation shift will be defined in \data\Scripts\AI\init.aix that lets you define the ship's watch rotation (in minutes). At some random time between 0.25 and 0.75 of that defined watch rotation fatigue will set in. Fatigue will reduce each AI sensor's sensor effectiveness some random amount. i.e.:

ShipWatchRotation = 4; # in hours
ShipFatigueMin = 0.25; # min time of ShipWatchRotation when fatigue starts
ShipFatigueMax = 0.75; # max time of ShipWatchRotation when fatigue starts
ShipFatigueSensorReductionMin = 0.0; # min sensor reduction amount for fatigue
ShipFatigueSensorReductionMax = 0.1; # max sensor reduction amount for fatigue

the formula for calculating when fatigue sets in is:

fatiguetime = ShipWatchRotation * Random(ShipFatigueMin, ShipFatigueMax)

the formula for calculating fatigue sensor reduction is:

(sensor base value * sensor difficulty level) - Random(ShipFatigueSensorReductionMin, ShipFatigueSensorReductionMax)

then the next 'watch rotation' starts at:

ShipWatchRotation - fatiguetime


If this works (cross your fingers!) then this will add a whole new dynamic to the ship AI.

The thing to realize is EACH ship will act differently as they each get a copy of this file in game

Last edited by TheDarkWraith; 10-27-10 at 04:41 PM.
TheDarkWraith is offline   Reply With Quote
Old 10-27-10, 04:41 PM   #11
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
...
If this works (cross your fingers!) then this will add a whole new dynamic to the ship AI.
...
I do on booth hand. This can finally level up the quality of SH5 and make it way better than any of the previous versions. Yey!
Zedi is offline   Reply With Quote
Old 10-27-10, 04:58 PM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

It works

but the change in the sensors is very abrupt (expected) when fatigue set in. So now I'm going to try and make fatigue be a gradual thing. Fatigue will cause the sensor effectiveness to start decreasing from start of watch to end of watch. When new watch crew comes on sensor effeciveness goes back to base value * difficulty level and starts decreasing with time again. This may not be possible to do...Coding and testing change now....

Last edited by TheDarkWraith; 10-27-10 at 05:10 PM.
TheDarkWraith 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 08:49 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.