jcikal
Aug 13, 2006, 09:07 PM
How do I reveal the entire map without entering the World Builder? (That's the only solution I was able to find using the search)
|
View Full Version : Help - Removing Fog of War (Revealing Entire Map) jcikal Aug 13, 2006, 09:07 PM How do I reveal the entire map without entering the World Builder? (That's the only solution I was able to find using the search) jcikal Aug 14, 2006, 09:20 AM 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. Gerikes Aug 14, 2006, 09:38 AM 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(). jcikal Aug 15, 2006, 07:07 AM Where do I put the CyEngine().setFogOfWar(bState)? Which Python file is it under? Gerikes Aug 15, 2006, 10:17 AM Where do I put the CyEngine().setFogOfWar(bState)? Which Python file is it under? 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. Jeckel Aug 15, 2006, 01:09 PM 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. |
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.