⚠️ Not yet verified in-game — this page was drafted from source analysis and hasn't been confirmed by actually running it. Treat it as a strong draft, not gospel.

AirstrikeAtomsphereTactNuke

Module: airstrike_atomsphere_tactnuke.lua

Overview

The AirstrikeAtomsphereTactNuke module is responsible for handling the atmospheric effects triggered by a tactical nuke airstrike. It adjusts various atmosphere settings to create visual and lighting effects that simulate the impact of such an attack.

Inheritance

  • Inherits from: none — base/utility module
  • Imports: MrxUtil

Instance pattern

This is a stateless manager/utility module (no per-instance tables). It does not track any persistent state.

Functions

OnActivate(guid)

Called when the object instance is activated. It sets up a timer to call _GraphicsAto after 0.15 seconds with the provided guid.

_GraphicsAto(guid)

Handles the atmospheric effects for the tactical nuke airstrike. It modifies various atmosphere settings such as ambient colors, bloom parameters, light intensity, and other visual properties. After setting these values, it calls MrxUtil.ShieldFace to apply additional effects.

Events

  • Listens for Event.TimerRelative to trigger _GraphicsAto after a short delay.

Notes for modders

  • Ensure that OnActivate is called appropriately when the tactical nuke airstrike is initiated.
  • Customize the atmospheric effects by modifying the values set in _GraphicsAto.
  • Be aware that changes to atmosphere settings may affect visual consistency across different game scenarios.

Back to top

This site uses Just the Docs, a documentation theme for Jekyll.