[MOD]No Fog/View Distance (24/10/08)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 50
- Joined: Wed, 26. Jul 06, 21:38
fud,
If I have issues with the view distance, what part of the file do I change to reduce it to make my frame rate happy... so far it's been okay, but I'm a simple trader and have been gliding around safe trade lanes...
When I can afford a good ship, I'll be getting into furballs...
Thank you again,
Aloid
If I have issues with the view distance, what part of the file do I change to reduce it to make my frame rate happy... so far it's been okay, but I'm a simple trader and have been gliding around safe trade lanes...
When I can afford a good ship, I'll be getting into furballs...
Thank you again,
Aloid
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
There are about 80 background files (about twice X3R), at the end of each line for each entry, are the two values for draw/view distance.
Eg, background for Heretics End:
0;0;0.000000;0.000000;0.000000;0;0;deepred;1;1;1;25;50;10;5;5;0;5;0;0;0;0;0;0;50000000;55000000;100;120;120;120;0;0;0;0;0;0;0;SS_BG_9;
I *think* I changed them all to those values (in red), you can check in the file, some may have "60000000" for the second number. Either way, the process is the same.
Change that to a lower number, in theory, if you divide it in half, it'd be half the distance.
An easy way to do it, is to open notepad, and do the "replace" command, put the existing value in and replace it with the new.
This weekend (or whenever the beer wears off), I'll make a couple different versions for those that might be suffering.
Eg, background for Heretics End:
0;0;0.000000;0.000000;0.000000;0;0;deepred;1;1;1;25;50;10;5;5;0;5;0;0;0;0;0;0;50000000;55000000;100;120;120;120;0;0;0;0;0;0;0;SS_BG_9;
I *think* I changed them all to those values (in red), you can check in the file, some may have "60000000" for the second number. Either way, the process is the same.
Change that to a lower number, in theory, if you divide it in half, it'd be half the distance.
An easy way to do it, is to open notepad, and do the "replace" command, put the existing value in and replace it with the new.
This weekend (or whenever the beer wears off), I'll make a couple different versions for those that might be suffering.

-
- Posts: 1156
- Joined: Mon, 16. Feb 04, 03:39
Is there any way to easily put a slider in for the Nebulae? I sort of like them being there but I don't like the blind-as-a-bat effect. Something like a 5-Step slider would work in my book: 0%, 25%, 50%, 75%, 100%. Nebulae in space may look thick from our view on Earth, but our view is going through billions of KM of nebula. I sorta doubt true nebula would really obscure things in the 500km range, but one would still be able to see it.
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
-
- Posts: 64
- Joined: Wed, 3. Mar 04, 02:28
-
- Posts: 725
- Joined: Mon, 16. Jun 08, 20:14
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
-
- Posts: 64
- Joined: Wed, 3. Mar 04, 02:28
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
McCade, I don't know.
I'm not sure how it could, really. Have you tried re-downloading it and re-installing it? Maybe you didn't get a complete download and/or it was corrupted somehow.
The txt file itself is pretty basic. There aren't many ways to mess it up, unless you accidentally delete a ";".
When I was testing and mucked something up, I just got no background. Just black behind the stations.
I'm not sure how it could, really. Have you tried re-downloading it and re-installing it? Maybe you didn't get a complete download and/or it was corrupted somehow.
The txt file itself is pretty basic. There aren't many ways to mess it up, unless you accidentally delete a ";".
When I was testing and mucked something up, I just got no background. Just black behind the stations.
-
- Posts: 64
- Joined: Wed, 3. Mar 04, 02:28
-
- Posts: 9
- Joined: Sun, 21. Dec 08, 02:37
If I've got this right, the two attributes that you've mostly got set to 50000000 and 60000000 are the ones that control the distance that things become solid and start fading in respectively (km multiplied by 500 000), correct? For some reason you've got a few with both set to the same value, which I would assume would eliminate the fade-in effect (and a few set to other arbitrary values). I don't know if this was intended, but it seems a little odd.
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
Well, if you knew me, nothing is ever intended. 
Seriously though, I believe you're right about the fade in, etc.
I just changed them all to *a* number. It just happened to be that the number I chose worked out to be about 100km in game.
I haven't really tested the effects of altering the numbers seperately.
I'm bored, maybe I'll screw around with it.
"Odd" is my middle name.

Seriously though, I believe you're right about the fade in, etc.
I just changed them all to *a* number. It just happened to be that the number I chose worked out to be about 100km in game.
I haven't really tested the effects of altering the numbers seperately.
I'm bored, maybe I'll screw around with it.
"Odd" is my middle name.
-
- Posts: 1093
- Joined: Sun, 7. Dec 03, 05:32
-
- Moderator (English)
- Posts: 28243
- Joined: Thu, 15. May 03, 20:57
Hey fud, nice little mod. I've been using it since you made it. Tell me, though, have you upgraded it yet to include all the new sectors in 2.0? Or does it not need it?
Have a great idea for the current or a future game? You can post it in the [L3+] Ideas forum.
X4 is a journey, not a destination. Have fun on your travels.
X4 is a journey, not a destination. Have fun on your travels.
-
- Posts: 2165
- Joined: Tue, 2. Dec 03, 09:28
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
The background file is actually quite fun to play with. Changes are instant in-game.
You can make things crystal clear, or clear as mud.
Dungeoncrawler, sorry, I missed your post (couple months ago? sheesh). All I did was got rid of the fog. The green backgrounds are there as default. You just couldn't see them before.
Personally, I hate the green ones too.
You can make things crystal clear, or clear as mud.

Dungeoncrawler, sorry, I missed your post (couple months ago? sheesh). All I did was got rid of the fog. The green backgrounds are there as default. You just couldn't see them before.
Personally, I hate the green ones too.
-
- Posts: 55
- Joined: Sat, 12. Jul 08, 03:27
-
- Posts: 2972
- Joined: Sun, 18. Jun 06, 13:37
that's useful fud!
why don't you post this into the "submissions to community library" thread?
I saw this 10 minutes ago and it is a very useful mod!
added to my game now.
why don't you post this into the "submissions to community library" thread?

I saw this 10 minutes ago and it is a very useful mod!
added to my game now.

Trade, Fight, Build, Think, Modify.
Ship Rebalance Mod
OOS Rebalance
Resized Aldrin Big Rock
SIDE/TOP/FRONT Ship Size Comparison
Remember young Padawan: money stolen can be, time cannot.
Ship Rebalance Mod
OOS Rebalance
Resized Aldrin Big Rock
SIDE/TOP/FRONT Ship Size Comparison
Remember young Padawan: money stolen can be, time cannot.