Reveal Map (c)
factorio — Console Commands
Removes fog of war and reveals the entire map, including terrain, resources, and enemy bases. Essential for planning or debugging.
Syntax
/c game.forces.player.chart(game.surfaces[1], game.surfaces[1].get_playertile_area(0, 0, 1000000, 1000000))
Example
/c game.forces.player.chart(game.surfaces[1], game.surfaces[1].get_playertile_area(0, 0, 1000000, 1000000))
💡 Notes
The area coordinates (0,0 to 1000000,1000000) cover a huge region; adjust for smaller maps. Works on the default surface (index 1).
🎯 Tips & Tricks
Reveal only chunks
Use /c game.forces.player.chart(game.surfaces[1], {{0,0},{100,100}}) to reveal a specific area instead of the whole map.
Multi-surface mods
For modded surfaces, replace game.surfaces[1] with the correct surface index or name.
🔧 Troubleshooting
Map not fully revealed
Increase the coordinate range (e.g., 1000000 to 10000000) or use a smaller area if performance is an issue.
Lag after command
Revealing massive areas can freeze the game; save before running and consider revealing in chunks.
⚠️ Common Mistakes
- Using wrong surface index
- Revealing too large an area on weak PCs
- Expecting it to work in multiplayer without admin
👍 Pros
- Full map visibility
- Shows all resources and biters
- Helps with expansion planning
- Instant effect
👎 Cons
- Removes exploration challenge
- Can cause lag on huge maps
- Disables achievements