Currently: Sends a chat warning if someone sets a trip mine to explosive in stealth.
By default, a global message is sent when hosting and a local message if playing as a client (adjustable in mod options menu).
The message is formatted as follows:
```
"[!!] <USER> just armed a trip mine."
```
To Do
||
1. ~~Optionally only display message to the client~~
2. Optionally also send message if host arms trip mine
3. Optionally prevent trip mines being set to explosive altogether
||
Source code may be viewed here: https://codeberg.org/hammer/pd2-tripmine-warner
Contributions are welcome.
**1.1.2**
* Fixed typo in method call.
* Feeding local messages should work now.
**1.1.1**
* Removed redundant check.
**1.1**
* Added Mod Options using HopLib's AutoMenuBuilder (file included, local install not necessary)
* Please don't yell at me, I've complied with the license terms, read the source
* 'Message Scope' options
* Only send local messages (defaults to false)
* Send global messages as client (defaults to false)
GPLv3 (https://www.gnu.org/licenses/gpl-3.0.txt)
Dependencies
-
Instructions
**Make sure to first have SuperBLT installed. Click the link in the dependency list.**
Optional video tutorial for installing SuperBLT, BeardLib, and mod_overrides mods: https://youtu.be/rin_sjSJIkg
1. After downloading the mod, use a program such as [7zip](https://www.7-zip.org/download.html) or [WinRAR](https://www.rarlab.com/download.htm) to extract the main folder of the mod.
2. Drop that folder into the `mods` folder which is supposed to be in the game's installation folder (don't know where that is? click [here](https://wiki.modworkshop.net/books/payday-2/page/finding-payday-2s-install-folder))
Comments