Sun and Water Overrides

From Zero-K
Revision as of 19:21, 3 February 2023 by GoogleFrog (talk | contribs) (Created page with "Sun and water settings can be tweaked on the fly ingame and saved to a config file. This is useful for mappers to quickly tweak settings, or to fix maps with poor settings. Th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sun and water settings can be tweaked on the fly ingame and saved to a config file. This is useful for mappers to quickly tweak settings, or to fix maps with poor settings. The config files can be distributed in the game to fix the settings for everyone. Mappers should stick to mapinfo.lua for the final implementation of their sun and water settings, as the dynamic solution has a few foibles (eg minimap rendering).

Finding the Overrides

The tweak settings are found in the ingame menu. Untick 'Simple Settings' on the bottom right of the menu and navigate to Graphics/Sun, Fog & Water.

SimpleSettings.png

MainSunFogWater.png

  • The Sun, Fog and Water buttons lead to menus for tweaking their parameters.
  • Save and Load Settings reads or writes the current settings to Zero-K\LuaUI\Configs\MapSettingsOverride.
  • Apply Water Fix applies a set of water parameters that tend to improve water visuals as many map uses poor engine defaults.
  • Save Water Fix saves the water prefix to a file with one click.

Note that water the water settings are designed for bump mapped water, which may not be available to people with ATI graphics. That said, if an ATI graphics user wants to make good water settings under this restriction they can do so. Such settings could be applied based on detecting whether someone has ATI graphics.

Also note that settings modification, saving, and loading only applies to changed settings. For example is possible to only change the lighting on units.

OverrideDir.png

After creating some settings consider sending them to the ZK devs to improve map visuals for everyone.

Sun