Summary
Adding in EMP, required Silence QOL to run, this mode needs to be loaded first.
Description
1.0.0 — Initial Release
------------------------
Added
- GM context action "Trigger EMP" (registered in Silence_QOL_Fixes
TempEdit.conf at order 130)
Right-click any entity as a Game Master to trigger a silent
server-wide electromagnetic pulse. Takes effect immediately with
no player notification — vehicles stop and radios go quiet without
warning.
- Vehicle suppression
All entities with a SCR_FuelManagerComponent that have fuel at
the time of the pulse are drained to zero. Original fuel levels
are stored as percentages and restored exactly when the EMP
expires. Vehicles already out of fuel are ignored and unaffected
by restoration.
- Radio suppression
All player radio items are powered off via BaseRadioComponent.
SetPower(false). Only items that were powered at the time of the
pulse are tracked; they are powered back on automatically when
the EMP expires.
- Configurable duration
EMP duration is set per-action in Workbench via the m_iEMPDuration
attribute. Default 600 s (10 min). Supports up to 1800 s (30 min)
or any value required. Full auto-restoration fires via CallLater
when the timer expires — no GM interaction needed to clear it.
- Stacking prevention
The action hides itself in the GM context menu while an EMP is
active. A second EMP cannot be triggered until the first has
fully cleared.
- Custom icon
emp.edds — electric orb with plasma tendrils
({3C8AADBA55D4F633})
Requirements
- Silence_QOL_Fixes must be loaded alongside this mod. The EMP context action is registered through QOL's GM context menu system (TempEdit.conf). Both mods must be active for the action to appear.License
Arma Public License (APL)