Over a year ago I made an identical thread like this one and I got some help which I am grateful for, but the work is not 100 % finished because it has some bugs. Link to old thread where you can see the discussion: http://www.gamesas.com/topic/1375029-req-could-someone-make-this-script/
In short, here's why I request this:
Many people have Z-fighting issues with flickering mountains in Skyrim.
One of the ways to reduce this is to put fNearDistance=23.0000 (default value is 15.0000) in Skyrim.ini under the [Display] section. This reduces the flicker by quite a lot (like 30-35 %), but it also causes clipping issues when you look extremely close to objects. The reason is becasue, I think, increasing the fNearDistance value moves the near clipping plane further away.
So the higher the number, the less the flicker, but also the more clipping-issues when really close to objects.
Here's what I request:
A workaround for this could be to add a script that automatically changes fNearDistance to 15.0000 (which is the default value) when you're in interiors, because then it's much more likely that the player is right next to walls & objects and looking straight in them. In interiors we also don't need to have a higher fNearDistance number, because there is no flicker to reduce since you obviously can't see the mountains from interiors. The script would then automatically change the value back to a preferred one (the one you have added yourself in Skyrim.ini) when you're in exteriors.
So... all in all the script is attached to the fNearDistance .ini setting and automatically changes it. It needs to detect if the player is in interiors or exteriors. The script also needs to remember what value you originally have added in the Skyrim.ini yourself; if this is not possible, then the script could add its own .ini where you can place your preferred fNearDistance value when you're in exteriors.
Could someone make this script? I, and I'm sure many other people, would appreciate it a lot! The mod would be released on Nexus and you would be duly credited.
Here's the previous script and .esp which JustinOther made in the previous thread I linked to, but which still have some bugs:
http://www38.zippyshare.com/v/31818290/file.html
Here's my posts in the previous thread regarding the bugs which this previous script and .esp has:
I tested it and it worked in some ways but not in other ways. Here's what I found out:
- Before I installed the test you uploaded, I saved two new saves. One in exterior and one in interior. When I installed your test, it worked properly when I loaded the save game I last had saved while being in interior space. However, when I loaded the save game I last had saved while being in exterior space, and then moved to an interior space to test the difference, I still got clipping. The pop-up menu script started in both saves though so that worked at all times.
So, in other words, it seemed that I had to load a game where I was in an interior space for the script to work to force the interior value to 15.0000. It didn't work (it wasn't forced to 15.0000 in interiors) when I loaded a game where I was in exterior space, and then travelled to an interior space in the game.
- Also I wonder if it's possible to make it so you change 1.0 point at a time. When I changed the outside values in game through the pop-up menu, it changed 5.0 points at a time.
- And one last thing, I couldn't find a way to change back the settings once the menu had poped up and I had clicked done. Is there any way the pop-up menu could be attached to a spell or an item or something that you are given, so you can change the outside settings several times (for instance if you regret putting the setting to a certain number)?
I tested some more, here's what I found out:
- The forced interior to 15.0000 worked when I loaded the save game in exterior and when I through the pop-up menu changed the outside/exterior value to 15.0000 as well.
- The forced interior to 15.0000 did not work when I loaded the save game in exterior and when I through the pop-up menu did nothing and clicked done (in other words left the outside/exterior value at 25.0000).