CustomLevelSettings
Jump to navigation
Jump to search
Introduction
CustomLevelSettings is an IntruderMM Unity script that allows for the changing of various Intruder-related custom level options, such as fog color and density, skybox texture and ambient lighting.
History
Content
A full list of the options CustomLevelSettings provides can be found below.
- Fog
- Checkbox. If checked, fog will be enabled in the level as per the fog settings below.
- Fog Color
- Color picker. Determines the color of the fog if present in the level.
- Fog Mode
- Drop-down list. Determines the way fog fades in/out.
- Fog Density
- Value. Determines how dense the fog is.
- Fog Start Distance
- Value. Determines the distance at which the fog will begin to appear.
- Fog End Distance
- Value. Determines the distance at which the fog will stop fading.
- Ambient Light
- Color picker. Determines the color of the ambient lighting.
- Skybox
- Material. Determines the sky texture.
- Halo Strength
- Value. Todo.
- Flare Strength
- Value. Todo.
- Flare Fade Speed
- Value. Todo.
- Light Probes
- Lighting data. Determines the lighting of the level using lighting data baked in Unity.
- Force Fog
- Checkbox. If checked, fog will (attempt) to be forced on regardless of other settings.
Usage
CustomLevelSettings is purely a script component and does not need any visual representation or volume. To access custom level options, simply attach the script to an empty object and edit the options to your liking. Once loaded, the level should reflect the options chosen in your CustomLevelSettings script.
Example
https://i.imgur.com/qNWDDhU.png
CustomLevelSettings script as it appears in Unity's Inspector. Currently set to default settings.