Crowdedlight / Crows-Electronic-Warfare

Arma 3 Mod that enables electronic warfare features such as Radio/Drone jamming and spectrum signal tracking
https://crowdedlight.github.io/Crows-Electronic-Warfare/
Other
19 stars 7 forks source link

ACRE support #39

Open MildlyInterested opened 2 years ago

MildlyInterested commented 2 years ago

Not a pull request but might be useful for anyone trying to implement this:

https://github.com/diwako/ACRE2-Custom-Signal-Calculation#radio-jammers

Z8MB1E commented 12 months ago

@Crowdedlight I would really love to see this added! Your modules are literally a godsend when Zeusing!

Crowdedlight commented 6 months ago

Notes for self:

[{
    // ACRE signal processing
    private _coreSignal = _this call acre_sys_signal_fnc_getSignalCore;
    _coreSignal params ["_Px", "_maxSignal"];

    // Modify signal (eg. zero-out if in jam area)
    if (player inArea myTrigger) then {
        _Px = 0;
    };

    // Return final signal
    [_Px, _maxSignal]
}] call acre_api_fnc_setCustomSignalFunc;

Then add handling for multipliers for jamming. Straight up multiplication.

Send: 1, normal Send: 0, completely jammed

Send/Receive; receive 0, send 1: means can't hear anything, but still talk on comms.

For ACRE that is more simulation-oriented, maybe consider the jammers to here only jam the Receive. As anyone within range of jammer would struggle to receive based on signal strength of jammer, however if transmitting within radius, it depends on if your signal makes it outside the influence of jammer, when received. Although for game mechanic maybe just let the transmitting be affected by 5-10% of the what the receiving jamming, to help indicate jamming to listeners outside?...

Not sold on best approach here.

Degrade signal so badly that being 200 meters away is already completely garbled on the 343: 0.00001

Crowdedlight commented 5 months ago

Basic ACRE2 jamming is implemented with #81 slated for next release. Currently, it only supports jamming radio comms. Tracking, listening in etc. are not currently supported.

Might be supported at some point, but no promises.