Closed coolyoshi closed 4 years ago
Hi @coolyoshi ,
This can be done through C++ in the RTSFogofWar.cpp in this section:
case EStratVisionState::VISION_Known:
FogOfWarTextureBuffer[iBlue] = 0;
FogOfWarTextureBuffer[iGreen] = 255; ----- this line you can change to darken the known fog. Say 110.
FogOfWarTextureBuffer[iRed] = 0;
FogOfWarTextureBuffer[iAlpha] = 0;
break;
It could probably also be done in the Fog of War material in the UE4 editor, but I preferred through C++.
Hope that helps.
@Zimbo1786
That did the trick, you actually saved me. Edited the value in C++ and it looks perfect.
Thanks so much for the help
No worries @coolyoshi - glad to have been able to help out.
This should already be part of the plugin; there are three different vision states:
I think it would be useful to have an option to change the fog of war to something similar to Warcraft 3 where areas outside field of vision are just slightly darker:
Or if anyone knows how to implement this any help would be greatly appreciated