![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
03-02-14, 11:09 AM
|
#1 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
@ TDW
talking again about the optimal values to be set in your sonar patch, maybe you can get some clues from the comments to this other mod by Stiebler (for SH3). He used a different approach though: rather than varying minimum signal strenght, he varied the minimum surface factor of the sonar sensor.
|
|
|
03-02-14, 02:31 PM
|
#2 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
03-02-14, 02:33 PM
|
#3 |
|
Black Magic
![]() |
Stumbled upon how the game decides which contact of a list of contacts detected by a unit is selected as the contact detected. Each unit has a priority number assigned to them. When the game iterates over all the contacts detected the unit with the highest priority value is the contact detected. Always wondered how the game decided this
|
|
|
03-02-14, 02:40 PM
|
#4 |
|
Sea Lord
![]() Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
|
You are Black Magic
|
|
|
03-02-14, 02:49 PM
|
#5 | |
|
Ace of the deep .
|
Quote:
|
|
|
|
03-02-14, 02:58 PM
|
#6 |
|
Black Magic
![]() |
|
|
|
03-02-14, 03:17 PM
|
#7 |
|
Samurai Navy
![]() |
|
|
|
03-02-14, 04:16 PM
|
#8 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
|
||
|
|
03-02-14, 07:07 PM
|
#9 | |
|
Ace of the deep .
|
Quote:
High priority contact True or False ?
|
|
|
|
03-02-14, 07:14 PM
|
#10 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
03-02-14, 10:29 PM
|
#11 | |
|
Black Magic
![]() |
Quote:
The priorities I'm talking about are hard-coded in the SH5.exe. I'm not going to attempt to redo them but instead just insert some code to see if unit is AI sub and if so then merchants are priority over everything else. |
|
|
|
03-03-14, 04:46 AM
|
#12 |
|
Serial Port Protector
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
|
and what about a possible solution for multiplayer then, problem is that always only 1 sub get engaged in multiplayer, other subs are totaly ignored by the escorts, even if surfaced and in fireing range...
__________________
Stormy...... |
|
|
03-03-14, 12:10 PM
|
#13 |
|
Black Magic
![]() |
That's going to be a little tricky. Other than the priority thing I talked about earlier the sensor with the highest signal strength returned for it's contact is the contact the unit will track and engage.
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
