ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » General
Setting in user.ltx is reseted?

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  14:58:54  26 August 2018
profilee-mailreply Message URLTo the Top
vurt
(Novice)
 
On forum: 05/23/2016
Messages: 10
Setting in user.ltx is reseted?

I want to use r2_sun_near 1 since this fixes the bug of glitchy shadows on the sides (at least for me).

But i constantly have to write this in the console for it to take effect. Having it in the user.ltx doesn't seem to work, it resets to 12.

Any workaround for this? I tried to use Read Only for the file, but this is removed directly by the game (strange thing for a game to be able to control..)

I don't think binding it to a key would work? I had no luck at least.
  00:20:24  27 August 2018
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263
Steam user? There are two locations possible in Steam where user files might be located.

The one that is actually used is on the path found on the first line of fsgame.ltx in your STALKER SoC install folder.

See http://www.metacognix.com/stlkrsoc/TroubleshootingFAQ.html#UserFiles for more details and info if you still have trouble (e.g., user permissions preventing your changes).
  17:40:49  27 August 2018
profilee-mailreply Message URLTo the Top
vurt
(Novice)
 
On forum: 05/23/2016
Messages: 10

---QUOTATION---
Steam user? There are two locations possible in Steam where user files might be located.

The one that is actually used is on the path found on the first line of fsgame.ltx in your STALKER SoC install folder.

See http://www.metacognix.com/stlkrsoc/TroubleshootingFAQ.html#UserFiles for more details and info if you still have trouble (e.g., user permissions preventing your changes).
---END QUOTATION---



It doesnt matter what version unfortunately (i'm editing the correct file). It can actually save this setting with "1".. But in-game it has reverted to 12, and i have to enter the command again with "1".. also on a new level the setting is reverted.

I'm using Radiophobia 2 mod though, maybe that mod reverts settings for some reason..

My workaround was to create a macro, not optimal though to have to click a key to fix this, but its not that bad.
  05:58:21  28 August 2018
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263
Ah. Mods bring their own issues, with a Mod Discussion section in this forum dedicated to them.

Look through your gamedata\scripts\ folder if you have one. If you don't, you'll need to extract one of the mod's database files (gamedata.db*), usually one of the last files in a alphanumerically sorted gamedata.db* list. Extract the gamedata.dbb and higher database files into a gamedata\ folder in your SoC installation folder. You might need to create the folder first. Extract those files in alphanumeric order, as newer files will overwrite the older files of the same name. The game uses the highest-database version of any file it finds, so you don't want older files to break your game.

Use a find-in-files program or that feature in a good text editor like Notepad++. Search for r2_sun_near in gamedata\scripts\*.script. You are looking for something like this:

get_console():execute("r2_sun_near 12")

That get_console() command might be assigned to a variable, but that's not important. The r2_sun_near you care about is being assigned in a console execute() command similar to what I've shown above.

Change it to what you want and save and you should no longer have that problem with the mod.
  11:10:02  30 August 2018
profilee-mailreply Message URLTo the Top
vurt
(Novice)
 
On forum: 05/23/2016
Messages: 10

---QUOTATION---
Ah. Mods bring their own issues, with a Mod Discussion section in this forum dedicated to them.

Look through your gamedata\scripts\ folder if you have one. If you don't, you'll need to extract one of the mod's database files (gamedata.db*), usually one of the last files in a alphanumerically sorted gamedata.db* list. Extract the gamedata.dbb and higher database files into a gamedata\ folder in your SoC installation folder. You might need to create the folder first. Extract those files in alphanumeric order, as newer files will overwrite the older files of the same name. The game uses the highest-database version of any file it finds, so you don't want older files to break your game.

Use a find-in-files program or that feature in a good text editor like Notepad++. Search for r2_sun_near in gamedata\scripts\*.script. You are looking for something like this:

get_console():execute("r2_sun_near 12")

That get_console() command might be assigned to a variable, but that's not important. The r2_sun_near you care about is being assigned in a console execute() command similar to what I've shown above.

Change it to what you want and save and you should no longer have that problem with the mod.
---END QUOTATION---



Many thanks!

Actually someone else had asked on the radiophobia 2 mod page why it doesnt save settings and the author replied he needed to edit "aa2"-script, so it seems like it should be there
  02:44:49  20 September 2019
profilee-mailreply Message URLTo the Top
Jobesky
(Novice)
 
On forum: 09/06/2015
Messages: 37
I have the exact same problem with Radiophobia 2. My user.ltx keeps resetting. Did you fix it, vurt? I'm desperate.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » General
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2019 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.