Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to disable remote detonation for explosives #5101

Closed
Pergor opened this issue Apr 23, 2017 · 6 comments
Closed

Add ability to disable remote detonation for explosives #5101

Pergor opened this issue Apr 23, 2017 · 6 comments
Assignees
Labels
kind/feature Release Notes: **ADDED:** kind/task
Milestone

Comments

@Pergor
Copy link

Pergor commented Apr 23, 2017

Hi guys!

I'm currently working on a jammer script that should add the ability to jam remote detonation of explosives/IEDs in a certain radius around a jammer vehicle. Unfortunately either I can't find a function to disable remote detonation (without actually defusing or detonating the explosive) or there actually isn't any.

That might be a feature to add, so jammers can be made.

@kripto202
Copy link

instead of disabling, you could greatly decrease the range.

@AACO
Copy link
Contributor

AACO commented Apr 24, 2017

The RHS DUKE system uses a work around where they disable the simulation of the explosive when the device is within range of the jamming system. However this comes with it's own set of issues, namely timers/pressure plates fail to work properly.

@PabstMirror PabstMirror self-assigned this Apr 24, 2017
@Pergor
Copy link
Author

Pergor commented Apr 24, 2017

If that'll disable the setDamage command on the explosive that's being triggered by the detonator, it should be a suitable workaround.
I'm looking into finding out how I can return the selected trigger type for a certain explosive.

ace_explosives_fnc_triggerType seems to only return triggers for a certain class of explosives, not the actual trigger for a specific explosive.

@Pergor
Copy link
Author

Pergor commented Apr 26, 2017

enableSimulation does not seem to disable setDamage on mines... So it's back to the drawing board. :(

@Pergor
Copy link
Author

Pergor commented May 4, 2017

For everyone interested, finding out the kind of trigger used on a mine was actually pretty easy:
{
private _mine = _x;
private _trigger = getText (configFile >> "cfgammo" >> typeOf _mine >> "mineTrigger";
if ( toUpper _trigger isEqualTo "REMOTETRIGGER" ) then {
//that's a mine with a remote trigger
};
} count allMines;

@PabstMirror
Copy link
Contributor

Check out PR #5115

That will be able to give the specific ace trigger.
A charge wired with a M57 clacker will have the same typeOf as one with a wireless M152.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Release Notes: **ADDED:** kind/task
Projects
None yet
Development

No branches or pull requests

4 participants