FogSettings beta
Interface of @v12-engine/engine
export interface FogSettingsHow the fog of war keeps what was seen (RuleSettings.fog)
Members
explored
explored?: 'remembered' | 'nothing';What is kept of what was seen once: remembered, ground drawn dim and buildings as they were last seen (when left out); nothing, out of sight is as never seen (ground black again, buildings forgotten; building there is still allowed)
mask
mask?: 'black' | 'dim';How ground never seen is drawn: black (when left out), or dim as explored ground is
nightSight
nightSight: number;Part of its sight a unit has at night, for types that do not say (UnitTypeDef.sightNight)
startExplored
startExplored?: boolean;The whole map explored from the start, the fog over it all the same (as classic RTS melee maps are): the ground drawn dim, and what stands on it and belongs to no player (trees, mines, rocks, neutral buildings: shops, taverns, the creeps' own) seen from the first moment, as it stood then; units, and players' buildings, only once in sight. A map says otherwise (MapDef.explored). No when left out