![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
03-25-14, 04:36 PM
|
#1 |
|
Black Magic
![]() |
This is a variable in the patch file where the user can define an amount to add to the nighttime multiplier. I have this set to 1.0 for units other than player's unit. Player's unit has a value of 2.5.
|
|
|
03-25-14, 06:05 PM
|
#2 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Is the same constant (night time multiplier addition) applied at night (i.e. when the daytime test fails)? It should ![]() Quote:
P.S: well done with your new function
|
||
|
|
03-25-14, 06:28 PM
|
#3 | |
|
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
|
#4 | |||
|
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
|
#5 | |
|
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
|
#6 | |||
|
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
|
#7 | |
|
Ace of the deep .
|
Quote:
|
|
|
|
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-25-14, 06:58 PM
|
#9 | |
|
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
|
#10 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
