Jump to content
Sign in to follow this  
bangabob

Simulate an EMP?

Recommended Posts

I've being thinking about simulating an EMP.

What i want the EMP to do:

1. MUST be multiplayer/JIP

2. Damage vehicles. Example 'destroy the rear rotor'

3. Empty Fuel on vehicles

4. Remove players GPS/maps/guns or ammo

5. Make the screen go White briefly

I know i am asking for a lot but i dont think it is that hard.

I need help espcially with 1,4 and 5.

Share this post


Link to post
Share on other sites

1. This will really depend on what you're going to do in the end. If it's just a flash of light, then don't have to worry much.

2. EMPs don't damage vehicles, that's their point. :) It just fries electronics which ends up damaging them. Probably just have it destroy the engine would be good enough, no real physical damage though like rotors.

vehicle setHit ["Motor", 1];

3. This wouldn't really happen?

4. GPSs would probably stop working, so as a quick fix removing them would be OK I guess. It wouldn't effect the map at all nor guns and ammo.

{_x removeWeapon "ItemGPS"} forEach list triggerName;

5. For a flash of white use this maybe:

"colorCorrections" ppEffectAdjust [2, 30, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
"colorCorrections" ppEffectCommit 0;

"colorCorrections" ppEffectAdjust [1.0, 1.0, 0.0, [0, 0, 0, 0], [1, 1, 0.0, 1], [0.0, 0.0, 0.0, 0.0]];
"colorCorrections" ppEffectCommit 3;

"colorCorrections" ppEffectEnable true;

Share this post


Link to post
Share on other sites

Cool, Cheers. Got it working for everything except

{_x removeWeapon "ItemGPS"} forEach list triggerName;

Which im not sure how to implement

EDIT: Never mind ive got it.

Edited by BangaBob

Share this post


Link to post
Share on other sites

A lot of typical cold war military technology is EMP proof, like most Diesel engines and a lot of electronics too. A T72 or bMP does not care much for EMP.

Share this post


Link to post
Share on other sites

To simulate an EMP pull the plug on the computer! :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×