View Single Post
Old 03-19-07, 09:09 PM   #2
Der Teddy Bar
Blade Master
 
Join Date: Jan 2002
Posts: 1,388
Downloads: 0
Uploads: 0
Default

The visibility fix for SHIII works for SHIV.

Unlike SHIII doubling the visibility from 8000 to 16,000 metres does not bring with it a large performance hit. In fact it is almost non existent. On medium quality with the SHIV 8000 metre world I get at 1024 x 768 (windowed) 27 frames per second, with the 16,000 metre world I get 25 frames per second!

When I put the horizon out to 24,000 metres my frame rate hit was 20%, i.e. from 25 to 20 frames with the medium graphic settings as per the options menu.

My computer is a P4 2.6, 1Gb memory with a ATI 9800 Pro 256Mb video card running 2 x 21” monitors. So it is far from flash or even meeting recommended requirements.

The formula for visual distance to the horizon based on the height of eye is: Distance (nm) = 1.14 x sqrt(height of eye in feet)

This formula can be found here with an accompanying table of visual distances based on height of eye: http://www.eagleoiltankers.co.uk/def...seahorizon.htm

In the real world, based on clear day under normal conditions, a person standing on the conning tower deck at an assumed height of 30 feet would have the horizon appear at a distance of 11,000 metres or 6.3 nautical miles.

At a distance fractionally less than the horizon, we can expect to see all the ship down to the water line. Just it will be really really tiny…

For a ship which is over the horizon, say the Large Modern Composite Freighter with a mast height of 100 feet, we could theoretically expect to see the top of the masts when the ship is 24,000 metres (13.1 nautical miles) away. Of course realistically this would probably be closer to 20,000 metres (10.7 nautical miles).

For 16K change the ZMax value from 1000 to 2000
For 24K change the ZMax value from 1000 to 3000

Note that this is just a player visual tweak and does not make the AI see any further than it currently does. For the AI it will require the sensors.dat and the ai_sensors.dat along with the releveant cfg files to be adjusted.


Credit for the SHIII 16k world in alphabetical order is Kpt. Lehmann, Manuel Ortega, Marhkimov, Redwine, Rulle34, Seeadler and others I may have forgotten.
Der Teddy Bar is offline   Reply With Quote