Hpl3:Game:scripting:user modules:map effects
Contents
- 1 Map Effects
- 1.1 Important Functions
- 1.1.1 Map_FadeFogStart
- 1.1.2 Map_FadeFogEnd
- 1.1.3 Map_FadeFogColor
- 1.1.4 Map_FadeFogFalloffExp
- 1.1.5 Map_FadeEnvironmentParticleWindVelocity
- 1.1.6 Map_FadeEnvironmentParticleColor
- 1.1.7 Map_FadeEnvironmentParticleBrightness
- 1.1.8 Map_Preset_SetupFog
- 1.1.9 Map_Preset_SetupSecondaryFog
- 1.1.10 Map_Preset_SetupDepthOfField
- 1.1.11 Map_Preset_SetupBloom
- 1.1.12 Map_Preset_SetupDirLight
- 1.1.13 Map_Preset_SetupToneMapping
- 1.1.14 Map_Preset_SetupColorGrading
- 1.1.15 Map_Preset_SetupSkybox
- 1.1.16 Map_Preset_Fade
- 1.1 Important Functions
Map Effects
Helper function prefix: Map_
The Map Effects module handles a variety of different helpers for the map's effects, including fog and environment particles. It also manages collections of environmental presets to fade between, so you can transition a map's appearance from one state to another.
Important Functions
Map_FadeFogStart
Fade the map-wide fog start value to a new value.
Map_FadeFogEnd
Fade the map-wide fog end value to a new value.
Map_FadeFogColor
Fade the map-wide fog color to a new color.
Map_FadeFogFalloffExp
Fade the map-wide fog falloff to a new value.
Map_FadeEnvironmentParticleWindVelocity
Fade the velocity of the environment particles to a new value.
Map_FadeEnvironmentParticleColor
Fade the color of the environment particles to a new value.
Map_FadeEnvironmentParticleBrightness
Fade the brightness of the environment particles to a new value.
Map_Preset_SetupFog
Specify a fog setup for a preset.
Map_Preset_SetupSecondaryFog
Specify a secondary fog setup for a preset.
Map_Preset_SetupDepthOfField
Specify a DoF setup for a preset.
Map_Preset_SetupBloom
Specify a bloom setup for a preset.
Map_Preset_SetupDirLight
Specify a direction light setup for a preset.
Map_Preset_SetupToneMapping
Specify a tone mapping setup for a preset.
Map_Preset_SetupColorGrading
Specify a color grading setup for a preset.
Map_Preset_SetupSkybox
Specify a skybox for a preset.
Map_Preset_Fade
Fade the map to a particular set of presets.