Wiki console command breaks radars

Bugs that are actually features.
DrJones
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Thu Sep 08, 2016 11:13 pm
Contact:

Wiki console command breaks radars

Post by DrJones »

So taking the command from https://wiki.factorio.com/console listed under 'Reveal the map around the player', with an extra zero on the radius, so:

/c local radius=1500
game.player.force.chart(game.player.surface, {{game.player.position.x-radius, game.player.position.y-radius}, {game.player.position.x+radius, game.player.position.y+radius}})


seems to break radars, in that going to map/remote view doesn't show the terrain when you zoom in. After running this command, zoom-to-terrain only works around the player, not around radars or around roboports.

To repro:
- Open the attached save.
- If your character isn't located just to the east of the eastern coal patch, move over there.
- Copy the above command.
- Open the console, paste in the command.
- The game warns this will disable achievements and doesn't execute the command.
- Open the console again, paste in the command again.
- Open the map with tab, and zoom out a bit.
- Wait a few seconds, and watch as the brighter / exposed area of the map fades out.
- Try zooming in on the map, and observe that only around the player character do you see the terrain, not around the radar by the lake.
Attachments
Radar test.zip
(2.71 MiB) Downloaded 3 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3634
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Wiki console command breaks radars

Post by Bilka »

You're asking the game to chart 9 million tiles, that is going to take some time. During that time other charting won't happen. Don't do that if you don't want that effect.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
DrJones
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Thu Sep 08, 2016 11:13 pm
Contact:

Re: Wiki console command breaks radars

Post by DrJones »

After waiting some hours, charting is working again, and radars and roboports once again reveal the terrain.

So all good again. Thanks for the help!
Post Reply

Return to “Not a bug”