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-08-10, 01:34 PM   #1
John Channing
Sea Lord
 
John Channing's Avatar
 
Join Date: Sep 1998
Posts: 1,840
Downloads: 163
Uploads: 5
Default

Nice!

This leads me to a question/request.

Is it possible to put a time delay on the searchlights. It has always been the case that the nano-second after the torp hits all the lights come on. It's like the lookouts are sitting there with their hands on the switches. I know it's a small thing, but the small things add up to some really big things.

Oh.. and I haven't tried this mod yet, but if you have actually already done this.... please disregard.



JCC
John Channing is offline   Reply With Quote
Old 07-08-10, 01:53 PM   #2
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by John Channing View Post
Nice!

This leads me to a question/request.

Is it possible to put a time delay on the searchlights. It has always been the case that the nano-second after the torp hits all the lights come on. It's like the lookouts are sitting there with their hands on the switches. I know it's a small thing, but the small things add up to some really big things.

Oh.. and I haven't tried this mod yet, but if you have actually already done this.... please disregard.



JCC
That would be nice, if possible to even have the delay random.
Then ships would light up at different times, would give the ships a more lived in look.

Also I seen a mod on the SH3 forums that made the merchants not switch on the searchlights when not directly attacked to attempt to remain unnoticed.
Think this was the general rule for merchants in wartime.
Maybe some could be made to turn on randomly. For the suprise element .

Anyway to make the Merchants keep on course (While zigzagging) when the leader stops when convoy under attack, instead of everyone stopping
reaper7 is offline   Reply With Quote
Old 07-08-10, 03:00 PM   #3
DICY
Nub
 
Join Date: Mar 2010
Posts: 4
Downloads: 27
Uploads: 0
Default

I played the PQ-17 mission twice last night with somewhat mixed results. My first try was the one I had issues with, though I'm not sure how big these issues actually are.

The first thing I noticed was that as the escorts approached they appeared to be getting attacked by something, but I couldn't for the life of me figure out by what. It looked like they were dropping Depth Charges at first, but they didn't change course at all and some of the explosions were going off in front of the ships. I couldn't see anything around that might be attacking them (planes/ships), and these certainly weren't explosions caused by another U-Boat. I doubt this has anything to do with your AI but I didn't want to leave it unmentioned.

The second thing I saw that I think is a bit more of a problem; I got in front of the escorts, went to about 140 meters to let them pass over me, than went to periscope depth when they were past me. However, when I attacked the merchants none of the escorts seemed to care at all. No course change, nobody coming to look for me, they just kept on going as if nothing had happened. I didn't expect them to be able to find me, but I at least would have thought they'd try. I was able to attack the convoy two more times without any response from the escorts, at which point I surfaced and the mission ended. Again, I don't know if this is actually an AI issue or has more to do with the mission script.

On the second playthrough I wanted to be sure the escorts knew I was there so when they were passing by me I kicked the engines on to make sure they heard me. The result was pretty devastating. I had 7 or 8 ships above me, all taking turns dropping depth charges, and was able to spot the director, sitting there calmly with his light fixed on my position. It took them about 20 minutes to sink me (at 160 meters the whole time), and I don't see any way that I could have gotten away from them. Having given them a much better fix on my location initially than you ever would under normal circumstances it seems about right that I wouldn't have been able to survive the encounter.

Seems like a huge improvement so far, they're very aggressive and effective at pinning you down. My only real concern is with their apparent disinterest at the convoy getting attacked the first time around.



DICY is offline   Reply With Quote
Old 07-08-10, 03:21 PM   #4
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by DICY View Post
I played the PQ-17 mission twice last night with somewhat mixed results. My first try was the one I had issues with, though I'm not sure how big these issues actually are.

The first thing I noticed was that as the escorts approached they appeared to be getting attacked by something, but I couldn't for the life of me figure out by what. It looked like they were dropping Depth Charges at first, but they didn't change course at all and some of the explosions were going off in front of the ships. I couldn't see anything around that might be attacking them (planes/ships), and these certainly weren't explosions caused by another U-Boat. I doubt this has anything to do with your AI but I didn't want to leave it unmentioned.

The second thing I saw that I think is a bit more of a problem; I got in front of the escorts, went to about 140 meters to let them pass over me, than went to periscope depth when they were past me. However, when I attacked the merchants none of the escorts seemed to care at all. No course change, nobody coming to look for me, they just kept on going as if nothing had happened. I didn't expect them to be able to find me, but I at least would have thought they'd try. I was able to attack the convoy two more times without any response from the escorts, at which point I surfaced and the mission ended. Again, I don't know if this is actually an AI issue or has more to do with the mission script.

On the second playthrough I wanted to be sure the escorts knew I was there so when they were passing by me I kicked the engines on to make sure they heard me. The result was pretty devastating. I had 7 or 8 ships above me, all taking turns dropping depth charges, and was able to spot the director, sitting there calmly with his light fixed on my position. It took them about 20 minutes to sink me (at 160 meters the whole time), and I don't see any way that I could have gotten away from them. Having given them a much better fix on my location initially than you ever would under normal circumstances it seems about right that I wouldn't have been able to survive the encounter.

Seems like a huge improvement so far, they're very aggressive and effective at pinning you down. My only real concern is with their apparent disinterest at the convoy getting attacked the first time around.
Yes I noticed the Ships depth charging when I first spotted them also, I just put it down to it being a scripted mission and they were expecting an attack .

Also one thing I noticed last night testing. One of the Destroyers was sailing backwards over my position depthcharging, preventing others doing there run.

Haven't tried it in game yet to see the results.
reaper7 is offline   Reply With Quote
Old 07-08-10, 03:43 PM   #5
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,396
Downloads: 79
Uploads: 0
Default

Hey TDW, great work so far. You've probably seen this in the past but here just in case you haven't is a link to the great escort tactics presentation/game the BBC put up a while ago, it clearly explains raspberry/pineapple etc.
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 07-08-10, 06:10 PM   #6
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by Sonarman View Post
Hey TDW, great work so far. You've probably seen this in the past but here just in case you haven't is a LINK to the great escort tactics presentation/game the BBC put up a while ago, it clearly explains raspberry/pineapple etc.
Great link and I agree.. TDW, you should take a look on this! All you wanna know about tactics used by escorts presented in flash with explicit drawings/animation. Brilliant, wish I could see this in the game!
Zedi is offline   Reply With Quote
Old 07-08-10, 06:28 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
Great link and I agree.. TDW, you should take a look on this! All you wanna know about tactics used by escorts presented in flash with explicit drawings/animation. Brilliant, wish I could see this in the game!
I'll give it a look

Escorts protecting the convoy are no longer 'blind and dumb' when the commander has a tactic set. They will seek you out if they detect you now. I'm giving them a max distance they can be from the convoy before they have to return and trying to set a maximum # that can seek you out of those protecting the convoy.
TheDarkWraith is offline   Reply With Quote
Old 07-08-10, 04:29 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by DICY View Post
The first thing I noticed was that as the escorts approached they appeared to be getting attacked by something, but I couldn't for the life of me figure out by what. It looked like they were dropping Depth Charges at first, but they didn't change course at all and some of the explosions were going off in front of the ships. I couldn't see anything around that might be attacking them (planes/ships), and these certainly weren't explosions caused by another U-Boat. I doubt this has anything to do with your AI but I didn't want to leave it unmentioned.

The second thing I saw that I think is a bit more of a problem; I got in front of the escorts, went to about 140 meters to let them pass over me, than went to periscope depth when they were past me. However, when I attacked the merchants none of the escorts seemed to care at all. No course change, nobody coming to look for me, they just kept on going as if nothing had happened. I didn't expect them to be able to find me, but I at least would have thought they'd try. I was able to attack the convoy two more times without any response from the escorts, at which point I surfaced and the mission ended. Again, I don't know if this is actually an AI issue or has more to do with the mission script.
not sure about the first one.

Second one though is great feedback! Here's why that happened: in each 'group' of ships there is a commander. When that commander detects you he issues the tactics for the ships in his group to use. Once those tactics are set they don't end until it says so or an end is scripted into the tactic. So in your situation you were detected and the commander set the Plaster tactic. Initially they were coming to 'plaster' you but you evaded. The commander then switched the tactic to spiral seach. I have spiral search set for 60 mins. After 60mins the tactic automatically ends at which time the ships will regroup with the convoy and no tactic is set. I need to do something about this so that if you do evade and attack the convoy the commander will switch out of the spiral search tactic
TheDarkWraith is offline   Reply With Quote
Old 07-08-10, 05:28 PM   #9
DICY
Nub
 
Join Date: Mar 2010
Posts: 4
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
not sure about the first one.

Second one though is great feedback! Here's why that happened: in each 'group' of ships there is a commander. When that commander detects you he issues the tactics for the ships in his group to use. Once those tactics are set they don't end until it says so or an end is scripted into the tactic. So in your situation you were detected and the commander set the Plaster tactic. Initially they were coming to 'plaster' you but you evaded. The commander then switched the tactic to spiral seach. I have spiral search set for 60 mins. After 60mins the tactic automatically ends at which time the ships will regroup with the convoy and no tactic is set. I need to do something about this so that if you do evade and attack the convoy the commander will switch out of the spiral search tactic
Ahh, I don't think anyone actually detected me. I simply moved into the convoy's path and let them drive right over me. I went deep because the explosions I'd seen earlier had me thinking there might be another sub in the area that they'd be looking for. They never changed course at all though, just kept leading the convoy, even when I attacked it. A few of the escorts ran erratic patterns behind the leads, but they did that the whole time. I didn't notice a spiral pattern at all.

I think reaper's probably right about the first thing being part of the mission script, is it possible that it's affecting the AI's behavior in some way? I think I'll give it another try and see if I can't duplicate those results.
DICY is offline   Reply With Quote
Old 07-08-10, 11:00 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by DICY View Post
The second thing I saw that I think is a bit more of a problem; I got in front of the escorts, went to about 140 meters to let them pass over me, than went to periscope depth when they were past me. However, when I attacked the merchants none of the escorts seemed to care at all. No course change, nobody coming to look for me, they just kept on going as if nothing had happened. I didn't expect them to be able to find me, but I at least would have thought they'd try. I was able to attack the convoy two more times without any response from the escorts
v0.0.4 released. See post #1 for details.

I think you'll find it much harder to do what you did above now

NOTE: bombs and DCs are MUCH more effective (deadlier) now
TheDarkWraith is offline   Reply With Quote
Old 07-09-10, 02:19 AM   #11
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

TDW, did you increased the AI visual range at daylight? I have hard time now to approach, even shadowing a convoy. I barely see a vague smoke on the horizon and I'm already on the visual range limit. So that's why I had no chance to test this mod with an attack on a convoy, I'm always spotted 2 soon.

This is not really normal as I'm a sub with a slim and low silhouette and engines are not running with coal. So I should get closer to my targets than a regular ship. I think only a BB should have such a huge visual range as the escorts have now.
Zedi is offline   Reply With Quote
Old 07-09-10, 06:25 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magnum View Post
TDW, did you increased the AI visual range at daylight? I have hard time now to approach, even shadowing a convoy. I barely see a vague smoke on the horizon and I'm already on the visual range limit. So that's why I had no chance to test this mod with an attack on a convoy, I'm always spotted 2 soon.

This is not really normal as I'm a sub with a slim and low silhouette and engines are not running with coal. So I should get closer to my targets than a regular ship. I think only a BB should have such a huge visual range as the escorts have now.
I made the following changes to \data\Cfg\Sim.cfg:

[Visual]
Detection time=4 ;[s] min detection time. was 15.0, decreased by 73%
; lower values than 1 make it harder for AI to detect you
Sensitivity=1.0 ;(0..1) min detection threshold double detection time.
Fog factor=0.5 ;[>=0]
; AI's visual acuity
; comes into play at dawn/dusk conditions
; comes into play at night
; too high a value can make the AI blind
Light factor=0.75 ;[>=0] was 1, decreased 25%
Waves factor=5 ;[>=0] was 10, decreased by 50%
Enemy surface factor=25 ;[m2] was 50, decreased by 50%
Enemy speed factor=12.5 ;[kt] was 25, decreased by 50%
Min Signal Strength=0.1
Night Sensitivity Factor=0.3
Thermal Layer Signal Attenuation=0

[Radar]
Detection time=1 ;[s]
; lower values than 1 make it harder for AI to detect you
Sensitivity=1.0 ;(0..1) was 0.01
Waves factor=0.75 ;[>=0] was 1.0, decreased by 25%


If you don't mind, first try setting the [Visual] Sensitivity to 0.5 and test. If AI still too 'good' at detecting you visually then keep decreasing the [Visual] Sensitivity down to no less than 0.1 in say 0.05 increments. If not much better then play with the [Visual] light factor value to see if that helps (but it will also affect their night vision) by increasing the value in 0.05 increments up to no > 1.5. If it doesn't, then try taking the [Radar] Sensitivity back to 0.01 and see if that helps.

Last edited by TheDarkWraith; 07-09-10 at 06:51 AM.
TheDarkWraith is offline   Reply With Quote
Old 07-09-10, 06:58 AM   #13
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Right, but what file is this? Actually I'm thinking to return the stock value for visual range on daylight as those were pretty realistic.. escorts had lower visual range, BB's bigger.

Also, at night seems like some merchants go blind, just now I approached to 450m a lonely merchant with the attack scope at max in a custom mission and he had nothing against.. the crew was sleeping or 2 high
Zedi is offline   Reply With Quote
Old 07-08-10, 02:34 PM   #14
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by John Channing View Post
Nice!

This leads me to a question/request.

Is it possible to put a time delay on the searchlights. It has always been the case that the nano-second after the torp hits all the lights come on. It's like the lookouts are sitting there with their hands on the switches. I know it's a small thing, but the small things add up to some really big things.

Oh.. and I haven't tried this mod yet, but if you have actually already done this.... please disregard.



JCC
not sure anything can be done about the spotlights. The devs didn't give any way to control them in the ship's AI routines.

Next thing I'm going to add to the ship's AI is the destroyer that sits there waiting for you to resurface. My question is how often did a destroyer just sit around waiting for the sub to resurface? How many were left to do this duty when the others returned back to the convoy? How long did they sit there and wait? Did they move position to keep in constant 'contact' with the sub or did they just park in one spot and wait? How far back did they sit from the sub waiting?

Is the AI too smart? Or is the AI not smart enough? Do they find you to easily? Is it impossible to 'lose' them once detected or does it seem about right or ??
TheDarkWraith is offline   Reply With Quote
Old 07-08-10, 03:19 PM   #15
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
not sure anything can be done about the spotlights. The devs didn't give any way to control them in the ship's AI routines.

Next thing I'm going to add to the ship's AI is the destroyer that sits there waiting for you to resurface. My question is how often did a destroyer just sit around waiting for the sub to resurface? How many were left to do this duty when the others returned back to the convoy? How long did they sit there and wait? Did they move position to keep in constant 'contact' with the sub or did they just park in one spot and wait? How far back did they sit from the sub waiting?

Is the AI too smart? Or is the AI not smart enough? Do they find you to easily? Is it impossible to 'lose' them once detected or does it seem about right or ??
The Black Swan is the dedicated sub hunter-killer, the rest is mostly for protection and keeping the threat away. So if is any BS in the convoy, they should stay in shadow and hunt the sub no matter how long will take. The are also equipped for this job, having the best sub detections tools on board. So NFF_Black_Swan should be the most aggressive and feared sub hunter, focus on that.
Zedi 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:45 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.