PDA

View Full Version : Turning off Fog of War


evenflow80
02-20-2006, 02:37 AM
Anyone know what XML I can mod to completely remove fog of war from both space and land? Any help is appreciated, thanks!

evenflow80
02-21-2006, 01:40 AM
Anyone, please?

gideon25
02-21-2006, 04:23 AM
Anyone, please?

Open up GameConstants.xml and find this section:

<SpaceFOWHeight>-80.0</SpaceFOWHeight>
<SetupPhaseCountdownSeconds>5</SetupPhaseCountdownSeconds>
<DesiredLandFOWCellSize>15.0</DesiredLandFOWCellSize>
<DesiredSpaceFOWCellSize>100.0</DesiredSpaceFOWCellSize>

<LandFOWRegrowTime>6.0</LandFOWRegrowTime>
<SpaceFOWRegrowTime>6.0</SpaceFOWRegrowTime>

Ok, Now change it to look like this:

<SpaceFOWHeight>-80.0</SpaceFOWHeight>
<SetupPhaseCountdownSeconds>5</SetupPhaseCountdownSeconds>
<DesiredLandFOWCellSize>0.0</DesiredLandFOWCellSize>
<DesiredSpaceFOWCellSize>100.0</DesiredSpaceFOWCellSize>

<LandFOWRegrowTime>5000.0</LandFOWRegrowTime>
<SpaceFOWRegrowTime>5000.0</SpaceFOWRegrowTime>

That will completely remove the fog of war for LAND battles. For some reason adjusting FOWCellSize for SpaceFOW doesn't work :/
However see the <SpaceFOWRegrowTime> I adjusted so the fog of war will at least stay gone in Space battles once you move over an area. I have add this to my SIMPLE cheat mod. You can get the simple cheat mod here:
http://www.lucasforums.com/showthread.php?p=2026778#post2026778

And just use the GameConstants.xml file from it if you want. Also in the Gameconstants.xml I made it to where you can have unlimited reinforcements for ground battles.

evenflow80
02-21-2006, 04:43 AM
Thanks man! BTW what does :

<SpaceFOWHeight>-80.0</SpaceFOWHeight>

Mean? Maybe that's what disables space fow?

evenflow80
02-21-2006, 05:03 AM
Just tried modding the fog of war, doesn't really remove it so much as make units visible through it, so in effect everything is really dark. There has to be a way to just remove the fog of war, turn it off, not just modify the pixel size and regrowth rate...

gideon25
02-21-2006, 05:21 AM
Just tried modding the fog of war, doesn't really remove it so much as make units visible through it, so in effect everything is really dark. There has to be a way to just remove the fog of war, turn it off, not just modify the pixel size and regrowth rate...

Yea, there doesn't seem to be any setting in the xml config files for the fog of war other than per unit settings and that doesn't quite work right either :/ Its either hard coded or its in another meg file. Shaders.meg or maps.meg maybe?