Field Command: RTS Selection, Formations, Fog of War and AI Opponents Kit
README.md
FogOfWar
One per scene: switches fogOfWarKit's fog of war on and sizes it. center and size cover the playable area in world X/Z, cellSize sets the grid (1 m for RTS maps, 0.5 m for tight stealth levels), look picks classic, mist, parchment or pixel and can be changed live, active draws the fog or not, viewerTeam is the team this screen draws (a FogSource with localViewer sets it to the local player's team), lineOfSight lets walls block vision (with scanColliders the scene's tall colliders become walls on start), revealAll is a spectator switch. Fields are local to each screen; the fog is computed per peer from positions every peer has, so nothing is networked. Code can drive the same thing through require("fogOfWarKit.api").