treendy / TRGM2.Malden

Main branch here, feel free to branch and edit, take a look at issues for updates on things I am planning to work on
http://trgm2.com/
22 stars 20 forks source link

chance of radio jammer #65

Open treendy opened 6 years ago

Xyaren commented 6 years ago

In https://github.com/michail-nikolaev/task-force-arma-3-radio/wiki/API:-Variables

there are

player setVariable ["tf_receivingDistanceMultiplicator", 2] A multiplier for increasing, or lowering the distance from transmitter to receiver (player). player setVariable ["tf_sendingDistanceMultiplicator", 0.5] A multiplier for increasing or lowering the range of transmission.

Setting this to a low value would lead to a realistic simulation of an overloaded frequency.

Xyaren commented 6 years ago

This is how I imagine it: Jammers can spawn at nearby radio towers or spawned mobile communication towers. They will appear as an electronic box (Generator Model ?) next to the tower. They can be "Deactivated" by a hold action or by destroying either the box or the tower. The range of the jammer is defined by its type (Static / Mobile) and possibly the altitude of the tip of the tower.

treendy commented 6 years ago

Yes, thats the kind of idea... however, I looked at the TFAR variables a while ago, and they wasnt right for what we need (cant remember why now)

But Johnny Drama found a script that does effect your radio transmission, im yet to test it to see if it has a nice distortion effect based on range etc....