[MOD] Add 100k to Draw Distance
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 398
- Joined: Sun, 30. Nov 03, 12:32
[MOD] Add 100k to Draw Distance
This mod adds 100k to the draw distance of stations asteroids in all sectors apart from the ones where the draw distance is already in excess of 200k. It also moves out the fog clumps by a distance of 100k, effectively thinning out the pea soup nebula.
This is achieved by modifying lines 24 and 25 of the TBackgrounds file.
Download from:
http://www.filefront.com/15066847/100k- ... tance.spk/ for a false patch.
Or as mods for +10k, +30k and +100k:
http://www.filefront.com/15066871/X3TC% ... 20mods.zip
Installation: Unzip file and copy the mods folder to the X3 Terran Conflict directory.
When starting game press the select mod package button on the startup screen and then select the draw distance + 100k mod. Now start the game as normal and all the invisible stations, asteroids, etc should now become visible.[/url]
This is achieved by modifying lines 24 and 25 of the TBackgrounds file.
Download from:
http://www.filefront.com/15066847/100k- ... tance.spk/ for a false patch.
Or as mods for +10k, +30k and +100k:
http://www.filefront.com/15066871/X3TC% ... 20mods.zip
Installation: Unzip file and copy the mods folder to the X3 Terran Conflict directory.
When starting game press the select mod package button on the startup screen and then select the draw distance + 100k mod. Now start the game as normal and all the invisible stations, asteroids, etc should now become visible.[/url]
Last edited by avicenna on Sat, 5. Dec 09, 23:22, edited 3 times in total.
"A man may imagine things that are false,
but he can only understand things that are true."
Sir Isaac Newton
but he can only understand things that are true."
Sir Isaac Newton
-
- Posts: 338
- Joined: Thu, 16. Oct 08, 08:45
-
- Posts: 697
- Joined: Sat, 21. Oct 06, 08:09
-
- Posts: 398
- Joined: Sun, 30. Nov 03, 12:32
Screenshot of the Circle of Light after Draw Distance 100k mod applied follows:
http://gallery.filefront.com/avicenna//1106098/
I have found that the mod reduces performance is some sectors. For me turning on AQC seems to overcome this.
http://gallery.filefront.com/avicenna//1106098/
I have found that the mod reduces performance is some sectors. For me turning on AQC seems to overcome this.
"A man may imagine things that are false,
but he can only understand things that are true."
Sir Isaac Newton
but he can only understand things that are true."
Sir Isaac Newton
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
-
- Posts: 9
- Joined: Tue, 28. Oct 08, 22:02
-
- Posts: 9
- Joined: Wed, 23. Aug 06, 22:30
OK. Found the log file. Here it is:
Also, I can run the SPK Explorer and manually install scripts OK, and I can run the packager, just not the installer. And, yes, I have tried uninstalling and reinstalling several times. I tried that before I posted here.
Code: Select all
[30:10:08 - 12:53:50] [STARTUP] Setting up display mode
[30:10:08 - 12:53:50] [STARTUP] Starting up Plugin Manager
[30:10:08 - 12:53:50] [STARTUP] Settings have been loaded
[30:10:08 - 12:53:50] [STARTUP] -verbose option passed, enabling full debug log
[30:10:08 - 12:53:50] [STARTUP] Setting up dialog connections
[30:10:08 - 12:53:50] [STARTUP] Initisalising progress display
[30:10:08 - 12:53:50] [STARTUP] Setting up temporary storage
[30:10:08 - 12:53:50] [STARTUP] Program started: C:/Program Files/EGOSOFT/X3 Reunion
[30:10:08 - 12:53:50] [STARTUP] Searching for other running plugin managers..
[30:10:08 - 12:53:51] [STARTUP] Checking for current language settings
[30:10:08 - 12:53:51] [STARTUP] Update language display texts, language=English
[30:10:08 - 12:53:51] [STARTUP] checking for valid directories
[30:10:08 - 12:53:51] [STARTUP] Loading package data for current directory (C:/Program Files/EGOSOFT/X3 Reunion)
[30:10:08 - 12:53:51] [STARTUP] Converting old data file into new format
-
- Posts: 338
- Joined: Thu, 16. Oct 08, 08:45
-
- Posts: 398
- Joined: Sun, 30. Nov 03, 12:32
Khaak_Slayer:
On my system performance differences between the unmodded game and increasing the draw distance is minimal in most sectors, the exception being crowded sectors like Omicron Lyrae. In these sectors enabling AQC brings the performance right back to close to normal unmodded.
FUD:
I prefer to leave some of the fog in. For me it does add a bit to the atmosphere, although it is still totally unrealistic in comparison to a real nebulae.
SpectralWraith:
I have absolutely no idea what this is about. Have you misposted?
Corhen:
I am going to play around with a minimalist version that alters the draw distance in the less than 10k sectors to 30k. This is from the viewpoint of maximising performance whilst reducing the risk of running into invisible stations problem in foggy sectors. It should be posted later today. I have discovered that the lines I am altering do not thin the fog, they only change the draw distance and fade in distance. Thus you will still have invisible stations or asteroids popping into view the mod will just give you a bit more time to avoid them.
On my system performance differences between the unmodded game and increasing the draw distance is minimal in most sectors, the exception being crowded sectors like Omicron Lyrae. In these sectors enabling AQC brings the performance right back to close to normal unmodded.
FUD:
I prefer to leave some of the fog in. For me it does add a bit to the atmosphere, although it is still totally unrealistic in comparison to a real nebulae.
SpectralWraith:
I have absolutely no idea what this is about. Have you misposted?
Corhen:
I am going to play around with a minimalist version that alters the draw distance in the less than 10k sectors to 30k. This is from the viewpoint of maximising performance whilst reducing the risk of running into invisible stations problem in foggy sectors. It should be posted later today. I have discovered that the lines I am altering do not thin the fog, they only change the draw distance and fade in distance. Thus you will still have invisible stations or asteroids popping into view the mod will just give you a bit more time to avoid them.
"A man may imagine things that are false,
but he can only understand things that are true."
Sir Isaac Newton
but he can only understand things that are true."
Sir Isaac Newton
-
- Posts: 90
- Joined: Mon, 29. May 06, 23:06
-
- Posts: 338
- Joined: Thu, 16. Oct 08, 08:45
-
- Posts: 121
- Joined: Sat, 14. Feb 04, 00:00
Do I have to start a new game to have the fog removed? It doesn't seem to work for me.
Here is "The Hole", without the mod:
[ external image ]
Here is is with the "Draw Distance 100K" mod:
[ external image ]
Here it is with the "X3TC Draw 30K" mod:
[ external image ]
My settings:
[ external image ]
What am I doing wrong? Is there any other mod to remove fog? The Extra Search feature cannot even find this very thread
.
Here is "The Hole", without the mod:
[ external image ]
Here is is with the "Draw Distance 100K" mod:
[ external image ]
Here it is with the "X3TC Draw 30K" mod:
[ external image ]
My settings:
[ external image ]
What am I doing wrong? Is there any other mod to remove fog? The Extra Search feature cannot even find this very thread

-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
It's in Tbackgrounds, each line is a list of offsets\values.
I don't have it right in front of me, but in the middle of all the ";0;0;0;0;", etc, is an offset such as ;16;. This is the fogr offset.
I'm not sure of the specifics of the values, I just know this is the offset I edited to remove the fog.
The draw distance are the bigger numbers (550000;600000, etc) towards the end of the line.
You can edit it with Notepad after you extract it.
I don't have it right in front of me, but in the middle of all the ";0;0;0;0;", etc, is an offset such as ;16;. This is the fogr offset.
I'm not sure of the specifics of the values, I just know this is the offset I edited to remove the fog.
The draw distance are the bigger numbers (550000;600000, etc) towards the end of the line.
You can edit it with Notepad after you extract it.
-
- Posts: 121
- Joined: Sat, 14. Feb 04, 00:00
Hehe, I have no idea what you are talking about. If Tbackgrounds is a file, I can't find it in my TC directory. The archives I have downloaded from the original post have 2 files for each of the mods to uncompress into the <TC>\mods\ directory, for instance "X3TC Draw 30k.cat" and "X3TC Draw 30k.dat" for the "X3TC Draw 30k" mod. Both are binary files, which one might edit with a hex editor but definitely not notepad.fud wrote:It's in Tbackgrounds, each line is a list of offsets\values.
I don't have it right in front of me, but in the middle of all the ";0;0;0;0;", etc, is an offset such as ;16;. This is the fogr offset.
I'm not sure of the specifics of the values, I just know this is the offset I edited to remove the fog.
The draw distance are the bigger numbers (550000;600000, etc) towards the end of the line.
You can edit it with Notepad after you extract it.
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
Right. 
You'd first have to extract TBackgrounds from the main cat file in the TC folder, using Doubleshadow's editor/mod manager.
The way I did mine, I've got a TBackgrounds.txt file in x3 terran conflict\types\
The game reads from subfolders in the main as a priority, (including "mods") then the cats, starting with the highest numbered one.

You'd first have to extract TBackgrounds from the main cat file in the TC folder, using Doubleshadow's editor/mod manager.

The way I did mine, I've got a TBackgrounds.txt file in x3 terran conflict\types\
The game reads from subfolders in the main as a priority, (including "mods") then the cats, starting with the highest numbered one.
-
- Posts: 398
- Joined: Sun, 30. Nov 03, 12:32
Neofit wrote:
If you want to remove the fog completely than I would suggest fud's mod.
If you look carefully at your images you can see some stations. However, a better way to determine how well it is working would be to come in through the north gate. With the mod working correctly, you should be able to clearly see the west gate, and the solar power station, trading post and another station near the trading post should be visible through the haze.
Firstly, this mod does not remove the fog, it changes the draw distance so that you can see objects such as stations, asteroids etc through the fog up to the distance specified. I kept the fog in for aesthetic reasons, I don't mind the effect I just didn't like the invisible stations, asteroids etc.Do I have to start a new game to have the fog removed? It doesn't seem to work for me.
If you want to remove the fog completely than I would suggest fud's mod.
If you look carefully at your images you can see some stations. However, a better way to determine how well it is working would be to come in through the north gate. With the mod working correctly, you should be able to clearly see the west gate, and the solar power station, trading post and another station near the trading post should be visible through the haze.
"A man may imagine things that are false,
but he can only understand things that are true."
Sir Isaac Newton
but he can only understand things that are true."
Sir Isaac Newton
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
-
- Posts: 121
- Joined: Sat, 14. Feb 04, 00:00
Thanks for the walkthrough folks. I've edited the 03.cat file, put 0 at offset 19 in the "fog*" entries (which had 16s and 10s) and it looks much better. There is still a green mist in the distance in The Hole for instance, but it already looks much better, kind of nebula-ish.
Technically, from what we know at present, nebulae are only made of a few atoms/molecules per square kilometer, it just adds up over cubic light-years. They would be totally opaque if they were as dense as clouds in our atmosphere. Feels better without the pea soup imho.
Technically, from what we know at present, nebulae are only made of a few atoms/molecules per square kilometer, it just adds up over cubic light-years. They would be totally opaque if they were as dense as clouds in our atmosphere. Feels better without the pea soup imho.
-
- Posts: 9837
- Joined: Wed, 25. Jan 06, 14:26
Just as a comparison:
Unedited Back ground:
Edited:
Unedited Back ground:
Code: Select all
0;0;0.000000;0.000000;0.000000;0;0;fogblue;1;1;1;25;50;10;5;5;0;0;0;14;0;0;0;0;3000000;4000000;100;120;120;120;0;0;0;0;0;0;0;SS_BG_10;
Edited:
Code: Select all
0;0;0.000000;0.000000;0.000000;0;0;fogblue;1;1;1;25;50;10;5;5;0;5;0;0;0;0;0;0;90000000;90000000;100;120;120;120;0;0;0;0;0;0;0;SS_BG_10;