![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
03-25-14, 06:28 PM
|
#1 | |
|
Black Magic
![]() |
Quote:
That first test at the start of the function to see if it's already nighttime was supposed to be taking care of this. I'll fix it Yes the game's nighttime value was 0.283. Typo on my part. I could make this value changeable ![]() Good news! I figured out how to increase the spawn distance from the player's unit The game has a default radius of 40000m (sometimes 35000m) from the player's unit for when other units are rendered. I added some new code and a new variable in the patch file that will allow you to define an additional radius amount I added an additional 40000m to the existing 40000m (80000m total) and sure enough it worked. Any units within a 80000m radius of my unit were being rendered
|
|
|
|
03-25-14, 06:55 PM
|
#2 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
![]() Quote:
![]() Could far away ships be heard through the hydrophone (both for players and for the sonarman)? Have you noticed any decrease in performance on you high spec system? |
|||
|
|
03-25-14, 07:20 PM
|
#3 | |
|
Black Magic
![]() |
Quote:
Haven't tested the hydrophone on far away units yet. I'll let you all do this I'm just finishing up the new version of my Generic Patcher currently and testing everything for CTDs.No decrease in performance on my high-end system. You have to remember that I have an AMD 8 core processor overclocked to 5+GHz on an Asus Crosshair Formula-Z motherboard with 16GB of RAM with the rendering being taken care of by a GTX690. There isn't much that can bring my system to it's knees
|
|
|
|
03-25-14, 08:06 PM
|
#4 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Quote:
Don't forget the 'ship (other than carriers) spawning planes patch', when you get time for it. IIRC you liked the idea, and it should already be in you todo list Quote:
|
|||
|
|
03-25-14, 09:24 PM
|
#5 | |
|
Ace of the deep .
|
Quote:
|
|
|
|
03-25-14, 09:49 PM
|
#6 |
|
Black Magic
![]() |
v1.0.160.0 released. See post #1
Starting with v1.0.160.0: - added a new patch to the SH5.exe: Increase render distance of units. This new patch will, as it says, increase the render distance of units from the player's unit. Default render distance is 40000.0m. This patch will let you define an additional value to add to this 40000.0m thus increasing the render distance from the player's unit. Default value is an additional 40000.0m. See the Notes= of the new patch to learn how to change the default value. - revised the Player's unit visual sensor affected by available light and Units visual sensor affected by available light (does not affect player's unit) patches so that if it's nighttime it will use the additional nighttime multiplier specified in the patches. - Added notes (Notes=) to the Player's unit visual sensor affected by available light, Units visual sensor affected by available light (does not affect player's unit), and searchlights active at dusk when they have a contact patches so that the end-user knows how to adjust the variables for those patches My high-end system was able to increase the render distance of units an additional 100000.0m (total render distance was then 140000.0m) without a performance hit
|
|
|
03-25-14, 10:16 PM
|
#7 |
|
Ace of the deep .
|
I enabled the v1.0.160.0 . Left it on the Default value is an additional 40000.0m . Started a new career and left Memel . My computer seems to run better LOL 112 fps . Asus EAH 5870 V2 LOL . Early days . Got close to a port and ships started turning up . 18 fps . Good that its there for when I upgrade my computer .
Last edited by THE_MASK; 03-25-14 at 11:51 PM. |
|
|
03-26-14, 12:21 AM
|
#8 | |
|
Black Magic
![]() |
Quote:
Going to have to do a little trickery because of this: Dump - SHSim_act:06AC0000..06AC0FFF Address Hex dump Decoded data Comments 06AC023C \. 40000040 DD 40000040 ; Characteristics = INITIALIZED_DATA|READ SHSim's .rdata section only has read access which is typical of rdata sections (they are usually read-only constants or read-only global constants) Here's where years and years of hacking comes into play! If you ever want to modify data in a section that is read-only or doesn't have write access just modify the flags in the PE header to give you the access you need/want. Easy as pie!! |
|
|
|
03-26-14, 01:58 AM
|
#9 |
|
Count Dracula
|
all of u have this error with patch 1.0.160.0 ?
![]() EDIT: Problem solved used the backups and patched again and all is ok now thx
__________________
Last edited by Sjizzle; 03-26-14 at 04:07 AM. |
|
|
03-26-14, 02:44 AM
|
#10 |
|
Ace of the deep .
|
|
|
|
03-25-14, 06:58 PM
|
#11 | |
|
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 195
Downloads: 333
Uploads: 0
|
Quote:
I'm thinking to users that already now suffer pc slowdown...Immagine 3 large convoys sailing in that range during night with some searchlights on and maybe firing to a group of planes and all rendered...most pc with low specs pc will almost freeze I presume...In addition think also to multiplayer session...already with SH3 when there's a single huge convoy and the ships of it of starts to fire to a plane(for example) most players suffer slowdowns. I hope to not offend you with this consideration but I think that it's a thing you have to take in mind. With respect Viktor |
|
|
|
03-25-14, 07:16 PM
|
#12 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
