Small update to the user.ltx to majorly improve visuals and make all god ray types look good plus an update to the engine.
26/06/21
Updated file to fix configuration issue. Re-download and overwrite existing files.
Small update to the user.ltx to majorly improve visuals and make all god ray types look good plus an update to the engine.
Updated OGSR Engine to 2.1.228
Latest Changes:
- Temporarily shut up the problem with the typewriters (#325 )
- Added command
g_3d_scopes_fps_factor
for setting FPS in 3D scopes.
- Added command
g_spawn
.
- Added the effect of fog on the vision of mobs. The deeper the object in the fog, the slower the mobs should see it. IN
[vision_free_section]
и [vision_danger_section]
added parameters to regulate this:
fog_factor = 1 ;Sets the coefficient for the fog density. The default is 1. In this case, at a distance of fog_far, the point will be the color of fog, not an object, and at this distance the mobs will never see the object. If this coefficient is increased, then the distance at which the mobs do not consider the object will decrease. If you set it to 0, then the fog will not affect your vision, because the fog density will also become 0.
fog_pow = 5 ;Sets the curvature of the fog density versus distance. The default is 5. The curvature of the fog density is calculated by the formula y = x to the power fog_pow.
;The graph of such a function looks something like this:
; *
; *
; **
;***
;those. the further, the more the fog density increases. This is so that the fog will affect the vision the more the further the object is in the fog. That he would have as little influence as possible at close and medium distances.
alife():spawn_id( "name" ) --Returns the `spawn_id` from` all.spawn` by the name of the object. When rebuilding an allspawn, the spawn_ids are constantly changing, and they have to be changed after each rebuild in scripts. Otherwise, nothing will need to be changed.db.actor.inventory:is_active_slot_blocked() --Check for blocking the slot (for example, on the stairs, etc.)
user.ltx changes
1. Enabled r2_ls_bloom_fast
2. Increased r2_ls_bloom_kernel_scale from 1 to 1.5
3. r2_rain_drops disabled
4. Decreased r2_sun_depth_far_bias from -0.00002 to -0.5
5. Decreased r2_sun_depth_near_bias from -0.00001 to -0.5
6. Decreased r2_sun_lumscale_amb from 1 to 0.75
7. Increased r2_sun_near from 16 to 32
8. Decreased r2_tonemap_middlegray from 1.2 to 0.9
9. Increased r_SunShafts_Radius from 1 to 2
10. Increased r__detail_density from 0.45 to 0.25
11. Increased r__detail_radius from 166 to 200
12. Decreased mipbias from -0.5 to .1
13. Increased r_ss_sunshafts_length from 0.25 to 1
14. Set r3_msaa from st_opt_off to 4x
15. Enabled r_sslr_blur
16. Changed default r_sunshafts_mode from ss_ogse to ss_manowar
How to Install:
- Copy and paste bin_x64 and gamedata into Stalker Soc directory
- Overwrite any and all files
The version of the user.ltx provided is very CPU intensive. If you are having FPS issues the first thing I would do is lower grass density. You can look at the user.ltx changes as a reference from what they use to be and what they are now.
How to increase the font size? The text in 4k is very small.
You'll have to edit the original game translation and edi the font ize there and if you want the UI to be bigger you'd need to edit UI xml's also.
Do I need a previous version of the patch? if yes, which the order of installation?
You can download v1.1.15 and then update that to v1.1.17 with no issues.
I tried downloading the 1.15 pack and adding 1.1.17 on it however I got it to run, but when I click settings, it crashes to desktop and repeats that there was an error in the OGSR code that it couldn't find "next" in selection to it. Only this problem occurred, which I was able to make a game and everything but not do settings. Any tips on it? I followed the installation guide with x64 and x86 but both seemed to do the same error each time.
Here's the detailed report from the engine itself :
Expression : FATAL ERROR
Function : CScriptEngine::lua_pcall_failed
File :
d:\ogsr-engine\ogsr-engine\ogsr_engine\common_ai\script_engine.cpp
Line : 52
Description :[CScriptEngine::lua_pcall_failed]: Invalid key to 'next'
See log file and minidump for detailed information.
Strange. Try installing 1.1.15 then 1.1.16 then the engine update then install 1.1.17 and you should have no issues.
Same thing happened to me with clicking on settings, game CTD's right away - it worked 100% fine before the update. (Fun so far)
Edit: This is what the logs giving me.
[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : d:\a\ogsr-engine\ogsr-engine\ogsr_engine\xrgame\ui\uixmlinit.cpp
[error]Line : 176
[error]Description : XML node not found
[error]Arguments : video_adv:cap_3d_scopes_fps_factor
Edit 2: Installed from 1.1.15 to 1.1.16 to Engine Update to 1.1.17 and the issue persists unfortunately
Fixed the issue. Just downloaded 1.1.17 again and overwrite files and it will work. I forgot to add a config.
Appreciate the help, it works now. Did have to start a new file because I got a crash when loading and the log said something about a sleeping bag, wasn't that far anyways. Maybe I'm crazy but the grass seems taller than before and there's no way to adjust it down? Only it's density and distance. I was getting 60 FPS pretty much maxed out before, I'm hardly pushing 40 in cordon now. It could be something on my end, I'll tweak around
Edit: Did a little messing around, tweaked some things in the Nvidia panel and things seem ok now, time to enjoy!
I am glad it is fixed now. If you want to adjust the height of the grass you can adjust r_detail_scale in the user.ltx.
Man, was playing for several hours yesterday, got up to Army Warehouses and then I noticed peoples flashlights started acting completely weird (The beam seems to be below their feet and pointing to the wrong side, seems to be only certain npcs (others have no flashlight) I reinstalled all the update files and it still persists, I guess I'll try a full reinstall. Another observation - I noticed these weird black clouds that come out of NOWHERE and darken the whole area really quickly and cover up almost all the skybox, is that normal?
That's not normal I will get a fix out soon. It shoud be easy to fix.