Feature Request - Toggle to Re-Introduce Fog of War
Moderator: Moderators for English X Forum
-
- Posts: 2514
- Joined: Sat, 21. Feb 04, 20:17
Feature Request - Toggle to Re-Introduce Fog of War
I've got a lot of sectors that have been shrunk significantly by ships going way outside the limits, or ships that got teleported off map making their way back.
It would be really nice if I could chose through a toggle to re-introduce fog of war back into a sector, make it unexplored again. Then I can re-explore it, re-drop satellites, things of that nature, to get it back to a manageable size. With so many sectors now that have been shrunk, it's really un-fun having to deal with it.
I don't know what the long term idea is to fix this issue, but something in the short term that would allow me to return that sector to an unknown state would be awesome.
It would be really nice if I could chose through a toggle to re-introduce fog of war back into a sector, make it unexplored again. Then I can re-explore it, re-drop satellites, things of that nature, to get it back to a manageable size. With so many sectors now that have been shrunk, it's really un-fun having to deal with it.
I don't know what the long term idea is to fix this issue, but something in the short term that would allow me to return that sector to an unknown state would be awesome.
I aim to misbehave...
Maybe we've got 'em demoralised!
Guide on How to Steal Blueprints
Guide - Raw Resource Trading Post
How I completed each Terraforming project
Maybe we've got 'em demoralised!
Guide on How to Steal Blueprints
Guide - Raw Resource Trading Post
How I completed each Terraforming project
-
- Posts: 18
- Joined: Wed, 30. Oct 19, 17:18
Re: Feature Request - Toggle to Re-Introduce Fog of War
Whenever I run into this issue I edit the save to remove the sector from the discovered list.
The areas around any of my satellites are discovered when the save is reloaded.
I can post details if desired.
EDIT: as requested, quoting myself here, so the steps are easier to find:
The areas around any of my satellites are discovered when the save is reloaded.
I can post details if desired.
EDIT: as requested, quoting myself here, so the steps are easier to find:
alecz wrote: ↑Tue, 26. Nov 19, 04:08 Sorry for the late reply, I needed some time to get a chance to have access to the computer.
I actually had such a situation, so I took screenshots of how I fixed it. This way it should be easier for everyone to follow.
Disclaimer: this might mark your save as modified; always keep a backup.
You will need a decent text editor such as Notepad++ or vi/vim/gvim, and an archive extractor such as 7-Zip
Original IMGUR post: https://imgur.com/a/tgtfshi
Steps:
1 - The problem: drone went nuts towards edge of sector. This makes the default zoom useless and affects performance.
https://i.imgur.com/yyKPOTh.png
2 - Desired Map: Ideally, we'd want the game to do something like this. But since it's not possible, we'll have satellites near all stations and reset the sector.
https://i.imgur.com/HCwz7rB.png
3 - Find the saves: First we need to find the save. This is usually in your Documents/Egosoft/X4 folder (enter: %HomePath%\Documents\Egosoft\X4 in the address bar). Sort by "Date Modified" to find your latest save.
https://i.imgur.com/7XO1rfZ.png
4 - Extract last save: Use 7-Zip or similar tool to "Extract Here", not "Extract to":
https://i.imgur.com/gpgUAFz.png
5 - Backup save: After extraction, change the extension of the original so that it is ignored by the game.
https://i.imgur.com/z3ft3lz.png
6 - Edit with Notepad++: Open the extracted save (now in XML format), with a powerful editor such as Notepad++, vi/vim/gvim
https://i.imgur.com/Gy82HcI.png
7 - Find the <discovered> tag: Search for the "discovered" tag. Note the "size" attribute, this shows the current discovered size of the sector. Normal values are < 1,000,000.
https://i.imgur.com/y7Ou59H.png?1
8 - Collapse & find problem: Collapse the "quadtree", "minerals", and "gases" child nodes for all sectors. This makes it easier to identify the sector that is oversized, such as this one that has 4,484,063. To solve the problem, we select the sector node and delete it. Note the arrows pointing such that we have a clean delete - i.e. no empty lines.
https://i.imgur.com/lhY9PNx.png
9 - Delete sector node: After sector removal, the file should look like this. Now save, launch the game and test.
https://i.imgur.com/mxJzyh8.png
10 - Check results: This is how it looks after the sector is removed from the discovered node. Note that we can immediately see all areas covered by satellites. Everything else is removed: both the oversized areas and the space between stations. Putting a modded scout re-explore the sector would remake the disk as seen in the adjacent Hatikvah's Choice I.
https://i.imgur.com/6Qxu4Eq.png
If you are happy with the result, save and then move the backup to a different location.
Let me know if there are questions and/or if/how this worked for you.
Last edited by alecz on Wed, 27. Nov 19, 03:29, edited 3 times in total.
-
- Posts: 130
- Joined: Sun, 17. Jul 11, 16:02
Re: Feature Request - Toggle to Re-Introduce Fog of War
I'm interested in this aswell, please tell which file to edit and on which line!
I think the game absolutely needs a system where the zoom level is automatic, based on the furthest station (or item) you have explored in the sector.
lol
-
- Posts: 1294
- Joined: Mon, 26. Jan 15, 19:55
Re: Feature Request - Toggle to Re-Introduce Fog of War
Strongly agreed. Anyone who is willing to make a polite case for this, please consider emailing the CEO. He is responsive and does listen to us, but it can take a lot to change his mind.
Care to see what I've been creating? https://www.youtube.com/user/ytubrute
-
- Posts: 1394
- Joined: Mon, 1. Nov 10, 10:00
Re: Feature Request - Toggle to Re-Introduce Fog of War
I would like to be able to change the zoom ammount when sectors have expanded.
Just... another... bug.
-
- Posts: 151
- Joined: Thu, 7. Mar 19, 14:03
-
- Posts: 385
- Joined: Sat, 8. May 10, 10:31
Re: Feature Request - Toggle to Re-Introduce Fog of War
Please post the details, that would be great.. I have a couple of sectors ruined like this.
Btw will this make my game modified (meaning .. no more ventures) ?
Btw will this make my game modified (meaning .. no more ventures) ?
Defending Split brothers from Xenon since 2020.
X4:Foundations:
* Abandoned/Derelict ships and locations
* X4 Black Marketeer Finder
X4:Foundations:
* Abandoned/Derelict ships and locations
* X4 Black Marketeer Finder
-
- Posts: 12
- Joined: Thu, 6. Dec 18, 18:10
-
- Posts: 3354
- Joined: Wed, 6. Nov 02, 20:31
Re: Feature Request - Toggle to Re-Introduce Fog of War
One thing that could be done and that doesn't require any toggle is :
On game load, for each discovered sector, go through each object in that sector and determine radius X to the outermost persistent game object (aka the station, unique game object, persistent ship, etc in that sector that is furthest away from the centre).
If that radius X to the outermost persistent game object is smaller than the current sector zoom level (aka the explored area is greater than the relevant area) : reduce sector zoom level to that [radius X + a small tolerance] so an outermost station is not at the absolute edge of the map and set all explored hexagons outside that [radius X + tolerance] as non-explored.
On game load, for each discovered sector, go through each object in that sector and determine radius X to the outermost persistent game object (aka the station, unique game object, persistent ship, etc in that sector that is furthest away from the centre).
If that radius X to the outermost persistent game object is smaller than the current sector zoom level (aka the explored area is greater than the relevant area) : reduce sector zoom level to that [radius X + a small tolerance] so an outermost station is not at the absolute edge of the map and set all explored hexagons outside that [radius X + tolerance] as non-explored.
-
- Posts: 1463
- Joined: Sun, 22. Jun 08, 01:25
Re: Feature Request - Toggle to Re-Introduce Fog of War
Or if you could perhaps hold shift while zooming to change the local sector zoom rather than the whole map.
-
- Posts: 604
- Joined: Wed, 10. Aug 16, 13:28
Re: Feature Request - Toggle to Re-Introduce Fog of War
What do you mean change his mind? Did he state that he didn’t like the suggestion?
-
- EGOSOFT
- Posts: 1932
- Joined: Wed, 12. Sep 07, 19:01
Re: Feature Request - Toggle to Re-Introduce Fog of War
-
- Posts: 1294
- Joined: Mon, 26. Jan 15, 19:55
Re: Feature Request - Toggle to Re-Introduce Fog of War
Yeah, but he/they have changed their minds before based on our feedback, so please do try if you can do so politely and with some detail about why this is so frustrating. You could send him a link to a save with tons of zoomed out sectors--I might do that.repatomonor wrote: ↑Sun, 24. Nov 19, 14:41 In the AMA they said that they aren't planning on changing the way the map currently behaves.
Care to see what I've been creating? https://www.youtube.com/user/ytubrute
-
- Posts: 604
- Joined: Wed, 10. Aug 16, 13:28
Re: Feature Request - Toggle to Re-Introduce Fog of War
Ah, I see. Well, that’s unfortunate. I’d also like to have an in-game fix for the zoom level issue, without having to do save editing.repatomonor wrote: ↑Sun, 24. Nov 19, 14:41 In the AMA they said that they aren't planning on changing the way the map currently behaves.
-
- Posts: 2897
- Joined: Sun, 17. Jul 11, 21:03
Re: Feature Request - Toggle to Re-Introduce Fog of War
THIS. This would be really neat.
XR mods: Log Everything
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
Re: Feature Request - Toggle to Re-Introduce Fog of War
Maybe default zoom for the map should be such that it contains all known/visible objects - or perhaps just stations.
Really weird why it zooms to include all the stupid paths the AI have gone through. Completely irrelevant info.
Really weird why it zooms to include all the stupid paths the AI have gone through. Completely irrelevant info.
-
- Posts: 18
- Joined: Wed, 30. Oct 19, 17:18
Re: Feature Request - Toggle to Re-Introduce Fog of War
Sorry for the late reply, I needed some time to get a chance to have access to the computer.
I actually had such a situation, so I took screenshots of how I fixed it. This way it should be easier for everyone to follow.
Disclaimer: this might mark your save as modified; always keep a backup.
You will need a decent text editor such as Notepad++ or vi/vim/gvim, and an archive extractor such as 7-Zip
Original IMGUR post: https://imgur.com/a/tgtfshi
Steps:
1 - The problem: drone went nuts towards edge of sector. This makes the default zoom useless and affects performance.

https://i.imgur.com/yyKPOTh.png
2 - Desired Map: Ideally, we'd want the game to do something like this. But since it's not possible, we'll have satellites near all stations and reset the sector.

https://i.imgur.com/HCwz7rB.png
3 - Find the saves: First we need to find the save. This is usually in your Documents/Egosoft/X4 folder (enter: %HomePath%\Documents\Egosoft\X4 in the address bar). Sort by "Date Modified" to find your latest save.

https://i.imgur.com/7XO1rfZ.png
4 - Extract last save: Use 7-Zip or similar tool to "Extract Here", not "Extract to":

https://i.imgur.com/gpgUAFz.png
5 - Backup save: After extraction, change the extension of the original so that it is ignored by the game.

https://i.imgur.com/z3ft3lz.png
6 - Edit with Notepad++: Open the extracted save (now in XML format), with a powerful editor such as Notepad++, vi/vim/gvim

https://i.imgur.com/Gy82HcI.png
7 - Find the <discovered> tag: Search for the "discovered" tag. Note the "size" attribute, this shows the current discovered size of the sector. Normal values are < 1,000,000.

https://i.imgur.com/y7Ou59H.png?1
8 - Collapse & find problem: Collapse the "quadtree", "minerals", and "gases" child nodes for all sectors. This makes it easier to identify the sector that is oversized, such as this one that has 4,484,063. To solve the problem, we select the sector node and delete it. Note the arrows pointing such that we have a clean delete - i.e. no empty lines.

https://i.imgur.com/lhY9PNx.png
9 - Delete sector node: After sector removal, the file should look like this. Now save, launch the game and test.

https://i.imgur.com/mxJzyh8.png
10 - Check results: This is how it looks after the sector is removed from the discovered node. Note that we can immediately see all areas covered by satellites. Everything else is removed: both the oversized areas and the space between stations. Putting a modded scout re-explore the sector would remake the disk as seen in the adjacent Hatikvah's Choice I.

https://i.imgur.com/6Qxu4Eq.png
If you are happy with the result, save and then move the backup to a different location.
Let me know if there are questions and/or if/how this worked for you.
{Images posted directly to the forums should not be greater than 640x480 or 100kb, oversize image now linked - Terre}
EDIT: @Terre, sorry for the images, I uploaded smaller versions and added them in-line
I actually had such a situation, so I took screenshots of how I fixed it. This way it should be easier for everyone to follow.
Disclaimer: this might mark your save as modified; always keep a backup.
You will need a decent text editor such as Notepad++ or vi/vim/gvim, and an archive extractor such as 7-Zip
Original IMGUR post: https://imgur.com/a/tgtfshi
Steps:
1 - The problem: drone went nuts towards edge of sector. This makes the default zoom useless and affects performance.

https://i.imgur.com/yyKPOTh.png
2 - Desired Map: Ideally, we'd want the game to do something like this. But since it's not possible, we'll have satellites near all stations and reset the sector.

https://i.imgur.com/HCwz7rB.png
3 - Find the saves: First we need to find the save. This is usually in your Documents/Egosoft/X4 folder (enter: %HomePath%\Documents\Egosoft\X4 in the address bar). Sort by "Date Modified" to find your latest save.

https://i.imgur.com/7XO1rfZ.png
4 - Extract last save: Use 7-Zip or similar tool to "Extract Here", not "Extract to":

https://i.imgur.com/gpgUAFz.png
5 - Backup save: After extraction, change the extension of the original so that it is ignored by the game.

https://i.imgur.com/z3ft3lz.png
6 - Edit with Notepad++: Open the extracted save (now in XML format), with a powerful editor such as Notepad++, vi/vim/gvim

https://i.imgur.com/Gy82HcI.png
7 - Find the <discovered> tag: Search for the "discovered" tag. Note the "size" attribute, this shows the current discovered size of the sector. Normal values are < 1,000,000.

https://i.imgur.com/y7Ou59H.png?1
8 - Collapse & find problem: Collapse the "quadtree", "minerals", and "gases" child nodes for all sectors. This makes it easier to identify the sector that is oversized, such as this one that has 4,484,063. To solve the problem, we select the sector node and delete it. Note the arrows pointing such that we have a clean delete - i.e. no empty lines.

https://i.imgur.com/lhY9PNx.png
9 - Delete sector node: After sector removal, the file should look like this. Now save, launch the game and test.

https://i.imgur.com/mxJzyh8.png
10 - Check results: This is how it looks after the sector is removed from the discovered node. Note that we can immediately see all areas covered by satellites. Everything else is removed: both the oversized areas and the space between stations. Putting a modded scout re-explore the sector would remake the disk as seen in the adjacent Hatikvah's Choice I.

https://i.imgur.com/6Qxu4Eq.png
If you are happy with the result, save and then move the backup to a different location.
Let me know if there are questions and/or if/how this worked for you.
{Images posted directly to the forums should not be greater than 640x480 or 100kb, oversize image now linked - Terre}
EDIT: @Terre, sorry for the images, I uploaded smaller versions and added them in-line
Last edited by alecz on Wed, 27. Nov 19, 03:28, edited 1 time in total.
-
- Posts: 151
- Joined: Thu, 7. Mar 19, 14:03
Re: Feature Request - Toggle to Re-Introduce Fog of War
You... GOD!
May I build a shrine in your honour at my HQ?
May I build a shrine in your honour at my HQ?
-
- Posts: 2298
- Joined: Sat, 26. Feb 05, 01:47
Re: Feature Request - Toggle to Re-Introduce Fog of War
so a fix or a solution has been confirmed by a dev for 3.0
what kind dont know lets wait and see
what kind dont know lets wait and see
Fixed ships getting spawned away from ship configuration menu at resupply ships from automatically getting deployables.