thefloff 339aac39c4 fix emp system for emp clusters | vor 4 Jahren | |
---|---|---|
.. | ||
config.cpp | vor 4 Jahren | |
fn_onhit.sqf | vor 4 Jahren | |
fn_onhitemp.sqf | vor 4 Jahren | |
fn_showhintemp.sqf | vor 4 Jahren | |
readme.md | vor 4 Jahren |
While JLTS' EMP system works great, its weapon swap feature was deemed to taxing on the servers, especially considering the possibility of cluster-EMP that might hit hundreds of units.
To still have EMP effect guns, but avoid the switching, all guns not configured otherwise will jam when hit by EMP.
Default (no config params): Gun jams on EMP
To go back to JLTS behaviour:
If RD501_fryOnEMP is not set to 1, the gun will still jam, thus having the desired behaviour on default JLTS guns without having to edit their config.