Cannot Get Fog of War to Work
Closed this issue · 1 comments
This may be the same issue as with #158, but I am not 100% sure.
Basically, I can get RTSProject
to run fine, but when I try to setup a sample project according to the setup instructions in https://github.com/npruehs/ue4-rts/blob/develop/Documents/Manual/Setup.md and https://github.com/npruehs/ue4-rts/blob/develop/Documents/Manual/Maps.md, all I get is a black screen. I put the two projects side by side and tried scaling up the Floor, vision volume, and camera bounds volumes in my project to match the RTSProject
, but that had no effect. I've even tried copying the volumes from the RTSProject
into my sample project, but that also had no effect.
I am thinking either that this is because I haven't setup the HUD or because I need to do more to initialize characters, but am not sure.
While editing (not simulating):
During play (using the default "black" Fog of War from the framework):
During play (using the "white" Fog of War from the RTSProject
):
Sample project:
https://1drv.ms/u/s!AigXEMxuXyh0gpcF57hjVqdau0xhcg?e=Ys5cHj
Nevermind! Figured it out. I was missing the character setup (specifically, I missed adding a Vision Component to the character) under:
https://github.com/npruehs/ue4-rts/blob/develop/Documents/Manual/Units.md#vision