View Distance Changing (Mafia: The City of Lost Heaven)

    Perhaps everyone already knows how to increase the maximum view distance in the game using the old program DCED, but not all of them do this without mar the almost perfect graphics of the LS3D engine. All the shortcomings and advantages of the DCED, and how to use it I do not tell! So, we are starting.

    Open the file "scene2.bin" the mission we need and go to the general properties: File --> General Properties , or press Ctrl G.


    All that interests us - the first string "View Distance" in window "General Scene Properties".


    With the default value - 300 meters, the game would look like this:


    For example, I increases this parameter exactly twice:


    Watch the result in the game. As seen in the screenshot, the viewing distance has increased, but with it the fog effect in the distance almost disappeared:


    With increasing viewing distance need to adjust the fog effect settings. To do this, there is a special light called "mlha". It may have a different name, depending on the mission, but it is not difficult to find it among the stack of lights - its sector: Primary sector, type: Fog.

    Using the same DCED, we reopen the "scene2.bin" file of the mission we want and look for the above light:


    Will only have to edit the distances (Range) - "Near" and "Far", which are indicated as a percentage in relation to the maximum viewing distance. When I increased it to 600 meters, the fog effect also moved away from the player’s camera and became almost imperceptible. How it works can be seen in the following figure:


    By this logic to get the initial effect of the fog, its parameters should also reduce the distance twice:
Near: 25
Far: 50

    Watch the result:


    Thus, we returned the initial settings of the fog, or the air density, but with an increased viewing distance. Of course, settings "Near", "Far" and "Power" can be edited on your own, simulating various weather conditions. In order not to worsen the viewing created for us by the developers, we should not ignore the settings of this light, or delete it at all! With no fog effect, objects near and far away will have the appearance of the same contrast, which is unnatural!

    I finally chose values:
Near: 40
Far: 90
Power: 1

    Got a nice looking view:


Немає коментарів:

Дописати коментар

Примітка: лише член цього блогу може опублікувати коментар.