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 05-14-13, 05:19 AM   #1
Gillian81
Watch
 
Join Date: Sep 2010
Posts: 20
Downloads: 12
Uploads: 0
Default

Question regarding patching.
Is it advisable to first disable al my mods, before patching, and then after patching enable all my mods again? Or doesn't it really matter?

Also do I still have to edit the menu.txt manually with the follwing:

Code:
Required menu.txt entries for versions >= v1.0.74.0:

Edit this line in your menu.txt file:
MaxStrings=11100

Add these to the end of your menu.txt file:

; Independent engine controls patch
10025=Shafts
10026=Click to enable/disable speed commands for the port shaft
10027=Click to enable/disable speed commands for the starboard shaft
; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your attack|Stay in front of contact/convoy, remain undetected, and send regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive
; possible messages from Bdu when can not dispatch subs
11010=No boats are within your patrol area|Act as lone boat| |Bdu
11011=No support within range|Be more aggressive| |Bdu
11012=Contact report received|Act on own data| |BdU
11013=Be more aggressive!| |Bdu
11014=Attack contact| |Bdu
; Reports from dispatched subs
11020=Contact keeper continue to send bearing signals|Group act on own data|Take every opportunity to attack
11021=Convoy in sight|Signal bearing sent|Moving to attack port side
11022=I believe to have made contact with the convoy|Sending bearing signals|Act according to own data|Attacking at full speed
11023=Requesting bearing signal from contact keeper
11024=Beacon signals lie in the line of approach according to dead reckoning.|Attacking far side of convoy
Gillian81 is offline   Reply With Quote
Old 05-14-13, 05:23 AM   #2
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by Gillian81 View Post
Question regarding patching.
Is it advisable to first disable al my mods, before patching, and then after patching enable all my mods again? Or doesn't it really matter?
It doesn't matter..

Quote:
Originally Posted by Gillian81 View Post
Also do I still have to edit the menu.txt manually with the follwing:
If wolfpack patch is enabled then yes..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-14-13, 07:02 AM   #3
Gillian81
Watch
 
Join Date: Sep 2010
Posts: 20
Downloads: 12
Uploads: 0
Default

Quote:
Originally Posted by volodya61 View Post
It doesn't matter..



If wolfpack patch is enabled then yes..
Thanks!
Gillian81 is offline   Reply With Quote
Old 05-14-13, 07:59 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.94.0 released. See post #1

...

If the unit is the same unit as last time and difference between distance to contact now and before < 500m (a variable in the patch file) then it returns last randomized distance else returns new randomized distance.
Thank you TDW

your work is very much appreciated here, but I have a little remark (hope you don't mind)
Is there any particular reason for your new code to compare the distance changed with the fixed value of 500 m, ? I liked more the method you had described yesterday, where distance changed was compared with variable amount (see quote below), because it would have made mathematically sure that consecuitive range estimations decreased for closing targets and increased for targets moving away. Moreover, it would have made range estimations to be recalculated more often for close targets (smaller variable amount) than for far ones, which seems pretty realistic to me

Quote:
Originally Posted by TheDarkWraith View Post
...If the distance changed >= variable amount then calculate new random distance. If distance changed < variable amount return last random distance calculated...

Quote:
Originally Posted by volodya61 View Post
Sorry, I don't want to annoy you but.. what about Gap's question - can we hope to get rid of the perfect automatic ship recognition every time we asked our WO even at the night or with the heavy fog?

Please
I got to second Volodya's seconding of my request...
gap is offline   Reply With Quote
Old 05-14-13, 08:29 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Thank you TDW

your work is very much appreciated here, but I have a little remark (hope you don't mind)
Is there any particular reason for your new code to compare the distance changed with the fixed value of 500 m, ? I liked more the method you had described yesterday, where distance changed was compared with variable amount (see quote below), because it would have made mathematically sure that consecuitive range estimations decreased for closing targets and increased for targets moving away. Moreover, it would have made range estimations to be recalculated more often for close targets (smaller variable amount) than for far ones, which seems pretty realistic to me
By variable amount I meant the variable's value as defined in the patch file. What I've coded in does what I meant: ABS(distance before - distance now) > variable defined in patch file then recalc random distance else return old random distance. This will ensure new random distances are calculated for closing or moving away contacts.
TheDarkWraith is offline   Reply With Quote
Old 05-14-13, 08:37 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
By variable amount I meant the variable's value as defined in the patch file. What I've coded in does what I meant: ABS(distance before - distance now) > variable defined in patch file then recalc random distance else return old random distance. This will ensure new random distances are calculated for closing or moving away contacts.
Okay, sorry for misunderstanding you

I didn't get that 500 m was just an example; I thought that it was a fixed variable (wich is a contradiction in terms)
gap is offline   Reply With Quote
Old 05-14-13, 08:54 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Okay, sorry for misunderstanding you

I didn't get that 500 m was just an example; I thought that it was a fixed variable (wich is a contradiction in terms)
The variable in the patch file is a fixed amount: 500m. In programming terms a variable is some value in a program statement that can change. For example:
a + b = c. Those all can be considered variables for a program.

It's a variable because one can change it in the patch file to whatever they want (I guess you could consider it a constant since the code doesn't change the value read in). I have it defaulting to 500m.

What kind of calculation are you thinking about to make this variable ever changing in the game
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 10:00 PM.


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.