Tired of confusing red player lasers for sniper lasers? This mod will help you. ^(I refuse to stop making useless miscellaneous gadget mods.) (This is the extremely lightweight, standalone version for people who hate red lasers and don't want all the Swiss Army Knife gadgets and bells and whistles that Lasers+ provides.
This mod checks player laser colors, and if the color has too much red compared to green/blue (the formula this mod uses is
red * 0.66 > green + blue
) then the laser color for that player is overridden to the default green (on your end only, of course). You can change the threshold, the replacement color, or even the formula itself, by changing
unitnetworkhandler.lua in the text editor of your choice.
This means that bright-goddamn-red is blocked, but so are reddish-orange, purple-ish red, and any shade of red remotely similar enough to be mistaken for a sniper laser.*
* This mod is most likely compatible with WolfHUD and most other HUD mods out there, as well as most any other weapon laser-color mod.
* Your own lasers are unaffected. So if you're a terrible person and want yourself to have red lasers but not see your teammates', then go for it.
* Teammate flashlights are unaffected.
If you have Lasers+ you don't need this mod, as its functionality is integrated with that mod already. Also, you can already change teammate player laser colors, the color of sniper lasers, and more.
If you encounter a bug, please report it below, and attach any crash log associated with it, and I'll fix it ASAP.
If you need help with any of my mods, please contact me via reddit, Steam, or email.