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 07-17-10, 11:59 PM   #196
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

this is great work....i had a 5 hour long depth charge attack
90 + dc were dropped all around and some too close for comfort
i had to play possum for 1 hour....then at 1 knot....i slipped away

the only thing funny i noticed was a DD going backwards??
maybe has something to do with random heading after pause
maybe if it gets a random heading behind the ship,the DD takes
the shortest route to that heading...can new heading be set to
an arc in front of the DD....120 to each side?

i don't know if this is the problem that causes DD to travel backward
it's just i guess on my part....thanks for all your great mods
BowfinSS287 is offline   Reply With Quote
Old 07-18-10, 05:57 AM   #197
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Hi TDW, thanks for the mods you create .

I have noticed the same DD behaviour as Bowfin.

I attacked a convoy (mid1942 IRAI v0.9 (my attacks are from further out with each upgrade to this mod) ), dived deep to avoid searching DDs. After some very close calls with DC the escorts reformed with the convoy and moved off. I surfaced to periscope depth and spotted what I thought was a DD "camping out". After a few mins watching, I notice that it is in fact going backwards in a wide arc away from the rest of the convoy.
Trevally. is offline   Reply With Quote
Old 07-18-10, 06:02 AM   #198
sergei
Sea Lord
 
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
Default

I'm not 100% sure this is the Mods fault.

I seem to remember in one of my stock games seeing a DD do this after losing track of me.
sergei is offline   Reply With Quote
Old 07-18-10, 08:55 AM   #199
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BowfinSS287 View Post
the only thing funny i noticed was a DD going backwards??
maybe has something to do with random heading after pause
maybe if it gets a random heading behind the ship,the DD takes
the shortest route to that heading...can new heading be set to
an arc in front of the DD....120 to each side?
Quote:
Originally Posted by Trevally. View Post
I surfaced to periscope depth and spotted what I thought was a DD "camping out". After a few mins watching, I notice that it is in fact going backwards in a wide arc away from the rest of the convoy.
Quote:
Originally Posted by sergei View Post
I'm not 100% sure this is the Mods fault.

I seem to remember in one of my stock games seeing a DD do this after losing track of me.
If I were to set an arc that the escort only could take that would defeat the whole randomness of the mod. The escorts under script 'control' are always given throttle orders of forwards not backwards so this sounds like a stock game bug. Nowhere in my scripts do I ever issue backwards bells for any ship.

EDIT:

how are the airstrikes now with v0.0.10? Have they decreased in number? How about night attacks by aircraft? Have they decreased in number?

Last edited by TheDarkWraith; 07-18-10 at 09:46 AM.
TheDarkWraith is offline   Reply With Quote
Old 07-18-10, 10:20 AM   #200
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

i do think it may be a stock bug,but can the new heading have 3 inputs
is this the command line ?

newheading = ship : random (0, 360);

could it be changed to :

newheading = ship : random (0, 160, 200);

this might stop the DD from picking a course directly behind it
if you can use 3 inputs....what do you think?
BowfinSS287 is offline   Reply With Quote
Old 07-18-10, 10:29 AM   #201
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BowfinSS287 View Post
i do think it may be a stock bug,but can the new heading have 3 inputs
is this the command line ?

newheading = ship : random (0, 360);

could it be changed to :

newheading = ship : random (0, 160, 200);

this might stop the DD from picking a course directly behind it
if you can use 3 inputs....what do you think?
Random function has only two inputs: min and max and it returns a real number between those two values.

I looked over my code for the AI searches. Here's how the AI picks a new location to search in:

Ship:WaitAction(waittime);

newheading = Ship:Random(0, 360);
Ship:TurnToHeading(newheading, 1.0);
rundist = Ship:Random(HK_MIN_NEXT_SPIRAL_DISTANCE, HK_MAX_NEXT_SPIRAL_DISTANCE);

it searched a place and now waits a random time (at all stop) then it chooses a new random heading, turns to that new heading at full throttle, then chooses a new random distance from it's curent spot to go to and search again.

Now maybe when it turns to it's new heading the game allows it to go backwards I'll update the code to force it to go forwards a small distance before executing the turn to the new heading. I'll release a new version here shortly with this change.
TheDarkWraith is offline   Reply With Quote
Old 07-18-10, 10:39 AM   #202
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

thanks for taking the time to review this stock problem

i hope your new version fixes this, good luck

i haven't seen any planes lately , but i have been more
careful lately.....i got shot up real bad on my last patrol
i'll keep looking for those aircraft....report later
BowfinSS287 is offline   Reply With Quote
Old 07-18-10, 09:25 PM   #203
W_clear
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,142
Downloads: 111
Uploads: 0
Default

Hi @TDW
I've tested new AI MOD.Destroyer is not an accurate search for submarines,Therefore, it is still blind launch DC.

Thanks
W_clear is offline   Reply With Quote
Old 07-19-10, 01:01 AM   #204
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by W_clear View Post
Hi @TDW
I've tested new AI MOD.Destroyer is not an accurate search for submarines,Therefore, it is still blind launch DC.

Thanks
after your comment above I decided to do some testing....and the results of that testing was that I found a bug in my ship AI script. It's not a bug as in typo or anything - it's a timing bug. Here's the problem:

you are detected by a ship. If the ship is outside the range of the full throttle range then it goes to full throttle heading to your last known position. Once inside the full throttle range it drops back to the DC setup speed and if you are still detected it starts maneuvering to your position. Once it's in the DC setup distance range it goes to DC run speed. It stays at DC run speed (dropping depth charges) until it goes DC run distance. Now here is where the bug rears it's ugly head. Once it's at DC run speed and passes over you it's lost contact with you. The bug is then it immediately switches to a spiral search pattern. Not what I intended the AI to do! So I had to add a timer to give the ship time to complete it's DC run and turn around. When that timer expires if the ship hasn't redetected you then it goes into a spiral search pattern.

The consequences of fixing this bug are the AI is even more deadly now with their DC attacks. Sorry fix will be in v0.0.11 which I'll have available soon.
TheDarkWraith is offline   Reply With Quote
Old 07-19-10, 01:17 AM   #205
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 876
Uploads: 23


Default

Quote:
Originally Posted by TheDarkWraith View Post
The consequences of fixing this bug are the AI is even more deadly now with their DC attacks. Sorry fix will be in v0.0.11 which I'll have available soon.
This new evolution in the AI sounds like fun and U-Boat skippers better be vary carefull when using this MOD.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 07-19-10 at 02:25 AM.
TheBeast is offline   Reply With Quote
Old 07-19-10, 05:44 AM   #206
Will-Rommel
Chief
 
Join Date: Jan 2008
Posts: 320
Downloads: 81
Uploads: 0
Default

Great !
__________________
-Fighting is a lifestyle-
Will-Rommel is offline   Reply With Quote
Old 07-19-10, 08:01 AM   #207
rascal101
Grey Wolf
 
Join Date: Jun 2006
Posts: 769
Downloads: 200
Uploads: 0
Default

This mod is fantrastic - the game has suddenly becoe a challenge - now instead of sinking the entire British Merchant marine every time I leave port I am lucky if I bag one or two Tommies

OUTSTANDING - except I wonder if your mod AI is slightly too refined

Was attacking a convoy, I was ahead and to their prot side, 90 degrees on- perfedct - single destroyer passes at about 1.5km's - I'm on silent running - I let him pass and wait for the merchants - I start my attack - fire off two torps at one ship and two more at another - but the escort is already after me even before I've hit aything - nothing has happend to indicate that I am there except my scope -

Does your mod allow escorts to detect scopes if they are above the water line for too long - this is ok in clear weather, but I also experienced the same when attacking in heavy fog - surely its slightly too sensitive

Best mod and thanks - would appreciate some comment on the above

Regards
Rascal
rascal101 is offline   Reply With Quote
Old 07-19-10, 08:11 AM   #208
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 876
Uploads: 23


Default

Quote:
Originally Posted by rascal101 View Post
This mod is fantrastic - the game has suddenly becoe a challenge - now instead of sinking the entire British Merchant marine every time I leave port I am lucky if I bag one or two Tommies

OUTSTANDING - except I wonder if your mod AI is slightly too refined

Was attacking a convoy, I was ahead and to their prot side, 90 degrees on- perfedct - single destroyer passes at about 1.5km's - I'm on silent running - I let him pass and wait for the merchants - I start my attack - fire off two torps at one ship and two more at another - but the escort is already after me even before I've hit aything - nothing has happend to indicate that I am there except my scope -

Does your mod allow escorts to detect scopes if they are above the water line for too long - this is ok in clear weather, but I also experienced the same when attacking in heavy fog - surely its slightly too sensitive

Best mod and thanks - would appreciate some comment on the above

Regards
Rascal
The escort may have heard your Torpedo Doors Opening/Closing or the escort may have heard the Torpedo it the water.
Either way, I do agree that visual detection is a little to strong and environmental conditions and or day/night seems to have little effect on the enemies ability to detect you.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 07-19-10, 08:20 AM   #209
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by rascal101 View Post
Was attacking a convoy, I was ahead and to their prot side, 90 degrees on- perfedct - single destroyer passes at about 1.5km's - I'm on silent running - I let him pass and wait for the merchants - I start my attack - fire off two torps at one ship and two more at another - but the escort is already after me even before I've hit aything - nothing has happend to indicate that I am there except my scope -

Does your mod allow escorts to detect scopes if they are above the water line for too long - this is ok in clear weather, but I also experienced the same when attacking in heavy fog - surely its slightly too sensitive
the escorts use all available sensors. So yes they can detect scopes poking out of the water. What probably happened is they heard the torpedoes on their hydrophones and sent a scout to investigate. How many escorts were sent to investigate you?
TheDarkWraith is offline   Reply With Quote
Old 07-19-10, 09:26 AM   #210
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

They see the topedo wake if is steam powered. And at night, this wake is more visible than daylight. And the merchants.. gotta love them now. I'm addicted to charge the unarmerd/escorted convoys at surface by night, such a tense battle.. they really do their best to ram you or do anything just to stay alive, so now the game is a pure joy.

Wonder why TDW got no emblems, medals nor "the moder of the year" title so far At least for this mod which is completely change the gameplay of SH5. The management don't play SH5 or use mods?

An the jokers from Ubi.. they should pay the man and deliver this mod as a patch. This is not a mod anymore, it's a gamefix/patch.
Zedi is offline   Reply With Quote
Reply


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 12:15 AM.


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