Class FogOfWarDefaults
Defaults for the exploration grid, in one place so the store, the map and the definition's override all agree.
public static class FogOfWarDefaults
- Inheritance
-
FogOfWarDefaults
- Inherited Members
Fields
ChunkSize
Length of one exploration chunk's side, in world metres.
public const float ChunkSize = 128
Field Value
Remarks
A hundred and twenty-eight metres, which makes the shipped thousand-metre scenes nine chunks square. That is the number chosen to make the percentage worth showing: each chunk entered is a little over one percent, so the readout moves a visible step every time the player reaches new ground, rather than creeping by a point per sixty metres walked as the per-cell version did.
It is also about the area the old reveal disc covered, so a scene opens up at roughly the rate it used to — in blocks with edges rather than as a spreading smudge.
A scene that wants a different grain sets FogChunkSize on its map definition. A
small interior wants a smaller number: at this size a two-hundred-metre scene is four
chunks, and each one is a quarter of the map.