![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
05-12-13, 10:21 PM
|
#1 |
|
Ace of the deep .
|
If i enable all the render patches i get a ctd on clicking on the navigation map icon .
|
|
|
05-12-13, 11:55 PM
|
#2 | |
|
Swabbie
![]() Join Date: May 2005
Posts: 5
Downloads: 225
Uploads: 0
|
Quote:
I have an nVidea GTX560 graphics card and AMD Phenom II X4 965 CPU. Everything was working with OH2.1 Full + Patch 2 and your (Sobers) mod list. I didn't sink any Polish ships as it was heavy fog and I play at 100% + Real Nav and haven't had a chance continue with the Baltic Operations mission. I will try with OH2.2 and the latest Patcher when I get the time to play again. |
|
|
|
05-13-13, 12:50 AM
|
#3 |
|
Black Magic
![]() |
v1.0.93.0 released. See post #1
Starting with v1.0.93.0 Revised the randomize nearest visual contact patch. Now the patch takes weather into account (clouds, fog type, and precipitation type) The weather parameters are accessed via a table of entries for each type. The data is contained in the patch file via variables. It's a number of types of the weather type X 2 table with data for each weather type (clouds, precipitation, and fog): columns are the available types for each weather type (none, medium, heavy, etc). The two rows are distance and percent error to add. If the visual contact's distance is >= distance then game will check the percent error to add. If percent error to add is < 0 then game says you do not see the visual contact. If percent error is >= 0 then this error is added to the current total error. If distance is < 0 then that tells the game to ignore this weather type. I'll detail what the stock values are for all the tables tomorrow. If the game calculates that you cannot see a visual contact it will display a message in the messagebox denoting so. Message to display (menu entry) is a variable in the patch file. Currently I have it set to 1209 (No visual contact!) |
|
|
05-13-13, 02:12 AM
|
#4 |
|
Ensign
![]() Join Date: Mar 2005
Location: Gent, Belgium
Posts: 228
Downloads: 94
Uploads: 0
|
Another question: if I want to keep the special ability to reduce torpedo dud chances ("Remove torpedo dud reduce ability"), do I need to leave "Removes other reducing factor from torpedo dud chances" disabled, or can I enable it?
__________________
Rock 'n' roll is the only religion that will never let you down |
|
|
05-13-13, 02:13 AM
|
#5 |
|
Black Magic
![]() |
You can enable it. That's why I made it a separate patch
|
|
|
05-13-13, 02:34 AM
|
#6 |
|
Ace of the deep .
|
Tried to open the EXE with patch 93 . Randomise nearest visual contact distance . Change 2 . Reason . Bytes read does not equal bytes expected by patch .
Can anyone else get it to work ? Is it a problem on my end ? Last edited by THE_MASK; 05-13-13 at 03:51 AM. |
|
|
05-13-13, 05:28 AM
|
#7 | |
|
Seasoned Skipper
![]() Join Date: Mar 2010
Location: Berlin, Germany
Posts: 715
Downloads: 575
Uploads: 0
|
Quote:
|
|
|
|
05-13-13, 06:41 AM
|
#8 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
I wonder if you could store somewhere the last range estimation, and the time that it was estimated at. Every time we ask for a range, your code should calculate elapsed time from the previous estimation. Let's define some variablen: RE = new range estimation RE0 = last stored range estimation TE= time elapsed from the last stored range estimation TE0 = minimum time for a new range estimation
TE0 should be a function of target's speed and range: the slower the speed and the longer the range, the longer the time for estimated range to change. Variables are reset if closest target changes. Another, probably easier method to do the same could be by comparing exact ranges. In this case the variables involved would be: RE0 = last stored range estimation R0 = exact range relative to the last stored range estimation R = current range if RE0 and R0 are empty variables (no previous contact estimations for current closest target), then calculate range estimations according to your current code. Else, new range estimation should be equal to: RE0 * R / R0 What do you think? Quote:
![]() http://www.subsim.com/radioroom/show...88#post1886488 |
||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
