Fog
Directional particle fog with synchronized direction, tint, scale, speed, density, and alpha controls.
Weather effects can cover a full Scene or be limited to Regions. Configure the placement or movement controls exposed by the effect first, then tune its appearance, population, and optional background controls.
| Reference | Value |
|---|---|
| Package | FXMaster |
| Effect kind | Particle effect |
| Category | Weather |
| Runtime type | fog |
| Exposed parameters | 16 |
Important controls
Section titled “Important controls”- Direction: Sets the primary travel direction for fog particles. Directional Spread can add variation around this angle.
- Synchronized Direction: Uses the active Wind or Duststorm direction for Fog. When the source direction changes, this effect follows it.
- Scale: Changes the rendered size of fog particles. It does not change how many particles are present.
- Density: Changes how many fog particles are visible or spawned at once. It does not change their size.
- Opacity: Controls the transparency of fog particles. Lower values allow more of the map to show through.
Setup notes
Section titled “Setup notes”- This is the particle Fog effect. The separate Fog filter applies continuous haze and includes token-trail controls.
- Use particle Fog for visible moving banks. Use the Fog filter when the active area should have a continuous haze treatment.
Bundled preset usage
Section titled “Bundled preset usage”| Preset | API name | Availability | Variants |
|---|---|---|---|
| Acid Rain | acid-rain |
FXMaster | Normal, Top Down |
| Hurricane | hurricane |
FXMaster, FXMaster+ | Normal, Top Down |
| Spore Cloud | spore-cloud |
FXMaster | Normal |
Parameters
Section titled “Parameters”The table combines the settings available for this effect in Scene and Region contexts. Scene-only and Region-only badges identify controls limited to one context. Hover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Each card also includes the default, range or choices, context, availability, API key, and control type.
fog API typeHover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Context badges identify Scene-only and Region-only controls; unbadged parameters are available in both. Hover or focus an availability condition to highlight the parameter that controls it.
| Parameter | Control | Default | Range or choices | Availability |
|---|---|---|---|---|
Below Tokens belowTokens | checkbox | Off | — | Always |
Below Tiles belowTiles | checkbox | Off | — | Always |
Below Foreground belowForeground | checkbox | Off | — | Always |
Levels levelsScene only | scene-levels | All Levels | — | Always |
Tint tint | color | #FFFFFF (disabled) | — | Always |
Sound FX soundFxEnabled | checkbox | Off | — | Always |
Sound FX Sounds soundFxManualSoundIds | multi-select | Rule default | — | |
Direction direction | range | — | 0–360 · step 5 | Always |
Synchronized Direction synchronizedDirection | checkbox | Off | — | Always |
Scale scale | range | 0.27 | 0.1–1 · step 0.01 | Always |
Speed speed | range | 0.27 | 0.1–1 · step 0.01 | Always |
Lifetime lifetime | range | 0.27 | 0.1–1 · step 0.01 | Always |
Density density | range | 0.51 | 0.01–1 · step 0.01 | Always |
Opacity alpha | range | 1 | 0–1 · step 0.1 | Always |
Darkness Activation darknessActivationEnabled | checkbox | Off | — | Always |
Darkness Activation Range darknessActivationRange | range-dual | {"min":0,"max":1} | 0–1 · step 0.01 |
Direct-effect API example
Section titled “Direct-effect API example”The Direct Effect API creates a separate row shown through Manage API Effects. Add a stable apiMacro_…_p or apiMacro_…_f ID when later macro calls need to update or stop the same row.
const created = await FXMASTER.api.effects.play({ particles: [{ "id": "apiMacro_wikifog_p", "type": "fog", "options": { "belowTokens": false, "tint": { "value": "#FFFFFF", "apply": false }, "scale": 0.27, "speed": 0.27, "density": 0.51 } }],});
await FXMASTER.api.effects.particles.stop(created.particles);For complete API behavior, scene targeting, stack ordering, and toggle groups, see the Direct Effect API guide.