I know it was possible to do in Civ 3, hopefully Civ 4 also has the capability. I've read through the manual but no mention of it anywhere and couldn't find anything about it in the World Builder either.
I know it was possible to do in Civ 3, hopefully Civ 4 also has the capability. I've read through the manual but no mention of it anywhere and couldn't find anything about it in the World Builder either.
Are you speaking on a level of graphics, or on a level of having the map actually revealed to the player (the second being different in that perhaps you're messing with how the AI sees the world).
In the first case, check out the python call CyEngine().setFogOfWar(bState). Truthfully, I don't know what it does (it might just make it so that there's no fog of war on tiles you visited).
You might also find success playing with pPlot.setRevealed().
Check out CvEventManager.py. There are a bunch of functions there that happen at certain times, for example there's one that happens at the beginning of a player's turn, another that happens whenever an improvement is built, etc. Find the one that best suits when you want the code to run.
If you want to reveal the entire map in SP games, so you can just play the game with the whole map explored, make sure in the civilization.ini file that cheat=chipole and then ingame hit cntrl+z and it will reveal the whole map for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.