Walkie Spam Explode
Sick of players who like to spam the "speaking" into walkie button, often causing nobody to want to have one? Or want a new unconventional way to suicide bomb enemies/friends? Then this mod is for you!
What it does
- With default settings, this mod will punish players who spam their walkie by filling up an invisible "anger" meter, which decays over time. If it gets too high, the player will be given a HUD warning, and if they keep going, they will explode! Whilst this is intended to punish players who spam the walkie, this can also potentially be used to troll friends or suicide bomb enemies, Hector Salamanca style!
- Alternatively, you can change the explosion chance to be lower, where if it fails then a far less dramatic (and more balanced) punishment is given, where instead the spammer will just have all their battery drained to shut them up. You can make this always happen if you don't like the explosion!
- The size and power of the explosion is also configurable, along with whether the walkie talkie itself should be destroyed when an explosion occurs. You can also configure how much anger is needed to trigger a punishment, how faster the anger decays etc.
- All configs are synced with the host!
Planned Features
- I want to make it trigger the "death" audio that normally plays if you die whilst speaking into a walkie, need to do that still!
- Maybe a custom Coroner cause of death?
Disclaimers
Note that when a player is exploded, their anger meter resets. However, if their battery is just drained, it will not reset. Anger can also be "stored" by spamming the walkie when in orbit, meaning the player will then explode the second they use it once the ship is landing on the moon. If you want to see how the anger meter behaves in realtime, enable the debug setting and check the logs!
This mod is my first time doing networkey stuff, but from testing it seems to all work fine without any desyncs!
This mod was built and compiled for v73, i cannot guarantee that it will work fine on v80. It might! In the future i will update it for v80.