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


Default

starting work on v0.0.16. This version is going to look into what Antar posted above and also give the sub AI different tactics for different ships (merchants, escorts, unknown). Also got some info back from the devs so I'll be making some changes based on that info. Sadly, there is no command to lower the sub AI's periscopes once they are raised Also according to the info received the sub AI should be firing their cannons so I'm trying to figure out why they aren't.
Is there anything else I need to look into? I'm also going to look into adding lights to the planes Antar mentioned. Anything else? How's the ship AI? Too difficult, not difficult enough,....?
TheDarkWraith is offline   Reply With Quote
Old 08-13-10, 05:24 PM   #2
qweasd
Watch
 
Join Date: Mar 2010
Posts: 15
Downloads: 72
Uploads: 0
Default

i'm fine with the mod as it is, but what about gaining control over the other subs. Like, set navigation paths for them to follow, so the player is like the admiral of a fleet of subs.

That would give a new dimension to the game.

Good job btw TDW
qweasd is offline   Reply With Quote
Old 08-13-10, 05:27 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by qweasd View Post
i'm fine with the mod as it is, but what about gaining control over the other subs. Like, set navigation paths for them to follow, so the player is like the admiral of a fleet of subs.

That would give a new dimension to the game.

Good job btw TDW
don't think possible. I don't see anything in documentation that even hints at controlling the AI subs
TheDarkWraith is offline   Reply With Quote
Old 08-13-10, 05:35 PM   #4
elanaiba
Ace of the Deep
 
Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,056
Downloads: 3
Uploads: 3
Default

I could see 2 possible - if far fetched - options for submarines to be more reactive to player actions:

1) use the "patrols spawned from base nodes in relation to threat areas

OR

2) use once a player sends a contact report, use an external tool to analyze the coordinates and generate a mis file with wolfpack headed to intercept. The campaign can dynamically merge mission files if an objective is achieved or failed so maybe a trick can be pulled there ...
__________________
With strength I burn...

elanaiba is offline   Reply With Quote
Old 08-13-10, 05:43 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by elanaiba View Post
I could see 2 possible - if far fetched - options for submarines to be more reactive to player actions:

1) use the "patrols spawned from base nodes in relation to threat areas

OR

2) use once a player sends a contact report, use an external tool to analyze the coordinates and generate a mis file with wolfpack headed to intercept. The campaign can dynamically merge mission files if an objective is achieved or failed so maybe a trick can be pulled there ...
ah so the game reads these mis files during the game and not just at game start?
TheDarkWraith is offline   Reply With Quote
Old 08-13-10, 05:52 PM   #6
elanaiba
Ace of the Deep
 
Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,056
Downloads: 3
Uploads: 3
Default

I'll have to verify on Monday just to make sure about the technical solution we chose for the layer merge, but my memory says "yes".
__________________
With strength I burn...

elanaiba is offline   Reply With Quote
Old 08-18-10, 07:07 AM   #7
elanaiba
Ace of the Deep
 
Join Date: Mar 2005
Location: Bucharest, Romania
Posts: 1,056
Downloads: 3
Uploads: 3
Default

Quote:
Originally Posted by TheDarkWraith View Post
ah so the game reads these mis files during the game and not just at game start?
Yes, said the programmer. Maybe he's wrong But let's say the game automatically loads the new campaign layer as soon as the achievement happens.

Sorry for the delay - I promised an aswer on Monday but I had some family emergency over the weekend.

Now I need to think on how this could practically work ....
__________________
With strength I burn...

elanaiba is offline   Reply With Quote
Old 08-18-10, 07:21 AM   #8
janh
Stinking drunk in Trinidad
 
Join Date: Jan 2010
Posts: 349
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by elanaiba View Post
Yes, said the programmer. Maybe he's wrong But let's say the game automatically loads the new campaign layer as soon as the achievement happens.

Now I need to think on how this could practically work ....
Hmmh, sounds like this would be a complicated workaround, but at least a way. Maybe that way you could also program an external tool to control a "strategic AI" to define convoy routes, plane basement and Warship Task Forces depending on player actions (a crucial point for a warship mod like the one for SHIII).

But I wonder whether one couldn't develop a more direct way in the SHV engine that a contact report etc spawns a script trigger that could then contain some sort of script that generates pathways for nearby units etc.?
Maybe -- if there ever will be another -- this could be done in patch?
__________________
Scientific facts are not determined by the opinion of the majority, nor by a democratic vote.
janh is offline   Reply With Quote
Old 08-14-10, 11:16 AM   #9
marleymen
Planesman
 
Join Date: Apr 2005
Location: Con dos cojones, ESPAÑA
Posts: 192
Downloads: 126
Uploads: 0
Default

Quote:
Originally Posted by elanaiba View Post
I could see 2 possible - if far fetched - options for submarines to be more reactive to player actions:

1) use the "patrols spawned from base nodes in relation to threat areas

OR

2) use once a player sends a contact report, use an external tool to analyze the coordinates and generate a mis file with wolfpack headed to intercept. The campaign can dynamically merge mission files if an objective is achieved or failed so maybe a trick can be pulled there ...
No one has said yet but ... thanks for helping to make the game better Elanaiba
Keep well informed TDW on how to make better AI behavior.

Respect
marleymen is offline   Reply With Quote
Old 08-14-10, 12:03 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

See anything different in the below screenshot:


all hydrophones are now full sweep for the ship AI. Also the sonar beam has been reduced from 90 degrees to 60 degrees (for a 120 degree arc).
The hydrophone is full sensitivity from 225 to 135. From 135 to 155 and 203 to 225 it's 0.5. From 155 to 203 it's 0.1 (to account for ship propeller and engine noise).
TheDarkWraith is offline   Reply With Quote
Old 08-14-10, 01:21 PM   #11
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
The hydrophone is full sensitivity from 225 to 135. From 135 to 155 and 203 to 225 it's 0.5. From 155 to 203 it's 0.1 (to account for ship propeller and engine noise).
I think that better idea is to show the correct range for escort ships.
It can be realised as:

Hydrophone #1:
range 0.1 - 180°

Hydrophone #2:
range 0.5 - 155°

Hydrophone #3:
range 1.0 - 135°
__________________

PL_Andrev is offline   Reply With Quote
Old 08-14-10, 01:21 PM   #12
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,870
Downloads: 102
Uploads: 1
Default

Oh no!

Now I can't hide in their baffles
Would it be possible to implement this for the sub hydrophone ie: you can actually hear past your baffles, just not to a very good degree
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-14-10, 03:20 PM   #13
Capt Jack Harkness
Samurai Navy
 
Join Date: Nov 2007
Posts: 567
Downloads: 210
Uploads: 1
Default

Quote:
Originally Posted by TheDarkWraith View Post
all hydrophones are now full sweep for the ship AI. Also the sonar beam has been reduced from 90 degrees to 60 degrees (for a 120 degree arc).
The hydrophone is full sensitivity from 225 to 135. From 135 to 155 and 203 to 225 it's 0.5. From 155 to 203 it's 0.1 (to account for ship propeller and engine noise).
Do we know if the destroyers' hydrophones actually had 360º capability? Submarines today just do not have any hydrophones pointed that direction, except one or two to measure self-noise.
Capt Jack Harkness is offline   Reply With Quote
Old 08-14-10, 03:31 PM   #14
marleymen
Planesman
 
Join Date: Apr 2005
Location: Con dos cojones, ESPAÑA
Posts: 192
Downloads: 126
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
See anything different in the below screenshot:


all hydrophones are now full sweep for the ship AI. Also the sonar beam has been reduced from 90 degrees to 60 degrees (for a 120 degree arc).
The hydrophone is full sensitivity from 225 to 135. From 135 to 155 and 203 to 225 it's 0.5. From 155 to 203 it's 0.1 (to account for ship propeller and engine noise).

Master !! Can´t wait to taste it.

I have a question: when playing with IRAI, when a convoy is warned of Subs the convoy dispersed and start doing erratic course. How long it takes to join again? (reasonable time) Because of when I see a dispersed one it takes 3-4 hours for the ships to return to the "normal" course.

Thanks
marleymen is offline   Reply With Quote
Old 08-14-10, 02:47 AM   #15
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
starting work on v0.0.16.
(...)
Sadly, there is no command to lower the sub AI's periscopes once they are raised
Great news!

I know that AI sub are attacking on full speed. Maybe good solution is deep 20m if sub AI is not attacked (only moving)? Periscope head will be under water...
__________________

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 03:16 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.